DFHZTSP module
The ALLOCLUC routine of DFHZTSP is invoked when the DFHIS TYPE=ALLOC macro is issued. This routine is called with input from the application-owning region in a TIOA.
Routine ALLOCLUC:
- Issues DFHIS TYPE=XTP,XFNUM=4 which updates the TCTTE and builds a parameter list of the type created by the DFHLUC macro.
- Verifies that the parameter list contains an ALLOCATE request (the only valid request at this stage). If it does not, the transaction abends.
- Issues a DFHLUC MF=E macro with the supplied parameter list.
- If the request is successful, DFHZTSP:
- Issues DFHIS TYPE=XTP,XFNUM=1 which wraps the updated TCTTE and DFHLUC parameter list ready for transmission to the application-owning region.
- Issues a DFHTC TYPE=(WRITE,WAIT,READ) against the session with the application-owning region.
- Passes control to DFHZXRT. The TIOA received with the preceding DFHTC request should contain data for one of the requests that DFHZXRT handles.
- If the request is unsuccessful, DFHZTSP:
- Issues DFHIS TYPE=XTP,XFNUM=1 which wraps the updated TCTTE and DFHLUC parameter list ready for transmission to the application-owning region.
- Issues DFHTC TYPE=(WRITE,LAST) to send the response to the application-owning region.
- Frees the session with the application-owning region.