IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to eliminate a JOBLIB statement from a PROC


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts process statement for SUPREC, CMPCOLM... TSO/ISPF 4
No new posts SYNCSORT/ICETOOL JOINKEYS SORT Statem... DFSORT/ICETOOL 13
No new posts DFDSS COPY using Filter REFDT statement JCL & VSAM 2
Search our Forums:

Back to Top