View previous topic :: View next topic
|
Author |
Message |
mfhelp Warnings : 1 New User
Joined: 29 Jun 2006 Posts: 33
|
|
|
|
Why do we get JCL Error when Precompilation fails?
Why dont we get non-zero MAXCC value?
If there exist errors, Compilation of non-DB2 program or running any utility throws non-zero maxcc, then why not DSNHPC? |
|
Back to top |
|
|
vgreddych
New User
Joined: 23 May 2007 Posts: 2 Location: coimbatore
|
|
|
|
Hi mfhelp,
I dont know the exact reason why it will throw JCL error when a DB2 precompilation fails.But I too got the same JCL error when IDMS precompilation failed. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
If You had posted the job log maybe we could have some hint on what' s happening
without it anything would be useless speculation |
|
Back to top |
|
|
raviprasath_kp Warnings : 1 New User
Joined: 20 Feb 2005 Posts: 65 Location: chennai
|
|
|
|
please give the exact error then we will try to provide some solution |
|
Back to top |
|
|
vgreddych
New User
Joined: 23 May 2007 Posts: 2 Location: coimbatore
|
|
|
|
Hi,
The JCL error is due due to the IDMS precompiler is not recognizing the DB2 codes(SQL) present in the same program.
Since the error is in program i would like to know why compile job abend with JCL error insted of MAXCC return-code.
Please find the attachment to get the idea of error in the program.
Also please find my relevent post for the compiler issue where i come across this error:
ibmmainframes.com/viewtopic.php?t=25246&sid=3e3011c38bdbbca38daaf6de32480598
Thanks for your quick reply. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
If you have a "jcl error" that is not understood, you need to post the diagnostic info from the spooled output.
Neither the link above or the attached screenshot show a "jcl error"?
For anyone here to be able to help, you need to provide details for someone to work with. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
dick scherrer wrote: |
Hello,
If you have a "jcl error" that is not understood, you need to post the diagnostic info from the spooled output.
Neither the link above or the attached screenshot show a "jcl error"?
For anyone here to be able to help, you need to provide details for someone to work with. |
Yup.........happens too often people think we can read there minds or look over their shoulders at the terminal or logfile. Too bad......how do we educate these guys? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi George,
Quote: |
how do we educate these guys? |
Repetition . . .
What is unfortunate is that the longer it takes to get the details of the problem, the longer it takes the person to get usefull replies from the forum. . . |
|
Back to top |
|
|
Shashank Naresh
New User
Joined: 24 Aug 2007 Posts: 5 Location: Mumbai
|
|
|
|
After getting the screen shot information I will be able to diagnose it!
Regards,
Shashank |
|
Back to top |
|
|
mfhelp Warnings : 1 New User
Joined: 29 Jun 2006 Posts: 33
|
|
|
|
Hi Dick and George
[Neither the link above or the attached screenshot show a "jcl error"? ]
I will explain the question.
The attachment posted by "vgreddych" shows the error that precompiler has thorwn and the errors can be resolved, that is no big deal.
Guys do not expect the phrase "JCL ERROR" in the spool putput of precompilation step.
My question is why user who submits the job gets JCL error notification instead of MAXCC = 12 (for example) from the precompiler.
If IGYCRCTL has to throw some error, does user get notification as JCL Error?....... NO, instead user gets MAXCC = 8 or 12.
Then if DSNHPC (precompiler) has some problem (host varibles not found or something) why is user notified as JCL error though the return code from the precompilation step is (say 4)?
Hope that the overall objective of this discussion is clear this time.[/quote] |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
Then if DSNHPC (precompiler) has some problem (host varibles not found or something) why is user notified as JCL error though the return code from the precompilation step is (say 4)? |
As usual replying without seeing is not easy !
if the precompilation issues a return code of 4,
maybe the procedure is badly written and the subsequent steps
do not check properly the RC
but without seeing ........ |
|
Back to top |
|
|
mfhelp Warnings : 1 New User
Joined: 29 Jun 2006 Posts: 33
|
|
|
|
yes i think u r write |
|
Back to top |
|
|
mfhelp Warnings : 1 New User
Joined: 29 Jun 2006 Posts: 33
|
|
|
|
sorry, right |
|
Back to top |
|
|
|