View previous topic :: View next topic
|
Author |
Message |
mrlee
New User
Joined: 10 Jun 2005 Posts: 4
|
|
|
|
if i comminted one line before job card what will happen? |
|
Back to top |
|
|
jkbytes
Active User
Joined: 19 Feb 2005 Posts: 139 Location: South Africa
|
|
|
|
Hey are you trying to mention this.
Code: |
//* commented line
//mtplc05a job ,,class=a |
if this is what you are trying to say, then it wont affect the job in any ways. |
|
Back to top |
|
|
Sangram
New User
Joined: 08 Jun 2005 Posts: 7
|
|
|
|
If you have a commented line before the job card, JES will try to create a job card by using your mainframe user id ( again this thing is installation dependent) and appending some job characteristics to it.
After doing this JES will submit the job with the self created job card. But it will not find any accounting information causing the job abend with JCL error. Then the second line of the job ( the line having the correct job card) gets submitted and the job runs through. |
|
Back to top |
|
|
vidyasaraswathi
New User
Joined: 10 May 2005 Posts: 72
|
|
|
|
Hi,
If we comment the line above the Job card and submit the JCL,
it will display INVALID JOB STATEMENT -
Job will not be submitted also.
I think it doesn't show JCL error.
Thanks and Regards,
Vidya Bhat |
|
Back to top |
|
|
Sangram
New User
Joined: 08 Jun 2005 Posts: 7
|
|
|
|
The method of job submission in a JES subsystem is installation dependent. Vidya's installation might be configured to display the error message but my system picks up the user id( which is seven characters long) and appends a letter to it creating a job card itself. Hnece my job gets submitted and i get an error.
So it depends on your JES installation. Vidya ur solution is right too. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
If you try, you will see that a request will appaire:
Code: |
IKJ56700A ENTER JOBNAME CHARACTER(S) - |
So you will give to the job a characters and:
1) if you do it, both the first and the second job will start but the first will have JCL ERROR with this description from JES:
Code: |
STMT NO. MESSAGE
1 IEFC607I JOB HAS NO STEPS |
2) if you press ATT key to esc will appaire this message:
Code: |
IKJ79200I SUBMIT COMMAND TERMINATED DUE TO ATTENTION |
and nothing will be submitted. |
|
Back to top |
|
|
|