Reg: Job statement



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Reg: Job statement

Postby gowthamgyaa » Sun Sep 30, 2012 7:18 pm

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
gowthamgyaa
 
Posts: 101
Joined: Wed Sep 05, 2012 11:18 pm
Has thanked: 67 times
Been thanked: 0 time

Re: Reg: Job statement

 

Re: Reg: Job statement

Postby Robert Sample » Sun Sep 30, 2012 8:38 pm

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: Reg: Job statement

Postby gowthamgyaa » Sun Sep 30, 2012 8:45 pm

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
gowthamgyaa
 
Posts: 101
Joined: Wed Sep 05, 2012 11:18 pm
Has thanked: 67 times
Been thanked: 0 time

Re: Reg: Job statement

Postby steve-myers » Sun Sep 30, 2012 9:04 pm

I do not think you read Mr. Sample's post. READ IT.
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: Reg: Job statement

Postby gowthamgyaa » Sun Sep 30, 2012 9:22 pm

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
gowthamgyaa
 
Posts: 101
Joined: Wed Sep 05, 2012 11:18 pm
Has thanked: 67 times
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post