Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us