View previous topic :: View next topic
|
Author |
Message |
dadiprav
New User
Joined: 26 Jan 2008 Posts: 18 Location: Mumbai
|
|
|
|
As of my knowledge JCLLIB can be used as the first statement after JOB card.
I want to know the way we can use this in a proc.
I have a case like I need to use include statenemt in a proc which is used in many JCLS. So without changing the actual JCL I need to change the proc. Can any one suggest me the way to use a statement similar to JCLLIB in a PROC. And also is there any method to use a step level library similar to JCLLIB. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
JCLLIB is for a job not by step. The member name on the INCLUDE can be a symbolic. Each type of job would have a SET statement to specify the member name needed for that execution.
Code: |
//xxxxxxxxxx JOB
//*
//MYPROCS JCLLIB ORDER=(your.jcllib)
//*
// SET TYPE=ABC |
And the PROC has
Code: |
//*
// INCLUDE MEMBER=&TYPE |
|
|
Back to top |
|
|
|