MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem with SYS1.LINKLIB

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Fri Nov 16, 2007 6:05 am    Post subject: problem with SYS1.LINKLIB Reply with quote

Hi all,

I am getting following error when trying to run the program in test region....

"NOT ABLE TO LOCATE pgm1 IN DSNAME SYS1.LINKLIB "

Is this a problem with the compilation or do I have include any library for this?

thanks in advance


regards
Suma
Back to top
View user's profile Send private message
vivek1983
Intermediate


Joined: 20 Apr 2006
Posts: 222
Topics: 24

PostPosted: Fri Nov 16, 2007 6:16 am    Post subject: Reply with quote

suma,

Seems like you have not concatenated the correct loadlib in your JCL.

Try executing the job after giving the correct loadlib in the STEPLIB statement in the JCL.
_________________
Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Fri Nov 16, 2007 2:27 pm    Post subject: Reply with quote

In the message, "SYS1.LINKLIB" probably means the system linklist. The linklist is a concatenation of load libs that are searched when a module is not found in the STEPLIB. SYS1.LINKLIB is one of these libraries, but there are other system and site load libraries, too.

As vivek said, your solution is probably to include your specific library as a STEPLIB.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Nov 16, 2007 3:19 pm    Post subject: Reply with quote

If the module is actually supposed to come from sys1.linklib, it may be that someone updated it there and the library went to extra extents. If that is the case an LLA refresh might be needed or in some cases a complete IPL. If this really is something that should have come from that data set, talk to the system managers.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Tue Nov 20, 2007 8:39 am    Post subject: Reply with quote

A common practice for libraries in the linklist is to not allocate secondary extents. Also programmers/users probably should not be allowed to update any libraries in the linklist.
Back to top
View user's profile Send private message
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Mon Dec 03, 2007 3:11 am    Post subject: Reply with quote

Thank you all,

I had a problem while pointing to load lib; due this job abending.
Now I added correct loadlib, my job is working as expected.

Thanks
suma
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group