View previous topic :: View next topic
|
Author |
Message |
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Can anybody please tell me what does main Parameter do?
//*MAIN CLASS=Z1U1
How is the above statement interpreted by the compiler? |
|
Back to top |
|
|
sivaram.ch
New User
Joined: 28 Jun 2005 Posts: 11
|
|
|
|
The jcl statement u written is comment(/*)
Thanks |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Its not a comment. And if its a comment then why is it written in most of the production jobs and what does it signify?
Thanks |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi,
I believe it's a comment only whether it is written on production job or test ones.
But jCl basic rule did not change. |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
Madhu Kashyap,
Has it been run through any command scheduler? |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Hi Radhakrishnan,
Iam not sure about that. I just know that its used in production jobs and is not a comment , as far as my knowledge is concerned.
Regards,
Madhu |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
This is how this is used after jobcard in the Jcls-
//*MAIN CLASS=WLMM,ORG=URPOOL
//*ROUTE TO=AD265-SZ
Regards,
Madhu |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
Quote: |
I just know that its used in production jobs and is not a comment |
for example,
//*LOGONID loginidname in JCL is not comment
When you submit the job with this statement,it wont list in the sysout.
Quote: |
//*ROUTE TO=AD265-SZ |
/*ROUTE TO=AD265-SZ (single slash and *) is the correct one.
//*Main - may be it points to a class parameter in job cards.(am not sure) |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Thanks for your valuable information.
Regards,
Madhu |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
Madhu,
One more info...
//*keywords is a JES2 command basically.Normally JCL checks for JES2 command first.If its not a JES2 command then it takes it as a comment.
Hope this helps. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
donevin
New User
Joined: 07 Jun 2005 Posts: 70 Location: South Africa
|
|
|
|
From the JCL reference manual 2 things :
(1). //*MAIN defines selected processing parameters for a job, but bear in mind it is a JES3 control statement similar to the /*JOBPARM control statement from JES2. So it is used to specify processing parameters for a job.
(2). The CLASS parameter overrides a JOB statement CLASS parameter.
Hope this helps. |
|
Back to top |
|
|
|