Page 1 of 1

Reg: Job statement

PostPosted: Sun Sep 30, 2012 7:18 pm
by gowthamgyaa
Hi everyone,
I am a Learner in JCL , here am having a doubt in job statement , if i give the job statement like this what would be the case,
//Jxxxxxxx JOB,, CLASS=M,....
I had given two commas after job and a space before class, so what it indicates? If i give it with one comma and without space what would be the case?
Kindly guide me to go through it .



Kind regard's
gyaa

Re: Reg: Job statement

PostPosted: Sun Sep 30, 2012 8:38 pm
by Robert Sample
The space means the CLASS=M and anything after it would be ignored as comments. Since you did not leave a space after the keyword JOB, your entire statement (and hence job) would usually be flushed from the system and no execution would occur. If you did leave a space after JOB, then you are indicating two positional parameters have default values. Depending upon the site, this may -- or may not -- be valid. If not valid, your job would be flushed. If valid, then whatever defaults your site uses for the accounting parameter and programmer's name parameter would be used. This is something specific to each site, so only someone working AT YOUR SITE could possibly tell you about the impact and validity.

Re: Reg: Job statement

PostPosted: Sun Sep 30, 2012 8:45 pm
by gowthamgyaa
Hi Robert,
What about the two commas which i had used there?
If i leave NO space after job to write class i.e.,
//CXXXXXXX JOB ,CLASS=M
What would be my result , error or Maxcc=0?


Kind regard's
Gyaa

Re: Reg: Job statement

PostPosted: Sun Sep 30, 2012 9:04 pm
by steve-myers
I do not think you read Mr. Sample's post. READ IT.

Re: Reg: Job statement

PostPosted: Sun Sep 30, 2012 9:22 pm
by gowthamgyaa
ya i agree with you steve , i understand now .
Thank's to Robert for guiding me & also to steve for notifying me

regard's
gyaa