Hi Allan,
Why is JES2 Exit 6 better than Exit 4 for this purpose?

Regards,
David


On 11/11/2024 08:59, Allan Staller wrote:
Classification: Confidential

IEFUSI is too late in the process. I suggest JES2 EXIT6 (or EXIT26?) depending 
on the JES2 Environment.
In both cases, you must be prepared to manipulate the INTERPRETER internal text 
(very similar in concept to dynamic allocation).

HTH,

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Steff Gladstone
Sent: Sunday, November 10, 2024 2:51 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Modifying JCL on the fly

[CAUTION: This Email is from outside the Organization. Unless you trust the 
sender, Don’t click links or open attachments as it may be a Phishing email, 
which can steal your Information and compromise your Computer.]

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?

Thanks in advance,
Steff Gladstone

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. E-mail transmission is not guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. 
The e mail and its contents (with or without referred errors) shall therefore 
not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and 
may not necessarily reflect the views or opinions of HCL or its affiliates. Any 
form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written 
consent of authorized representative of HCL is strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any email and/or attachments, please check them for 
viruses and other defects.
________________________________

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to