Posts

Showing posts with the label zos

What use is END OF MEMBER In IBM Assembly

What use is END OF MEMBER In IBM Assembly I am parsing some IBM Assembly Language which also happens to be a BMS map. The code looks like this: DFHMSD TYPE=FINAL END END OF MEMBER The END OF MEMBER statement is not causing any syntax errors on the mainframe. END OF MEMBER Why is it syntactically correct? What functionality does the END OF MEMBER line provide? END OF MEMBER ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/… – Michael Petch Jul 2 at 3:33 @MichaelPetch Good pointer to doc, but the BMS map is neither a copybook nor a macro so the "END OF MEMBER" might just be left over code from someone copying from a copybook or a macro? – Michael Potter Jul 2 at 3:37 ...

Continuation of Comment Line

Continuation of Comment Line I am parsing some IBM Assembly Language which also happens to be a BMS map. The code looks like this: *02LN DFHMDF POS=(04,05),LENGTH=70,ATTRB=(ASKIP,BRT), X HILIGHT=REVERSE,COLOR=BLUE Note that the first line is a comment based on the * in the first column. Is the second line also a comment because the first line has a continuation character? The context of this question is that I am parsing the code without a mainframe as I am converting these maps to a different system. 1 Answer 1 As per the HLASM reference: Comment statements must lie within the statement field. If the comment extends into the continuation-indicator field, the statement following the comment statement is considered a continuation line of that comment statement. So your guess is right: you can also create multiline-comments by using the continuation-indicator. ...