Not really the answer you are looking for, but why not:

Long1  DS  CL1504          binary data (1 field of 1504 characters)

The assembler should take that and doesn't really care what data you put in
the field.

Or you could try:

Long1 DS 1504B             (1504 1 byte values treated as one field)

The first option is a 1504 character long value.  The second is 1504 1 byte
values treated as one field.  I think the only real difference is the
length value.  In the first case L'Long1 gives you 1504, in the second I
believe L'Long1 returns 1 but don't quote me on that (someone else will
point out the error of my ways).


Mark




On Wed, Feb 26, 2014 at 2:08 PM, Robert Ngan <[email protected]> wrote:

> I want to define a large field e.g.
>
> Long1    DS    BL1504            What I want
>
> but you can't defined fields longer than 256 bytes, so instead I did:
>
> Long2    EQU   *,1504,C'B'       What I need to code
>          DS    (L'Long2)B        ...
>
> Is there any real difference between Long1 and Long2, if not then why can't
> I use the simpler Long1 syntax?
>
> Robert Ngan
> CSC Financial Services Group

Reply via email to