DEFINE PROCESS command: Transfer Control partner: Difference between revisions
m (→Syntax) |
m (link repair) |
||
Line 150: | Line 150: | ||
==Usage notes== | ==Usage notes== | ||
<p> | <p> | ||
All three DEFINE commands (<var>[[DEFINE LINK command|DEFINE LINK]]</var>, <var>[[DEFINE PROCESSGROUP command|DEFINE PROCESSGROUP]]</var>, and <var>[[DEFINE PROCESS command|DEFINE PROCESS]]</var>) are necessary to fully define the process on the side from which the user is transferred. These commands are also required for the receiving side in a trusted SNA Communications Server transfer. </p> | All three DEFINE commands (<var>[[DEFINE LINK command|DEFINE LINK]]</var>, <var>[[DEFINE PROCESSGROUP command: Transfer Control|DEFINE PROCESSGROUP]]</var>, and <var>[[DEFINE PROCESS command|DEFINE PROCESS]]</var>) are necessary to fully define the process on the side from which the user is transferred. These commands are also required for the receiving side in a trusted SNA Communications Server transfer. </p> | ||
<p> | <p> | ||
For detailed information about Transfer Control, refer to [[Program Communication facilities#Transfer Control facility|Transfer Control facility]] and to [[Using Program Communication facilities]]. </p> | For detailed information about Transfer Control, refer to [[Program Communication facilities#Transfer Control facility|Transfer Control facility]] and to [[Using Program Communication facilities]]. </p> |
Revision as of 19:47, 17 August 2015
Summary
- Privileges
- User 0 or system manager
- Function
- Defines a Transfer Control process for reference by the SOUL TRANSFER statement. The process definition indicates the partner (CICS program or SNA Communications Server application), the type of transfer, and the characteristics of the transfer.
Syntax
DEFINE PROCESS name [LIKE previousname] WITH SCOPE=SYSTEM DESTINATION=processgroupname PARTNER=partnername DATALEN=nnnnn MODE={XCTL | PASS} [TIMEOUT=nnnnn] UIDSOURCE={NONE | CURRENT |OPEN} ACCTSOURCE={NONE | CURRENT | OPEN}
Where:
name | The local Model 204 name for the process being defined. The SOUL TRANSFER statement refers to this process by the name specified. The length of the name must be 1 to 8 characters. | ||||||
---|---|---|---|---|---|---|---|
LIKE | Gives the current link the attributes of the link entity referred to by previousname. | ||||||
SCOPE=SYSTEM | Indicates that the definition is available to all users of the Model 204 system for the entire run. | ||||||
DESTINATION | Associates the process with the processgroup, processgroupname, defined by the DEFINE PROCESSGROUP command. | ||||||
PARTNER | The name of the partner (as known in the remote environment) that is the object of the User Language TRANSFER statement and to which control is passed. Acceptable values for partnername (as many as eight characters) depend on what MODE, PROTOCOL, and LOGIN options are defined on the DEFINE PROCESS, DEFINE LINK, and DEFINE PROCESSGROUP commands, respectively:
|
||||||
DATALEN | Determines the maximum size of the data area that can be specified in the TRANSFER statement, and depends on the value of MODE.
|
||||||
MODE | The program control mechanism to be used. Acceptable values are as follows:
|
||||||
TIMEOUT | Provides a terminal timeout facility, that is, the number of seconds a thread waits for notification that a session was established with the destined SNA Communications Server application. Zero specifies no time limit and is the default.
TIMEOUT is valid only when MODE=PASS. |
||||||
UIDSOURCE | The place to obtain the user ID for the login command string passed to the partner. The command string is specially formatted to log into the remote partner and includes the SNA Communications Server applid of the issuing partner. UIDSOURCE options are:
UIDSOURCE is valid only when MODE=PASS. |
||||||
ACCTSOURCE | The place to obtain the account ID for the command string passed to a partner when control is transferred. The ACCTSOURCE options are NONE, CURRENT, and OPEN, and they apply to account ID the same as the UIDSOURCE options apply to user ID.
ACCTSOURCE is valid only when MODE=PASS. |
Example
Transfer to a CICS program:
DEFINE PROCESS CICSTRN1 WITH - SCOPE=SYSTEM PARTNER=CICSPGM - DESTINATION=GRP1 - DATALEN=256 MODE=XCTL
Transfer from a Model 204 Online to a Model 204 Online:
DEFINE PROCESS M204APR WITH - SCOPE=SYSTEM PARTNER=M204BPG - DESTINATION=M204APG - DATALEN=100 MODE=PASS
Usage notes
All three DEFINE commands (DEFINE LINK, DEFINE PROCESSGROUP, and DEFINE PROCESS) are necessary to fully define the process on the side from which the user is transferred. These commands are also required for the receiving side in a trusted SNA Communications Server transfer.
For detailed information about Transfer Control, refer to Transfer Control facility and to Using Program Communication facilities.