LINK command
Passes control from an application program at one logical level to an application program at the next lower logical level. In Smalltalk, the parameters of the LINK command are contained in two classes: CICSLink and CICSLinkResult.
See CICS Application Programming Reference for the syntax of the command and a description of its parameters.
Defined instance methods
Parameters supplied to CICS in CICSLink
| | | | |
COMMAREA(data-area) | commarea: | Input | OSMemory | |
DATALENGTH(data-value) | datalength: | Input | Binary 16 | |
LENGTH(data-value) | length: | Input | Binary 16 | |
PROGRAM(name) | program: | Input | Fixed(8) | |
SYNCONRETURN | synconreturn | Input | Switch | |
SYSID(systemname) | sysid: | Input | Fixed(4) | |
TRANSID(name) | transid: | Input | Fixed(4) | |
Parameters returned by CICS in CICSLinkResult
| | | | |
RESP | resp | Output | Fixed(2) | Inherited from CICSResult. |
RESP2 | resp2 | Output | Fixed(2) | Inherited from CICSResult. |
Example
Calls the specified program and passes the address of the communication area, MyCommarea, which is a subclass of OsPtr.
| thisComm result |
thisComm := MyCommarea calloc.
result := CICS link
program: 'LINKER';
commarea: thisComm;
length: 40;
exec.
Last modified date: 07/09/2019