Adding user arguments

Global user exit programs can add arguments associated with the LENGTH and MAXLIFETIME keywords. You must ensure that the arguments you specify or modify in your exit programs are valid.

The valid values for MAXLIFETIME are DFHVALUE(TASK) and DFHVALUE(UOW), which are 233 and 246 respectively.

Assuming that the argument to be added does not already exist, the user exit program must:
  1. Obtain storage for the argument to be added
  2. Initialize the storage to the required value
  3. Select and set up the appropriate pointer from the parameter list
  4. Select and set up the appropriate argument existence bit in the EID
  5. Modify the parameter list to reflect the new end of list indicator.


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