I know that the HLASM can get fussy about some things. I think you should start 
your continued statements beginning in column 16. from the email it looks like 
column 10.

Thanks;


Ray Baraniecki
Morgan Stanley Smith Barney
1 New York Plaza - 18th Floor
New York, NY 10004
Telephone: 212-276-5641
Cell:           917-597-5692

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Farley, Peter x23353
Sent: Tuesday, May 31, 2011 2:28 PM
To: [email protected]
Subject: Legal syntax for multiple-operand continued DC statements?

Hi All,

I hope you can help me with an assembler error I haven't seen before.

I had thought that the following would be a legal syntax for multiple-operand 
continued DC statements, but HLASM is complaining about it.  Here is what the 
source looks like:

               DC    A(0),CL7'NAME1  ',X'00',X'09',X'03',AL1(typ_X),   X
               AL1(0+bitFlag1+bitFlag222+bitFlag3333+bitFlag44444),    X
               AL1(0+bitFlag5555555),AL1(0),AL1(0+bitF6),AL1(0)

Here is the HLASM complaint:

** ASMA065E Unknown type -
** ASMA435I Record 354 in userid1.NEWPGM.PDS(MYNEWPGM) on volume: XXXXXX
000037 00

The DC and each continuation line is in column 16.  Why isn't this format 
legal?  Do I have to format it the following way to be legal as a single DC 
statement?  I find this format unreadable and thus not maintainable, but the 
assembler does not complain about it:

               DC    A(0),CL7'NAME1  ',X'00',X'09',X'03',AL1(typ_X),AL1X
               (0+bitFlag1+bitFlag222+bitFlag3333+bitFlag44444),AL1(0+bX
               itFlag5555555),AL1(0),AL1(0+bitF6),AL1(0)

I do know that I can do it the following way as separate DC statements for each 
line, but each occurrence of these variables will be slightly different (i.e., 
different bit flags will be set, some in different bytes):

               DC    A(0),CL7'NAME1  ',X'00',X'09',X'03',AL1(typ_X)
               DC    AL1(0+bitFlag1+bitFlag222+bitFlag3333+bitFlag44444)
               DC    AL1(0+bitFlag5555555),AL1(0),AL1(0+bitF6),AL1(0)

Please help cure my ignorance (or memory failure) here.

Peter
--

This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


--------------------------------------------------------------------------
Important Notice to Recipients:

The sender of this e-mail is an employee of Morgan Stanley Smith Barney LLC. If 
you have received this communication in error, please destroy all electronic 
and paper copies and notify the sender immediately. Erroneous transmission is 
not intended to waive confidentiality or privilege. Morgan Stanley Smith Barney 
reserves the right, to the extent permitted under applicable law, to monitor 
electronic communications. This message is subject to terms available at the 
following link: http://www.morganstanley.com/disclaimers/mssbemail.html. If you 
cannot access this link, please notify us by reply message and we will send the 
contents to you. By messaging with Morgan Stanley Smith Barney you consent to 
the foregoing.

Reply via email to