View previous topic :: View next topic
|
Author |
Message |
kmadhavi24
New User
Joined: 27 Jul 2009 Posts: 14 Location: Hyderabad
|
|
|
|
Hi all
How to declare the path of the cobol code in a JCL?
if i mention that the PS010 EXEC PGM=CODETES, its giving an error.
"JCP0459E 'PGM=CODETES' DOES NOT EXIST"
Please help me out. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Looks like another message from the useless JCL scanners.
What happens when you run it for real |
|
Back to top |
|
|
kmadhavi24
New User
Joined: 27 Jul 2009 Posts: 14 Location: Hyderabad
|
|
|
|
when i submit the job, i am getting another error
ENDED AT IMF9S - ABENDED S806 U0000 CN(INTE
RNAL).
I cannot submit the job when the JCL scanner is showing an error right?
For more information, i am compiling the job using Changeman. |
|
Back to top |
|
|
mtaylor
Active User
Joined: 20 Feb 2009 Posts: 108 Location: Kansas City
|
|
|
|
Look up JOBLIB and STEPLIB in the manual link at the top of the page. |
|
Back to top |
|
|
kmadhavi24
New User
Joined: 27 Jul 2009 Posts: 14 Location: Hyderabad
|
|
|
|
I think its not able to get the proper LOADLIB associated with the source code.
but, how to get the corresponding LOADLIB name, so that i can declare in the job. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
As you've already been told, go to the manuals link at the top of the page. Find the JCL Language Reference manual. Read about STEPLIB and JOBLIB until you understand their purpose. Change your JCL appropriately. Submit it again. If you do not know what the load library name is to use, you will have to contact your site support group to find out where your program was compiled to -- we cannot possibly know your site. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
To find where you load module has been saved, you can also look at the BINDER (linkedit) output (it usualy comes after the COBOL compilation output).
Among MODULE MAP and other things, you will find a "SAVE OPERATION SUMMARY" which gives the LOAD LIBRARY name. |
|
Back to top |
|
|
kmadhavi24
New User
Joined: 27 Jul 2009 Posts: 14 Location: Hyderabad
|
|
|
|
I am compiling this cobol code using Changeman |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
kmadhavi24 wrote: |
I am compiling this cobol code using Changeman |
Have you considered asking a co-worker? |
|
Back to top |
|
|
Bill Murrell
New User
Joined: 14 Sep 2008 Posts: 10 Location: Oklahoma City, OK
|
|
|
|
Craq Giegerich wrote: |
kmadhavi24 wrote: |
I am compiling this cobol code using Changeman |
Have you considered asking a co-worker? |
In some cultures asking a co-worker for help is considered a sign of weakness and is not done. This is why we get many questions here that SHOULD be directed to the askers co-workers. |
|
Back to top |
|
|
kmadhavi24
New User
Joined: 27 Jul 2009 Posts: 14 Location: Hyderabad
|
|
|
|
wait.. wait...
I wont feel anything wrong to ask my co-workers.
As they are busy, i posted a question here....
Finally I solved it
Thank you every one. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
And what was the solution? |
|
Back to top |
|
|
Bill Murrell
New User
Joined: 14 Sep 2008 Posts: 10 Location: Oklahoma City, OK
|
|
|
|
Anuj Dhawan wrote: |
And what was the solution? |
One of the reasons for this website it to find and post solutions to various problems we encounter in our jobs in the IT industry. So, yes, I agree with Anuj Dhawan, what was the solution to your problem? |
|
Back to top |
|
|
xknight
Active User
Joined: 22 Jan 2008 Posts: 117 Location: Liberty city
|
|
|
|
Abend 806 is causesd due to non existing of load module of cobol program.
Make sure you have given the same program name in your jcl, and Program-ID in your cobol pgm, and PDS member name are same. |
|
Back to top |
|
|
xknight
Active User
Joined: 22 Jan 2008 Posts: 117 Location: Liberty city
|
|
|
|
After that make sure you are using the right LOADLIB PDS....
Go to the loadlib PDS and ensure you have your program name load module.. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Quote: |
Abend 806 is causesd due to non existing of load module of cobol program. |
"non-existing" is subjective here -- on the contrary, module may exist but one did not direct the JCL to pick the load-module from the correct library.
Well, I wonder if OP will show up soon... |
|
Back to top |
|
|
kmadhavi24
New User
Joined: 27 Jul 2009 Posts: 14 Location: Hyderabad
|
|
|
|
in the JES spool of the file, i can get the required LOADLIB name.
So i added that Lib name in the list of JOBLIB names.
finally the problem got resolved. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Glad to hear that you got it resolved and thanks for keeping us posted.
However, pardon my ignorance, but I didn't get this
Quote: |
in the JES spool of the file, i can get the required LOADLIB name |
? |
|
Back to top |
|
|
kmadhavi24
New User
Joined: 27 Jul 2009 Posts: 14 Location: Hyderabad
|
|
|
|
As I compiled the cobol code using changeman, the corresponding loadlib file name was mentioned in the JES spool after submitting the job.
by keenly looking into that, somewhere i got the library name.
Please let me know in case of questions. |
|
Back to top |
|
|
|