Professional Documents
Culture Documents
61 W445ngsc415443
61 W445ngsc415443
Table 5-3 (Page 1 of 2). Mapping between ICF Operations or Functions and LU Type 6.2 Verbs
LU 6.2 Mapped or Basic Conversation ICF Operation or Function DDS Keyword System- Supplied
Verbs Format
MC_ALLOCATE or ALLOCATE Combination of acquire operation and EVOKE $$EVOKNI
evoke function
MC_CONFIRM or CONFIRM Confirm function CONFIRM No equivalent
MC_CONFIRMED or CONFIRMED Respond-to-Confirm function RSPCONFIRM No equivalent
Notes:
1. Brackets [ ] indicate that contents are optional.
Example ICF Operations and Functions 2. Parameters that are required (such as RESOURCE and
Mapped to LU Type 6.2 Verbs RETURN_CODE) are not always listed explicitly in the
table.
The following table provides some example ICF operations
and functions that can be used in your application program 3. These examples show one way of performing the opera-
and the LU type 6.2 architected verb and parameter to which tion or function; there may be others.
it corresponds. This table only provides DDS keyword exam-
ples, and should be used to supplement the more detailed
information contained in Appendix C.
With an evoke function, you can also specify any of the following:
[parameter-1...[parameter-255]] [PIP(YES(variable1 variable2...variablen))]
SECURITY(3 \USER) or SECURITY(SAME) or
SECURITY([1 profile ID] [2 password] [3 userid]) SECURITY(PGM)
SYNLVL(\NONE) SYNC_LEVEL(NONE)
DFREVOKE Do not follow the [MC_]ALLOCATE with an [MC_]FLUSH
SYNLVL(\CONFIRM) or SYNC_LEVEL(CONFIRM) or
SYNLVL(\COMMIT) SYNC_LEVEL(SYNCPT)
.. ..
. .
Write (data length > ð) with CONFIRM [MC_]SEND_DATA followed by [MC_]CONFIRM
If your program specifies SYNLVL(*CONFIRM) and the CONFIRM Corresponds to:
DDS keyword, the remote program must then issue a:
RSPCONFIRM (positive response) [MC_]CONFIRMED
or or
FAIL (negative response) MC_]SEND_ERROR
If the remote program issues a
Get-attributes operation, [MC_]GET_ATTRIBUTES
it can determine the SYNLVL established by the source program.
Your program issues a: Corresponds to:
FRCDTA [MC_]FLUSH
Your program issues a write with FMTNAME to send the record format Corresponds to:
name along with data to the remote system. MC_SEND_DATA with
Note: The format-name can only be used with mapped conversa- [MAP_NAME(YES(map-name))]
tions, and should only be used if the remote system is able to
receive the APPC architected map name GDS ID variable.
Your program uses a: Corresponds to:
Write operation [MC_]SEND_DATA
to send data to the remote system, and then uses a:
Read operation [MC_]RECEIVE_AND_WAIT
to receive data from a specific program device (for example,
PGMDEVA) and waits to receive data before continuing
Your program uses a: Corresponds to:
Write operation with a CTLDTA keyword [MC_]SEND_DATA with USER_CONTROL_DATA
If your program issues a: Corresponds to:
Write without data and INVITE [MC_]POST_ON_RECEIPT or [MC_]PREPARE_TO_RECEIVE followed by
requesting data from the remote program to send data for a program [MC_]POST_ON_RECEIPT, if the program is in send state
device (for example, PGMDEVA), your program receives control
without waiting for input.
You can also specify the following with the invite function:
TNSSYNLVL TYPE(SYNC_LEVEL) specified with the [MC_]PREPARE_TO_RECEIVE
unless your program specified SYNLVL(*COMMIT).
Later, your program can issue a
Read-from-invited-program-devices operation. WAIT
A successful completion return code (set in the I/O feedback area)
tells your program that data has been received and is in your
program’s buffer.
Your program issues a: Corresponds to:
Write without data and RQSWRT [MC_]REQUEST_TO_SEND
to indicate that it wants to send data to the remote program rather
than continue receiving data.
Your program issues a: Corresponds to:
Write with data and ALWWRT [MC_]SEND_DATA followed by
[MC_]PREPARE_TO_RECEIVE
to inform the remote program that your program is done sending data
and is ready to receive.