Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

running rexx in batch

127 views
Skip to first unread message

Brozewicz Robert F

unread,
Jan 23, 2001, 10:26:12 AM1/23/01
to
folks,

i have a rexx that issues a listcat ent(xxxxxxx) alias command (xxxxxx is
the tso userid that is read from a file) and if the return code of the
command is equal to a 4 than a define alias commands is issued.

what program does one use to run rexx that issues tso commands in batch? i
know i can use ikjeft01 but i dont need ispf services. i see that there is
irxjcl and irxexec programs also available. where can i look to find the
various different ways to run a rexx exec in batch?

any help would be great.

Bob Brozewicz
Operating System Support
Phone: 412-234-8241 Fax: 412-236-2129
mailto: brozew...@mellon.com


*****************************************************************
DISCLAIMER: The information contained in this e-mail may be confidential
and is intended solely for the use of the named addressee. Access, copying
or re-use of the e-mail or any information contained therein by any other
person is not authorized. If you are not the intended recipient please
notify us immediately by returning the e-mail to the originator.

Auger, Richard C

unread,
Jan 23, 2001, 10:31:21 AM1/23/01
to
IRXJCL is documented in the REXX reference guide.

Erik P. Olsen

unread,
Jan 23, 2001, 10:34:14 AM1/23/01
to
On Tue, 23 Jan 2001 10:24:22 -0500, Brozewicz Robert F wrote:

>what program does one use to run rexx that issues tso commands in batch? i
>know i can use ikjeft01 but i dont need ispf services. i see that there is
>irxjcl and irxexec programs also available. where can i look to find the
>various different ways to run a rexx exec in batch?

IKJEFT01 does not require ISPF. I think this is best way to run TSO in
batch.

Er...@epo.dk

gdonze - Greg Donzelli

unread,
Jan 23, 2001, 10:47:49 AM1/23/01
to
I have run this in the past and created the output to a flat file.

//STEP001 EXEC PGM=SDSF
//ISFOUT DD DSN=DT00077.REXX.OUTPUT,DISP=SHR
//ISFIN DD *,DLM=##
PREFIX
DEST R17
O
##

Greg Donzelli
Acxiom Corporation
DG Data Center Services - OSD
OS390 - Automation Support
(v) 630.829.8912
(f) 630.971.4881


-----Original Message-----
From: Brozewicz Robert F [mailto:brozew...@MELLON.COM]
Sent: Tuesday, January 23, 2001 9:24 AM
To: TSO-...@VM.MARIST.EDU
Subject: running rexx in batch


folks,

i have a rexx that issues a listcat ent(xxxxxxx) alias command (xxxxxx is
the tso userid that is read from a file) and if the return code of the
command is equal to a 4 than a define alias commands is issued.

what program does one use to run rexx that issues tso commands in batch? i


know i can use ikjeft01 but i dont need ispf services. i see that there is
irxjcl and irxexec programs also available. where can i look to find the
various different ways to run a rexx exec in batch?

any help would be great.

Burch, Todd

unread,
Jan 23, 2001, 11:03:17 AM1/23/01
to
I just ran a rexx exec in batch, and per SDSF, the return code of the rexx
exec, in this case "3", was returned as the job step condition code for
PGM=IKJEFT01 (IKJEFT1B produced the same CC=3). Todd.

*******************************************************
* B
*
* RDATXBB PGM=IKJEFT01 CC=0003
* ELAPSED 0.00.01 CPU= 0.00.00 SRB= 0.00
* SYSPROC 356 2 SYSTSPRT JES
*******************************************************
IEF373I STEP/STEP01 /START 2001023.0958


And, here's the JCL I used:

//****************************************************************
//STEP01 EXEC PGM=IKJEFT01,DYNAMNBR=20,TIME=15,PARM='%TODDREXX'
//SYSPROC DD DISP=SHR,DSN=RDATXB.CLIST
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY


-----Original Message-----
From: Lionel B Dyck [mailto:Lionel...@KP.ORG]
Sent: Tuesday, January 23, 2001 9:42 AM
To: TSO-...@VM.MARIST.EDU
Subject: Re: running rexx in batch


My preference is to use IKJEFT1B so that the return code is passed back to
the job and reported as the return code for the step (something that
IKJEFT01 does not do).

Robert Zenuk

unread,
Jan 23, 2001, 11:29:38 AM1/23/01
to
I've been a little confused about this myself.

I have been running REXX in batch using IRXJCL and IKJEFT01 (when I need TSO
or ISPF services) for several years and never had any problems with receiving
a valid RC from the EXEC (for further JCL COND processing). I have read
about this regarding running an EXEC using ISPF services as well and using
ZISPFRC.

The only conclusion I can draw is that this may be due to my coding
techniques. I always force the EXEC through an exit(nn) statement when it
terminates. Although, I thought this was standard practice.

Am I missing something?

Thanks,
Robert Zenuk

robz...@aol.com

Leo P. Kennedy

unread,
Jan 23, 2001, 11:51:02 AM1/23/01
to
BDY.TXT

Burch, Todd

unread,
Jan 23, 2001, 12:00:03 PM1/23/01
to
Yes, that is exactly it. Todd.

-----Original Message-----
From: Leo P. Kennedy [mailto:Leo.P....@CITICORP.COM]
Sent: Tuesday, January 23, 2001 10:11 AM
To: TSO-...@VM.MARIST.EDU
Subject: Re: running rexx in batch


You probably have a return code set via the EXIT statement - in your REXX or
CLIST.

TJ Dombrowski

unread,
Jan 25, 2001, 12:26:37 AM1/25/01
to
Why not use IDCAMS to do the listcat using
a SYSIN DD control card
you can do if in it on RC look in the IBM IDCAMS MANUAL

search for acess method services in bookmanager

following is all one line in your browser:
http://www.s390.ibm.com/bookmgr-
cgi/bookmgr.exe/FINDBOOK?filter=Access+Method+Services+&SUBMIT=Find

this link has calling access services from your program

http://www.s390.ibm.com/bookmgr-cgi/bookmgr.exe/BOOKS/DGT1I211/D%2e0


brozew...@MELLON.COM (Brozewicz Robert F) wrote in
<200101231529...@mellon.com>:

Jean-Michel Rochereau

unread,
Jan 29, 2001, 6:16:07 PM1/29/01
to
There is nothing wrong with IKJEFT01 as far as you don't use the 'ISPSTART'
keyword. Just type exec pgm=ikjeft01,parm='yourrexx' for your exec card with
just a SYSTSIN DD DUMMY, a SYSPRINT DD SYSOUT=* and of course a SYSEXEC DD
statement.
This should work fine and you won't access ISPF in any way. Be carreful with
IRX... tso commands like 'allocate' are not available.

Hope that it will be of some help


Jean-Michel Rochereau
mailto : jean-miche...@wanadoo.fr

"TJ Dombrowski" <kel...@earthlink.not> a écrit dans le message news:
Xns903455A96B50...@207.217.77.23...

0 new messages