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:
Most of the functions listed in the following table directly affect a file, including the EXTRACT function, which extracts information from the file when commands such as Display File Description (DSPFD) or Display File Field Description (DSPFFD) are specified by the source server user. Some functions are member-related functions, such as the CHGMBR function, which allows characteristics of a member to be changed. The COMMAND function indicates that a command string is submitted by the Submit Remote Command (SBMRMTCMD) command to run on the target server. The SQLCNN function specifies a DRDA connect attempt.
Field | Type | Length | Description |
---|---|---|---|
User | Character | 10 | User profile name of target DDM job. |
Application | Character | 10 | Application name:
|
Subapplication | Character | 10 | Requested function:
|
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.
|
Note:
|