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:
  1. Issues DFHIS TYPE=XTP,XFNUM=4 which updates the TCTTE and builds a parameter list of the type created by the DFHLUC macro.
  2. Verifies that the parameter list contains an ALLOCATE request (the only valid request at this stage). If it does not, the transaction abends.
  3. Issues a DFHLUC MF=E macro with the supplied parameter list.
  4. If the request is successful, DFHZTSP:
    1. Issues DFHIS TYPE=XTP,XFNUM=1 which wraps the updated TCTTE and DFHLUC parameter list ready for transmission to the application-owning region.
    2. Issues a DFHTC TYPE=(WRITE,WAIT,READ) against the session with the application-owning region.
    3. Passes control to DFHZXRT. The TIOA received with the preceding DFHTC request should contain data for one of the requests that DFHZXRT handles.
  5. 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.


dfhs38k.html | Timestamp icon Last updated: Monday, 5 June 2017