2
MVS SP4.3 service. For example, ATBALC2
Therefore, your z/OS base control program (BCP) must be at least at the
indicated level to take advantage of these services.
The parameters for these services and the requirements for using them in
APPC/MVS transaction programs are described in
Transaction Programs for APPC/MVS
Examples Using APPC/MVS Services
The following example illustrates the syntax for invoking an SAA CPI
Communications call under the CPICOMM host command environment:
CPICOMM Example
/* REXX */
ADDRESS CPICOMM ’CMALLC conversation_id return_code’
if return_code = CM_OK then say 'OK!'
else say 'Why not?'
The following example illustrates the syntax for invoking an APPC/MVS call under
the LU62 host command environment:
LU62 Example
/* REXX */
ADDRESS LU62 ’ATBDEAL conversation_id deallocate_type’,
’notify_type return_code’
Whenever you issue an SAA CPI Communications call or APPC/MVS call from a
REXX program, the entire call must be enclosed in single or double quotes.
SAA CPI Communications calls and APPC/MVS calls can use pseudonyms rather
than integer values. In the CPICOMM example, instead of comparing the variable
return_code to an integer value of 0, the example compares return_code to the
pseudonym value CM_OK. The integer value for CM_OK is 0. TSO/E provides two
pseudonym files, one for the LU62 host command environment and one for the
CPICOMM host command environment. These files define the pseudonyms and
their integer values. The LU62 pseudonym file is REXAPPC1, and the CPICOMM
pseudonym file is REXAPPC2. Both files are found in SYS1.SAMPLIB. You can
include this information from the pseudonym files in your REXX execs.
For more information about host command environments and pseudonym files, refer
to
Changing the Host Command Environment
You can change the host command environment either from the default or from
whatever environment was previously established. To change the host command
environment, use the ADDRESS instruction followed by the name of an
environment.
The ADDRESS instruction has two forms: one affects all commands issued after the
instruction, and one affects only a single command.
v
All commands
Issuing Other Types of Commands from an Exec
106
z/OS V1R1.0 TSO/E REXX User’s Guide
Содержание TSO/E REXX
Страница 1: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 2: ......
Страница 3: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 10: ...viii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 12: ...x z OS V1R1 0 TSO E REXX User s Guide ...
Страница 14: ...xii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 18: ...xvi z OS V1R1 0 TSO E REXX User s Guide ...
Страница 20: ...2 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 58: ...Tracing Expressions with the TRACE Instruction 40 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 78: ...60 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 86: ...Built In Functions 68 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 128: ...Issuing Other Types of Commands from an Exec 110 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 136: ...Debugging Execs 118 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 170: ...Protecting Elements in the Data Stack 152 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 201: ...Part 3 Appendixes Copyright IBM Corp 1988 2001 183 ...
Страница 202: ...184 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 222: ...Using Variables 204 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 226: ...208 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 238: ...220 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 241: ......