HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


FIND MACRO or FIND COPY

HLASM Programmer's Guide
SC26-4941-06

The assembler calls the exit with a request type of 7 (FIND MACRO) whenever the assembler cannot find an operation code and the exit issued a return code on OPEN of either 4 or 8. The member name field contains the operation code, and is the name of the macro definition that the assembler is searching for.

The assembler calls the exit with a request type of 8 (FIND COPY) whenever the assembler processes a COPY instruction and the exit issued a return code on OPEN of either 4 or 8. The member name field contains the name of the copy code member.

If the user exit is supplying the library records, the exit sets the return code in the Exit Parameter List to one of these values:
0
Indicates that the exit supplies the library records. The assembler calls the user exit with later READ calls to retrieve each record.
Note: A reason code of 8 requests redrive of the exit.
4
Indicates that the exit is not supplying the macro or copy member, and is equivalent to not finding the member in the library.
Note: A reason code of 8 requests redrive of the exit.
If both the assembler and the user exit are supplying the library records, the exit sets the return code in the Exit Parameter List to one of these values:
0
Indicates that the exit supplies the library records. The assembler calls the user exit with later READ calls to retrieve each record.
Note: A reason code of 8 requests redrive of the exit.
4
Indicates that the exit is not supplying the macro or copy member, and is equivalent to not finding the member in the library. On return from the exit, the assembler attempts to find the member in the library. If the assembler finds the member, it calls the user exit with later PROCESS MACRO or PROCESS COPY calls passing each record read from the library.
Note: A reason code of 8 requests redrive of the exit.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014