Perform the following steps to use the CBRXLCS macro in an Assembler
language environment:
- Include mapping macro CBRLCSPL to provide a DSECT for the LCS
External Services parameter list, as follows:
CBRLCSPL
- Create copies of the LCSPL in both static and dynamic storage
using the LIST form of CBRXLCS, as follows:
CBRXLCS MF=(L,static-list-name)
CBRXLCS MF=(L,dynamic-list-name)
Note: No other keywords can be supplied on the LIST form of CBRXLCS.
- Initialize the LCSPL by copying the static LIST form to the dynamic
LIST form.
Rule: Because the length of the LCSPL
exceeds 256 bytes, you must use the MVCL instruction for the copy.
- Set parameter values in the LCSPL using the MODIFY form of CBRXLCS,
as follows:
CBRXLCS keywords,
MF =(M,dynamic-list-name)
Rule: If you use the MODIFY form of
the macro, you must follow it with the EXECUTE form.
- Set the parameter values in the LCSPL using the EXECUTE form of
CBRXLCS and invoke LCS External Services to perform the requested
function, as follows:
CBRXLCS keywords,
MF=(E,dynamic-list-name)
Note: You can use the EXECUTE form of the macro without having previously
used the MODIFY form.
- To check the completeness and compatibility of the set of parameters
supplied on a single invocation of CBRXLCS, specify one of the following
statements using the MODIFY form of the macro or the EXECUTE form
of the macro, as follows:
CBRXLCS keywords,
MF=(M,dynamic-list-name,COMPLETE)
or
CBRXLCS keywords,
MF=(E,dynamic-list-name,COMPLETE)
There is no standard form of the CBRXLCS macro for Assembler language.