Re: Modifying JCL on the fly

2024-11-10 Thread Binyamin Dissen
On Sun, 10 Nov 2024 22:51:22 +0200 Steff Gladstone <05c5038228fa-dmarc-requ...@listserv.ua.edu> 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

Re: Modifying JCL on the fly

2024-11-10 Thread David Spiegel
Hi Steff, Please look at JES2 Exit 4 (There is a sample in CBT File 122) and (SMF Exit) IEFUJV (There is a sample in CBT File 573). Regards, David On 11/10/2024 15:51, Steff Gladstone wrote: What is the best way of modifying JCL after the job has been submitted, in order to conditionally add

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-10 Thread Radoslaw Skorupka
W dniu 11.11.2024 o 01:16, Phil Smith III pisze: Radoslaw Skorupka wrote, in part: Short answer: NO WAY. However you can use some *programming* language for that, including REXX. Simple explanation: JCL is *not* a programming language. JCL "piece of code" is called job, not program. First, I'm

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-10 Thread Paul Gilmartin
On Mon, 11 Nov 2024 00:21:21 +, Seymour J Metz wrote: >Turing complete? > Requires infinite storage, otherwise some computable functions will fail for resource exhaustion. >From: Phil Smith III >Sent: Sunday, November 10, 2024 7:16 PM >... >Does it have to have loops? Variables? > LISP

Re: Modifying JCL on the fly

2024-11-10 Thread Michael Stein
On Sun, Nov 10, 2024 at 10:51:22PM +0200, Steff Gladstone 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. questions: 1. When is

Re: Old ISPF application scripting from batch?

2024-11-10 Thread Peter Van Dyke
This might be overkill as a solution but you could use CEA TSO/E address space services to start TSO/ISPF: https://www.ibm.com/docs/en/zos/3.1.0?topic=services-introduction-cea-tsoe-address-space then use the

Modifying JCL on the fly

2024-11-10 Thread Steff Gladstone
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 mai

Re: Modifying JCL on the fly

2024-11-10 Thread Seymour J Metz
You can't, but there are some things that you can do on the fly. You can allocate and free datasets dynamcally with SVC 99, either directly or using one of the IBM provided front ends. e.g., ALLOC, BPXWDYN. You can do a RDJFCB, modify, e.g., the member name, the file sequence number, then OPEN

Re: Modifying JCL on the fly

2024-11-10 Thread Mike Schwab
Submit an additional job with the same jobname. Be sure to delay a little bit until the first job is running.. On Sun, Nov 10, 2024 at 3:51 PM Seymour J Metz wrote: > > You can't, but there are some things that you can do on the fly. > > You can allocate and free datasets dynamcally with SVC 99,

ADRVCMPT

2024-11-10 Thread גדי בן אבי
Hi, ADRVCMPT is a relatively new tool that estimates how compressible data on a volume is using zEDC. It can be installed using APAR OA66417 for z/OS v2.5 and v3.1. Is there a way to run ADRVCMPT on multiple volumes in one job? Thanks Gadi --

Re: Question about WAIT and POST.

2024-11-10 Thread Peter Relson
I think that Binyamin's point was about RB's within a task. For example, if your PRB was waiting on "ECB-PRB" and an IRB popped on that same task while the PRB was waiting and the IRB itself went into a WAIT on "ECB-IRB", the task would not be woken up upon a post of "ECB-PRB". Now that you have

Re: Modifying JCL on the fly

2024-11-10 Thread Paul Gilmartin
On Sun, 10 Nov 2024 22:51:22 +0200, Steff Gladstone 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. > Why? Must the job be submit

Re: Modifying JCL on the fly

2024-11-10 Thread Radoslaw Skorupka
Short answer: NO WAY. However you can use some *programming* language for that, including REXX. Simple explanation: JCL is *not* a programming language. JCL "piece of code" is called job, not program. The job could be compared to a command entered from command line. Indeed, simple single-jobstep

What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-10 Thread Phil Smith III
Radoslaw Skorupka wrote, in part: >Short answer: NO WAY. >However you can use some *programming* language for that, including REXX. >Simple explanation: >JCL is *not* a programming language. >JCL "piece of code" is called job, not program. First, I'm not disagreeing with you here. But this does m

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-10 Thread Seymour J Metz
Turing complete? --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Phil Smith III Sent: Sunday, November 10, 2024 7:16 PM To: IBM-MAIN@LISTS