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
@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
1 Answer
1
The HLASM Reference states:
If the END statement is not the last statement in the input stream, and the BATCH option has been
specified, the assembler initiates assembly of a new source module when the current assembly is
completed.
So unless BATCH
is specified as an asssembler-option processing should stop once the END
-statement is reached.
BATCH
END
You should also be able to see that in your assembly-listing: the printed source-listing should stop at END
-Statement, END OF MEBER
should not appear there.
END
END OF MEBER
So END OF MEMBER
seems to have no use but should do no harm either...
END OF MEMBER
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/…
– Michael Petch
Jul 2 at 3:33