> do not dance with special rexx routine which executes command

But isn't that in fact potentially the exact answer to your requirement?

I have not done "big subsystem" type stuff in Rexx for a long time but it would 
not seem to me like it would be an impossible project to build a Rexx (or 
HLASM) "environment" that executed TSO commands from a file one at a time, and 
also implemented some sort of "structure" through commands of its own, such as

- Returning the maximum or last or a specified CC
- Perhaps some sort of "IF" logic
- Etc.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Radoslaw Skorupka
Sent: Monday, July 19, 2021 7:10 AM
To: [email protected]
Subject: Re: IKJEFT01 and highest condition code

Obviously yes, but the goal is to run all the commands and get the 
highest CC.
And do not dance with special rexx routine which executes command by 
command and checks CC.
Something simple...


-- 
Radoslaw Skorupka
Lodz, Poland




W dniu 19.07.2021 o 15:48, Bill Johnson pisze:
> If it stops after the first non-zero, the last and highest are the same RC.
>
>
> Sent from Yahoo Mail for iPhone
>
>
> On Monday, July 19, 2021, 8:56 AM, Radoslaw Skorupka <[email protected]> 
> wrote:
>
> Usually when you run multiple TSO commands in batch, IKJEFT01 returns CC
> of last command.
> However I'd like to see the highest CC, like IDCAMS does.
> As far as I know IKJEFT1A and IKJEFT1B both stop processing after first
> non-zero code.
>
> Is there any magic switch to do it?
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to