Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: if i comminted one line before job card what will happen?
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: 141
Location: South Africa

PostPosted: Fri Jun 10, 2005 3:17 pm    Post subject: Re: if i comminted one line before job card what will happen
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    Post subject:
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    Post subject: Re: if i comminted one line before job card what will happen
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    Post subject: Re: if i comminted one line before job card what will happen
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm
No new posts Performing addition using JCL sort card Shaheen Shaik DFSORT/ICETOOL 14 Fri May 06, 2016 12:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us