The parmForm property of the callLink element
of the linkage options part specifies the format of call parameters.
The parmForm property affects the generation
of the calling program.
If you are generating a Java™ program,
parmForm is
applicable in this situation:
- The pgmName property refers to a CICS-based
program that is called by the program being generated; and
- The type property is ejbCall or remoteCall;
in either case, the valid parmForm values
(as described later) are COMMDATA (the default) and COMMPTR.
If you are generating a Java wrapper,
parmForm is
applicable in the following case:
- The pgmName property refers to a generated
COBOL program that is called by way of the Java wrapper; and
- The type property is ejbcall or remoteCall;
in either of those cases the valid parmForm values
(as described later) are COMMDATA (the default) or COMMPTR.
Select a value from this list:
- CICSOSLINK
- Specifies that the standard COBOL parameter-passing conventions
are in effect, with the called program expecting pointers to data.
The CICS® EIB and COMMAREA are
always passed as the first two arguments, which are followed by the
program-specific arguments.
Use of CICSOSLINK requires the following
settings:
- The type property is localCall or remoteCall
- The linkType property is STATIC or DYNAMIC
- COMMDATA
- Specifies that the caller places business data (rather than pointers
to data) in the COMMAREA.
Each argument value is moved to the buffer
adjoining the previous value without regard for boundary alignment.
COMMDATA
is the default value if the type property
is remoteCall or ejbCall.
- COMMPTR
- Specifies that the caller acts as follows:
- Places a series of 4-byte pointers in the COMMAREA, one pointer
per argument passed
- Sets the high-order bit of the last pointer to 1
COMMPTR is the default value if the value of the type property
is localCall.