Doubt in Array datatype

Ask/Clarify the questions on ASSEMBLER language.

Moderator: Moderator Group

Post Reply
nareshv_99
Member
Posts: 25
Joined: Sun Feb 05, 2012 10:59 pm
Location: Bangalore

Doubt in Array datatype

Post by nareshv_99 » Thu Feb 23, 2012 10:52 pm

hi all,
could you clarify my below doubt

consider below variable declaration

GROUP DS 0XL3
GROUP1 DS XL1
GRPVAL EQU X'AA'
GROUP2 DS CL1
GROUP3 DS CL1

so is GROUP variable an array of GROUP1,GRPVAL AND GROUP2 or GROUP1,GROUP2,GROUP3 ?

i believe it GROUP array consists of GROUP1,GROUP2(can have value of x'AA'),GROUP3. could you confirm if i'm correct?

consider below variable declaration
GROUP DS 0XL3
GROUP1 DS XL1
GROUP2 DS CL6

isn't GROUP array contains GROUP1, GROUP2,GROUP+8 ?

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Fri Feb 24, 2012 12:35 am

It is considered rude to post on more than one forum at a time. And it is mostly the same people replying. The answers you were given elsewhere should suffice.
Regards
Nic

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others