1=OPEN |
0 |
Assembler opens its library for input. If reason
code=4, the assembler makes END OF MEMBER calls to the exit. If reason
code=16, REINIT call required. |
4 |
Exit supplies library records. If reason code=4,
the assembler makes END OF MEMBER calls to the exit. If reason code=16,
REINIT call required. |
8 |
Both the assembler and the exit supply library
records. The assembler opens its library. If reason code=4, the assembler
makes END OF MEMBER calls to the exit. If reason code=16, REINIT call
required. |
16 |
Assembler opens the library data set, and makes
no further calls to the EXIT. |
2=CLOSE |
n/a |
Exit should close any data sets it opened, and
release any storage it acquired. |
3=READ |
0 |
Exit supplies record in buffer. Record with MEND
statement indicates end of macro member. |
16 |
Exit indicates end-of-file for member. |
5=PROCESS MACRO |
0 |
Record accepted. Exit can modify record. If reason
code=4, the assembler, after processing the current record, provides
an empty buffer for the exit to provide additional record. If reason
code=8, redrive requested. 1 |
4 |
Requests assembler to discard record. If reason
code=8, redrive requested. 1 |
16 |
Assembler makes no further calls to the EXIT (disregarded
if the EXIT return code from the OPEN is 8). |
6=PROCESS COPY |
0 |
Record accepted. Exit can modify record. If reason
code=4, the assembler, after processing the current record, provides
an empty buffer for the exit to provide additional record. If reason
code=8, redrive requested. 1 |
4 |
Requests assembler to discard record. If reason
code=8, redrive requested. 1 |
16 |
Assembler makes no further calls to the EXIT (disregarded
if the EXIT return code from the OPEN is 8). |
7=FIND MACRO |
0 |
Macro member found by exit; the exit supplies
the records. If options=3, the exit should save the current member
position. If options=2, the exit should restore the previous member
position. If reason code=4, exit supplies data set information. If
reason code=8, redrive requested. 1 |
4 |
Macro member not found by exit; the exit does
not supply the records. |
8=FIND COPY |
0 |
Copy code member found by exit; the exit supplies
the records. If options=3, the exit should save the current member
position. If options=2, the exit should restore the previous member
position. If reason code=4, exit supplies data set information. If
reason code=8, redrive requested. 1 |
4 |
Copy code member not found by exit; the exit does
not supply the records. |
9=END OF MEMBER |
|
Exit might use the information to perform stack
management. If reason code=8, redrive requested. 1 |
10=REINIT |
0 |
Operation successful. If reason code=8, redrive
requested. 1 |
16 |
Assembler makes no further calls to the exit. |
Notes: - When redrive is requested, the assembler issues any
required error message and then recalls the exit with the same parameter
list as before.
|