On Sun, 10 Nov 2024 22:51:22 +0200 Steff Gladstone
<[email protected]> wrote:

:>What is the best way of modifying JCL after the job has been
:>submitted, in order to conditionally add another DDNAME to a JOB STEP?   Or
:>perhaps adding parameters to the PARM string on the EXEC statement.

:>We were thinking of using the IEFUSI exit point, allocating a file
:>dynamically before the main program of the job-step is attached.  I gather
:>there are also JES2 exits (are they simple exits or the more flexible exit
:>points?) that are appropriate to the task and would be interested to hear
:>advice from other system programmers.

:>Two other questions: are these exits specified in the PARMLIB or via some
:>other mechanism?  And what happens if the exit fails in some way?  What
:>action does the system take?

When do you know that you need to add the DD statement? Or alter the PARM?

If based on the results of previous steps, the standard solution would be to
use condition codes to conditionally execute different steps.

Based on the day of the week? Also can be done by adding a step that sets a
condition code.

So, until you can explain what you are trying to do ....

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

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

Reply via email to