User exit program parameter list for DDM

The user exit program on the target server passes two parameter values: a character return code field and a character data structure containing various parameter values.

The user exit program on the target server uses the character data structure parameter values, that are passed by the TDDM, to evaluate whether to allow the request from the source server. The parameter list is created each time a file access request or command request is sent to the TDDM; when any one of the functions shown for the Subapplication field is requested, the parameter list is created. When file I/O operations are performed, this parameter list is created only for the file open request, not for any of the I/O operation requests that follow.

The program uses the parameter list to determine whether a source server user's file access or command request should be accepted or rejected. The list contains the following parameters and values:

Table 1. Parameter list for user exit program on target server
Field Type Length Description
User Character 10 User profile name of target DDM job.
Application Character 10 Application name:
  • '*DDM ' for Distributed Data Management.
Subapplication Character 10 Requested function:
  • 'ADDMBR ' 'DELETE ' 'RGZMBR '
  • 'CHANGE ' 'EXTRACT ' 'RMVMBR '
  • 'Change Data Area (CHGDTAARA) ' 'INITIALIZE' 'RNMMBR '
  • 'CHGMBR ' 'LOAD ' 'Retrieve Data Area (RTVDTAARA)'
  • 'CLEAR ' 'LOCK ' 'SNDDTAQ '
  • 'CLRDTAQ ' 'Move (MOVE) '
  • 'COMMAND ' 'OPEN '
  • 'Copy (COPY) ' 'RCVDTAQ '
  • 'CREATE ' 'RENAME '
  • 'SQLCNN '
Object Character 10 Specified file name. *N is used when the subapplication field is 'COMMAND '. *SPC is used when the file is a document or folder.
  Character 10 Specified library name. *N is used when the subapplication field is 'COMMAND '. *SPC is used when the library is a folder.
Member Character 10 Specified member name. *N is used when the member name is not applicable.
Format Character 10 Not applicable for DDM.
Length Decimal 5,0 Length of the next field.
Source Remote Location Character 10 Remote location unit name of source system (if SNA).
Source System Name Character 10 System name of remote server. If this value is not available, this field contains '*N '.
Other Character 2000 The use of this 2000 byte area depends on the request function. If it is SQLCNN, then the DRDA mapping should be used. For other functions, use the DDM mapping.
To use DDM:
The following varies, depending on the function. If OPEN is specified to open a file:
1
Input request Char(1) 1=yes 0=no
1
Output request Char(1) 1=yes 0=no
1
Update request Char(1) 1=yes 0=no
1
Delete request Char(1) 1=yes 0=no
12
Alternative object name.
63
Alternative directory name.
1921
The command string if COMMAND is specified to submit a command.
To use DRDA:
9
Type definition name of DRDA application requester. Product ID of DRDA application requester.
3
Product code.
2
Version ID.
2
Release ID.
1
Modification level.
1983
Reserved
Note:
*N =
Null value indicates a parameter position for which no value is being specified, allowing other parameters to follow it in positional form.