Page 1 of 1

Doubt in Array datatype

Posted: Thu Feb 23, 2012 10:52 pm
by nareshv_99
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 ?

Posted: Fri Feb 24, 2012 12:35 am
by NicC
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.