Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to eliminate a JOBLIB statement from a PROC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Fri Oct 06, 2006 2:37 pm    Post subject: How to eliminate a JOBLIB statement from a PROC
Reply with quote

hi,

we can override a particular input dataset at a step as follows,
//step1.inputdd dd dsn=.....
can anyone tell me how to eliminate a particular input dataset.

i have a proc which i cannot edit. this proc is executed by a JCL. whenever i want to override that is to change the input dataset at a particular line, i will do as the above one. now i face a situation such that i have to eliminate the JOBLIB statement which was mistakenly coded in the PROC inside a step. please anyone provide me a way to do that. I want that JOBLIB statement not to be executed.

Thanks,
Bala
Back to top
View user's profile Send private message

cooolguy

New User


Joined: 05 Sep 2006
Posts: 9

PostPosted: Fri Oct 06, 2006 3:49 pm    Post subject: Re: How to eliminate a JOBLIB statement from a PROC
Reply with quote

One solution is copy the proc to your dataset and in your JCL add JCLLIB to point to your proc. You can make whatever changes you want to make in the PROC after that.

the other option would be to use STEPLIB overide. If you have multiple steps(EXEC) then you need to add steplib for all the steps.
Back to top
View user's profile Send private message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Thu Oct 12, 2006 11:42 pm    Post subject: Re: How to eliminate a JOBLIB statement from a PROC
Reply with quote

JOBLIB is not allowed in a PROC.
i have not tested it, but i think such a proc will generate a JCL-Error

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IEA2B650/13.3.4?SHELF=&DT=20040712170508&CASE=
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us