Assembler example



Here the name on the ALIAS statement matches the name on the ENTRY statement within the Assembler source code.

This means the program can be executed by either name, but when EPTEST is used on the JCL EXEC statement processing begins at the main entry point, whereas when EP2 is used on the JCL EXEC statement processing begins at the instruction after the Assembler ENTRY statement.

The audio file explains the CSECT statement which has been commented out.




The ep_name must comply with program naming rules. If there is no matching ESD entry, the alias becomes an alternative name to that on the NAME statement and processing will start at the main entry point.

Copyright © Legac-e Education 2015-