Rexx/cics client exec example – IBM SC34-5764-01 User Manual
Page 314
v
Because REXX/CICS allows REXX clients and servers to be recoded in non-REXX languages,
performance intensive parts of an application system can be selectively rewritten, if needed.
The FLST and EDIT commands that REXX/CICS provides are examples of client/server environments.
REXX/CICS Client Exec Example
/* EXAMPLE REXX/CICS EXEC */
TRACE 'O' /* turn off source tracing */
ARG parm1 parm2 parm3
"CICS READQ TS QUEUE(MYQ) INTO(DATA) ITEM(5) NUMITEMS(1)"
if rc ¬= 0 then EXIT 100
SAY 'TSQ Data=' data
"CICS SEND TEXT FROM(DATA) ERASE"
/* Define the SERVER EXEC as a REXX/CICS command */
'DEFCMD REXXCICS SERVER = = SERVER1 (REXX'
/* example of directing a subcommand to a server */
/* named SERVER1, which is written in REXX also
*/
DATA = 1
'SERVER COMMAND1 DATA'
say data
/*
==> 2
*/
if rc ¬= 0 then SAY 'Request to SERVER1 failed, RC=' rc
EXIT
High-level Client/Server Support
292
CICS TS for VSE/ESA: REXX Guide
- I5 (59 pages)
- 2274 (183 pages)
- X3650 (18 pages)
- P5 570 (82 pages)
- 6E1 (40 pages)
- 704 (348 pages)
- SG24-4576-00 (235 pages)
- SCOD-3ZVQ5W (548 pages)
- LOTUS TEAM WORKPLACE 6.5.1 (17 pages)
- HANDBOOK 150 (286 pages)
- 6C4 (233 pages)
- 6059 (248 pages)
- 6644 (100 pages)
- 2283 (96 pages)
- 755 (47 pages)
- PANEL1173-841 (80 pages)
- G325-2585-02 (90 pages)
- BladeCenter T Type 8730 (180 pages)
- PC Server/Enterprise Racks 9QX (208 pages)
- X3620 M3 (19 pages)
- NETVISTA X40 6643 (120 pages)
- 440 (202 pages)
- xSeries 235 (66 pages)
- 47AE - 410168 (27 pages)
- TotalStorage DS6000 Series (406 pages)
- 310E (120 pages)
- NETVISTA 8319 (52 pages)
- A40P TYPE 6841 (148 pages)
- POWER 710 (45 pages)
- LCD PC (50 pages)
- 525 (33 pages)
- BladeCenter 8677 (104 pages)
- N2800e (82 pages)
- 6345 (214 pages)
- 2197 (208 pages)
- 4194 (84 pages)
- V7.2 (41 pages)
- SC34-6814-04 (953 pages)
- 6268 (53 pages)
- Enterprise Server H80 Series (230 pages)
- 6.00E+01 (42 pages)
- G544-5774-01 (56 pages)
- z/OS (88 pages)
- Aptiva 2140 (212 pages)
- GC23-7753-05 (56 pages)