Page 1 of 1

loadlib error

Posted: Sun Dec 09, 2012 2:37 pm
by vaibhav19711
Hi,
Please tell me, if load is not present in loadlib what error code we will get after submitting job?

Posted: Sun Dec 09, 2012 2:57 pm
by NicC
What happened when you tried?
A load lib contains the program to be executed. System programs e.g. utilities do not need the loadlib specified - it is known to the system. Where your application program resides is probably not known to the system so you have to provide that information - either by joblib or steplib statements.
Now, again, what happened when you experimented?

Posted: Sun Dec 09, 2012 10:02 pm
by DikDude
How many times / places do you intend to post this question. . . :(

d

Posted: Mon Dec 10, 2012 1:15 pm
by vaibhav19711
Hi,

Actually whenever i have tried i didn't got any error because every time developer promote there code to test library after only i have done testing.
but now i am not using mainframe thats y i can not try it myself, so please tell me if in steplib if load is not present what error(error code) we will get?

Posted: Mon Dec 10, 2012 1:34 pm
by NicC
If you are not using a mainframe why worry about it? and, once again, it depends on where the program resides and if that location is known, by default or not, to the system.

Posted: Mon Dec 10, 2012 2:55 pm
by vaibhav19711
Thanks for your reply,

I am going to join again mainframe project, i got this question in interview and i dont remember error code i got long back might be it was -911 or 804(not sure).
NicC whenever i do testing of any program and if that particular program load is not in my test library it surely gives error code. system wont take directly any load.

Posted: Mon Dec 10, 2012 4:45 pm
by William Collins
Google for S806, if it plain can't find the program from an EXEC PGM= or from a "dynamic" CALL/LOAD/whatever.

Posted: Mon Dec 24, 2012 7:59 pm
by Anuj Dhawan
Why did you think about -911 and 804? -911 is SQLCODE, 804 is beyond the scope of this thread.

Suggest you look for what William suggests.