response buffer
is
not changed. The setting of IMSG
is
ignored (it
is
considered always
to
be
ON) and the setting of
EMSG determines only whether the error message code
is
retained. (SET EMSG
OFF
is
treated the same as SET
EMSG ON; SET EMSG
TEXT suppresses error message
codes.)
The completion code values returned by
CP
are not affected
by the values
of
EMSG and IMSG,
or
by the use of a
command response buffer.
If
CP
is executing multiple commands and encounters an
invalid command, processing stops and
CP
ignores the
remaining commands.
Following are two examples showing how to specify
DIAGNOSE Code X'08'. The first example shows how a
program issues the QUERY
SET command.
In
this example
the response is returned to the user's terminal.
CMMD
CMMDL
LA
6,CMMD
LA
10,CMMDL
DC
X83
1
,X
'
6A'
,XL2
I
0008
1
DC
EQU
C'QUERY
SET
'
*-CMMD
The second example shows how to specify a string
of
commands when multiple commands are to be issued.
CMMD
CMMDL
LA
6,CMMD
LA
10
CMMDL
DC
x
'
83
1
,X
'
6A'
,XL2
I
0008
1
DC
DC
DC
EQU
C'QUERY
SET
'
X 115
1
C'SET
RUN
OFF
'
*-CMMD
Appendix A.
CP/CMS
Interface
A-9