The format of a MODCB macro used to modify a request parameter
list is:
[label]
|
MODCB
|
RPL=address
[,ACB=address]
[,AREA=address]
[,AREALEN=abs expression]
[,ARG=address]
[,ECB=address]
[,KEYLEN=abs expression]
[,MSGAREA=address]
[,MSGLEN=abs expression]
[,NXTRPL=address]
[,OPTCD=([ADR|CNV|KEY]
[,DIR|SEQ|SKP]
[,ARD|LRD]
[,FWD|BWD]
[,ASY|SYN]
[,NSP|NUP|UPD]
[,KEQ|KGE]
[,FKS|GEN]
[,LOC|MVE]]
[,RBA|XRBA])]
[,RECLEN=abs expression]
[,TRANSID=abs expression]
|
|
|
|
The subparameters of the MODCB macro can be expressed as absolute
numeric expressions, as character strings, as codes, as expressions
that generate valid relocatable A-type address constants, in register
notation, as S-type address constants, and as indirect S-type address
constants.
Subparameters with GENCB, MODCB, SHOWCB, and TESTCB, further defines these
operand expressions.
- label
- specifies 1 to 8 characters that provide a symbolic address for
the MODCB macro.
- RPL=address
- specifies the address of the request parameter list being modified.
You may not modify an active request parameter list; one that defines
a request that has been issued but not completed. To modify such a
request parameter list, you must first issue a CHECK or an ENDREQ
macro.
Important: If you use MODCB to modify
fields in the RPL, you must first disconnect the RPL from any process
by issuing an ENDREQ macro.
The remaining parameters represent parameters of the RPL macro
that can be modified. The value specified replaces the value, if any,
presently in the request parameter list. There are no defaults.
For an explanation of these parameters, see GENCB—Generate a request parameter list at execution time.
If MODCB is used to modify an OPTCD subparameter within a group
of subparameters, the current subparameter for that group is changed
because only one subparameter in a group is effective at a time. Only
the specified OPTCD subparameter is changed.