View previous topic :: View next topic
|
Author |
Message |
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 121 Location: India
|
|
|
|
Hi,
I would like to know the cause of a JCL error encountered while a common JCL when submitted by some other folks had JCL error while the same JCL when was submitted by a person who prepared it executed fine.
Given that the JCL doesn't have any files.
One reason i know is some shops donot allow the JCL to be submitted which is available in a PDS having the name starting with other person's TSO id.
I want to know some other possible reasons for such error, and here my requirement is i don't want to go to spool to check the error rather i want to check the error going to the job directly.
Thanks |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
i don't want to go to spool to check the error rather i want to check the error going to the job directly. |
This is insanity. There are many reasons a job might not work and without looking at the system output, you really have no idea how to fix the job.
Quote: |
I would like to know the cause of a JCL error encountered while a common JCL when submitted by some other folks had JCL error while the same JCL when was submitted by a person who prepared it executed fine.
Given that the JCL doesn't have any files. |
Why run a job without any files? If the person had USER= and PASSWORD= on the job card, and someone else submitted the job, that could cause issues (depending upon the site exits used). |
|
Back to top |
|
|
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 121 Location: India
|
|
|
|
Thanks for the reply. Well, thanks for the word "Insane" this query was a question to me, so i am not "Insane" Just wanted to know experts view on it.
Thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
While insane might be a bit much, it (the question) surely is inane. . .
Many (most?) experts would put this in the class of questions that are of no practical value what so ever, have no definitive answer (near-infinity is not acceptable), and therefore only waste time and server space. . . |
|
Back to top |
|
|
smijoss
Active User
Joined: 30 Aug 2007 Posts: 114 Location: pune
|
|
|
|
i didnt undestand this " rather i want to check the error going to the job directly"
why not delete the line having userid=,password=
you job would not fail if it was succesful for the other person and u have the previleges of that person with respect to creation of files |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
meenakshi_forum wrote: |
One reason i know is some shops donot allow the JCL to be submitted which is available in a PDS having the name starting with other person's TSO id. |
Did you mean the Job-name is same as TSO-ID?
And what kind of JCL error did you get? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Anuj Dhawan wrote: |
And what kind of JCL error did you get?
|
to determine that, he would have to look at the spool, but
meenakshi_forum wrote: |
i don't want to go to spool to check the error rather i want to check the error going to the job directly. |
He has no intention of actually doing anything himself, instead he poses a theoretical question
meenakshi_forum wrote: |
I want to know some other possible reasons for such error |
that we are supposed to answer.
Robert called it an 'insane' question,
Dick Scherrer, an 'inane' question,
IMUO, I think the TS has too much time on his hands, which would be better spent reading manuals, or 'gathering info' by looking at the spool output of the failed job and learning something there, instead of posting theoretical questions better posed in a bar instead of a technical forum. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I think you're being a little sensitive -- I did not call you insane; I called the idea of going directly to the JCL to fix an unknown problem without taking advantage of all possible data insanity. If you're running a JES3 site, then a job card error could cause the job to fail immediately -- but so could attempting to use (DISP=SHR) a non-existent data set, not to mention possible security problems (and so forth). |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Without seeing the jcl (i guess its a RACF issue, canceling the job depending on job card values) it is insane to expect an answer to this
problem. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
PeterHolland wrote: |
Without seeing the jcl (i guess its a RACF issue, canceling the job depending on job card values) it is insane to expect an answer to this problem. |
Well, there's NO chance of seeing the output is there |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
meenakshi_forum wrote: |
I want to know some other possible reasons for such error, and here my requirement is i don't want to go to spool to check the error rather i want to check the error going to the job directly.
|
May be JCL-syntax check tool can help you.
Actually, Dick - I haapend to be in some interviews where they asked me to find the error by "just looking at JCL" they threw in front of me, at the time of interview. It was pretty much similar to the "situation" the way Meenakshi(she) has described. But it was an interview. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
there are not that many rules about jcl syntax -
without regard to the esoteric spelling.
most of it is column positions and what is allowed there. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
dbzTHEdinosauer wrote: |
there are not that many rules about jcl |
Only for those who know them . |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Yes, and the JCL owner inserting (a) unprintable character(s) in the JCl so
nobody could submit his/her JCL. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
PeterHolland wrote: |
Yes, and the JCL owner inserting (a) unprintable character(s) in the JCl so
nobody could submit his/her JCL. |
well, I don't get trapped by that kind of stuff,
I keep my profiles as ALL CAPS,
and I watch the messages when I open a member/ds
to see if there are any 'lower case' dinges.
that's a hold-over from having to deal with lil'turds who think it is cool to
write lower-case cobol. (that and goto's do tend to set me off). |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Dick, we are old hands knowing this kind of jokes. But do the youngsters know? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Also, you won't mind going to spool to check what happened, I believe. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
PeterHolland wrote: |
Dick, we are old hands knowing this kind of jokes. But do the youngsters know? |
Oh Gosh, that's a new one for me |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Anuj Dhawan wrote: |
Also, you won't mind going to spool to check what happened, I believe. |
I always go straight to spool first.
Never waste time looking at the JOB in edit/view.
If I executed it, that means I sort-of desk-checked it,
probably TYPRUN=SCANed if first time with the job. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
expat wrote: |
PeterHolland wrote: |
Dick, we are old hands knowing this kind of jokes. But do the youngsters know? |
Oh Gosh, that's a new one for me |
I worked one place where this clown would not use view
when playing with my jcl -
he (everyone) had/s my permission to use/copy anything
that I have.
but he would change the job in edit, submit it then exit with an end instead of cancel.
so I wrote a macro to shift all the pg/ln left 1 char and saved all my jobs.
then I wrote an imacro that I used on my jcl-pds which would shift all the
pg/ln right one char.
and since I always view my jcl, nothing would be changed.
he spent several hours one time trying to figure it out.
he even copied my jcl to his pds thinking that would fix-it. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Its great to see that people with about 300 years IT experience are reacting on a topic started by someone who doesnt want to do anything
to know why something is happening. |
|
Back to top |
|
|
|