IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

if i comminted one line before job card what will happen?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mrlee

New User


Joined: 10 Jun 2005
Posts: 4

PostPosted: Fri Jun 10, 2005 3:11 pm
Reply with quote

if i comminted one line before job card what will happen?
Back to top
View user's profile Send private message
jkbytes

Active User


Joined: 19 Feb 2005
Posts: 139
Location: South Africa

PostPosted: Fri Jun 10, 2005 3:17 pm
Reply with quote

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
View user's profile Send private message
Sangram

New User


Joined: 08 Jun 2005
Posts: 7

PostPosted: Fri Jun 10, 2005 4:17 pm
Reply with quote

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. icon_lol.gif
Back to top
View user's profile Send private message
vidyasaraswathi

New User


Joined: 10 May 2005
Posts: 72

PostPosted: Fri Jun 10, 2005 5:40 pm
Reply with quote

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
View user's profile Send private message
Sangram

New User


Joined: 08 Jun 2005
Posts: 7

PostPosted: Fri Jun 10, 2005 7:01 pm
Reply with quote

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. icon_biggrin.gif
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Fri Jun 10, 2005 7:14 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts Merge files with a key and insert a b... DFSORT/ICETOOL 6
Search our Forums:

Back to Top