Charity,
Absolutely, Tom - now that I can see the email thread in your tab mail.google.com, I can walk you through exactly what Exercise 4 Section 2 is asking for and show you how to build the JCL step-by-step.
Let's turn the instructor's hint from the email into a clean, working solution you can use as a model.
π What the exercise wants you to do
From the message by Robert Barringer in your tab mail.google.com, the task is:
β
Create a JCL job in youruserid.ES10.CNTL
β
Use D80WW.ES10V15.CNTL as the PROCLIB
β You do this with a JCLLIB ORDER= statement
β
Execute the PROC named COMP
β
Pass two symbolic parameters to the PROC:
- INDS=youruserid.ES10.CNTL
- BACK=youruserid.ES10.BACK
That's the entire exercise boiled down.
π§ Mental model (simple and reliable)
A PROC is just a template.
Your job is to:
- Point JCL to the library where the PROC lives
- Call the PROC
- Supply or override the symbolic parameters it expects
That's it.
π οΈ Here is the JCL you need (clean, correct, ready to run)
Replace YOURID with your actual TSO ID.
//YOURID2 JOB (ACCT),'EX4 SEC2',CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1)
//*------------------------------------------------------------------
//* EXERCISE 4 SECTION 2 - USING A PROC WITH JCLLIB
//*------------------------------------------------------------------
// JCLLIB ORDER=(D80WW.ES10V15.CNTL)
//*------------------------------------------------------------------
// STEP1 EXEC COMP,
// INDS=YOURID.ES10.CNTL,
// BACK=YOURID.ES10.BACK
//*------------------------------------------------------------------
π§© Why this works
1. JCLLIB ORDER=
This tells JES where to look for the PROC named COMP:
JCLLIB ORDER=(D80WW.ES10V15.CNTL)
Without this, JES would say PROC COMP not found.
2. EXEC COMP
This invokes the PROC:
STEP1 EXEC COMP
3. Passing the parameters
The PROC likely has symbolic parameters like:
&INDS
&BACK
So you override them like this:
INDS=YOURID.ES10.CNTL,
BACK=YOURID.ES10.BACK
π Want to go deeper?
If you want, I can also:
- Show you what the PROC probably looks like
- Explain each DD inside the PROC
- Show you how overrides work (DD *, DD DUMMY, overriding SPACE, DISP, etc.)
- Build a diagram of how JCL β PROC β DDs connect
- Walk you through the JES output so you know how to verify success
Just tell me what would help you most.
You're doing great - PROC exercises feel confusing until someone demystifies them. After that, they become one of the easiest parts of JCL.
------------------------------
Thomas Mertens
------------------------------
Original Message:
Sent: Thu April 02, 2026 02:12 PM
From: Charity Rash
Subject: Exercise 4 Section 2
I am struggling with the instructions for Exercise 4 Section 2. Maybe I am not understanding the instructions properly nor how to work with procs. Can you show me how to do this exercise? Thanks

------------------------------
Charity Rash
------------------------------