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

When to use IKJEFT01 or IRXJCL

859 views
Skip to first unread message

Lizette Koehler

unread,
Mar 20, 2007, 8:35:23 AM3/20/07
to
Just curious.

When is it appropriate to use IKJEFT01 and when to use IRXJCL?

I normally use the TSO program. But I would like to know if there are any
benefits or restrictions between the two which would make one or the other a
better choice.

Lizette


----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX

Paul Gilmartin

unread,
Mar 20, 2007, 8:42:47 AM3/20/07
to
In a recent note, Lizette Koehler said:

> Date: Tue, 20 Mar 2007 08:35:13 -0400


>
> I normally use the TSO program. But I would like to know if there are any
> benefits or restrictions between the two which would make one or the other a
> better choice.
>

You can't ATTACH TSO from an unauthorized program or with
unauthorized catenands in STEPLIB.

-- gil
--
StorageTek
INFORMATION made POWERFUL

McKown, John

unread,
Mar 20, 2007, 8:47:21 AM3/20/07
to
> -----Original Message-----
> From: TSO REXX Discussion List
> [mailto:TSO-...@VM.MARIST.EDU] On Behalf Of Lizette Koehler
> Sent: Tuesday, March 20, 2007 7:35 AM
> To: TSO-...@VM.MARIST.EDU
> Subject: [TSO-REXX] When to use IKJEFT01 or IRXJCL
>
> Just curious.
>
> When is it appropriate to use IKJEFT01 and when to use IRXJCL?
>
> I normally use the TSO program. But I would like to know if
> there are any
> benefits or restrictions between the two which would make one
> or the other a
> better choice.
>
> Lizette

I use IKJEFT01 only when I know that I am going to use TSO facilities.
If the code is "pure REXX", then I use IRXJCL.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential. It is for intended addressee(s) only. If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense. If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

Paul Gilmartin

unread,
Mar 20, 2007, 8:57:43 AM3/20/07
to
In a recent note, McKown, John said:

> Date: Tue, 20 Mar 2007 07:46:25 -0500


>
> I use IKJEFT01 only when I know that I am going to use TSO facilities.
> If the code is "pure REXX", then I use IRXJCL.
>

I'm wavering in my opinion here. Lately I see little harm in using
IKJEFT01, and it provides the advantage of being able to REPRO
a JCL instream EXEC (or several) to (a) SYSEXEC member(s) without
an extra step. However, if I'm developing an EXEC to be used under
all of TSO, Batch, and Unix Services, I'll certainly test with
IRXJCL to assure that I haven't unwittingly used any TSO
facilities.

There remain a few keys in TSO ALLOCATE that have no equivalents
in BPXWDYN.

-- gil
--
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------

Robert Zenuk

unread,
Mar 20, 2007, 12:53:38 PM3/20/07
to
I used to carefully use IRXJCL when there were no TSO or ISPF facilities and
use IKJEFT01 when there were (circa 1989-2000). These days, the savings is
insignificant to worry about it. About 6-7 years ago I did some benchmarks
(can't find them now), but it was not worth the effort to worry about it.
This let's me use any TSO facilities and never worry about the environment. I
actually did the same benchmark with loading the JCL with all the ISPF DD's
and using a launch EXEC that always queued the ISPSTART command for the EXEC
(regardless of whether it was native TSO or ISPF) and found very little
overhead here too. The launch EXEC accepts a normal TSO PARM field with the LAUNCH
EXEC, the name of the target EXEC and its parms.

//RUNIT EXEC PGM=IKJEFT01,PARM='LAUNCH MYEXEC PARM1 PARM2 PARM3'

Let me qualify, my comment of very little overhead. I don't consider one
second of start up time as overhead in the grand scheme of things since most of
my batch REXX EXEC's run much longer than that. Having said all that, I
only use IKJEFT01 and do not add the ISPF DD's unless I need them, but I alway
use my LAUNCH EXEC to start an ISPF REXX EXEC in batch.

Rob

In a message dated 3/20/2007 5:57:45 AM US Mountain Standard Time,
gil...@UNIX.STORTEK.COM writes:

************************************** AOL now offers free email to everyone.
Find out more about what's free from AOL at http://www.aol.com.

Paul Gilmartin

unread,
Mar 20, 2007, 4:00:10 PM3/20/07
to
In a recent note, Robert Zenuk said:

> Date: Tue, 20 Mar 2007 12:53:10 EDT


>
> //RUNIT EXEC PGM=IKJEFT01,PARM='LAUNCH MYEXEC PARM1 PARM2 PARM3'
>
> Let me qualify, my comment of very little overhead. I don't consider one
> second of start up time as overhead in the grand scheme of things since most of
> my batch REXX EXEC's run much longer than that. Having said all that, I
> only use IKJEFT01 and do not add the ISPF DD's unless I need them, but I alway
> use my LAUNCH EXEC to start an ISPF REXX EXEC in batch.
>

As I hinted before, I got into trouble trying to do a launch
sort of thing where I needed to pass my Rexx EXEC a PARM
containing an odd number of apostrophes. I could only do
it by supplying the data set name, and this makes the JCL parm
so large it risks encountering the 100-character limit.

McKown, John

unread,
Mar 20, 2007, 4:11:28 PM3/20/07
to
> -----Original Message-----
> From: TSO REXX Discussion List
> [mailto:TSO-...@VM.MARIST.EDU] On Behalf Of Paul Gilmartin
> Sent: Tuesday, March 20, 2007 3:00 PM
> To: TSO-...@VM.MARIST.EDU
> Subject: Re: [TSO-REXX] When to use IKJEFT01 or IRXJCL

<snip>

> As I hinted before, I got into trouble trying to do a launch
> sort of thing where I needed to pass my Rexx EXEC a PARM
> containing an odd number of apostrophes. I could only do
> it by supplying the data set name, and this makes the JCL parm
> so large it risks encountering the 100-character limit.
>
> -- gil

What I will sometimes do is use the "backtick" ` instead of the
apostrophe '. My REXX code then translates the ` to '. I've never needed
a ` in a REXX program, so far.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential. It is for intended addressee(s) only. If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense. If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------

arlen stovall

unread,
Mar 21, 2007, 5:12:16 PM3/21/07
to
Lizette, you can not execute TSO commands if you use IRXJCL. IRXJCL is for
REXX only.

--
Thanks
Arlen Stovall

0 new messages