View previous topic :: View next topic
|
Author |
Message |
rosmi joseph
New User
Joined: 17 Sep 2007 Posts: 68 Location: Kochi
|
|
|
|
Hi,
We observed the below piece of step in one of the jobs in our workstation. Can anyone help on what it means.
//$AUTO EXEC PGM=$A,
// COND=(0,LE),
// PARM='Q<,LOC=140'
//*
Thanks |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Did you try Google? Toss quotes around $AUTO and PGM=$A, and I included the word EXEC, but up to you to experiment. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
Back to top |
|
|
rosmi joseph
New User
Joined: 17 Sep 2007 Posts: 68 Location: Kochi
|
|
|
|
Didnt get any solid data from Google. Just curious to know what this step means. As such the COND code is set in such a way that only if the previous step fails this would execute. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
What do you not understand about the JLC shown? |
|
Back to top |
|
|
rosmi joseph
New User
Joined: 17 Sep 2007 Posts: 68 Location: Kochi
|
|
|
|
Unable to understand the purpose of it.
//$AUTO EXEC PGM=$A,
// COND=(0,LE),
// PARM='Q<,LOC=140'
//*
1) What does $AUTO mean?
2) What does PGM=$A do?
3) Does the above send any notification to any jobtrac location?
These are my queries. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
$AUTO is the stepname
$A is the program to be executed - what it does we have no idea as it was probably written in-house
Who knows - this is only the EXEC PGM statement - basic JCL. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you talk with your Scheduling or Computer Operations people.
The $xxxx entries may be for the system to set up at run time. Long before the scheduling products were "everywhere", we wrote a "reader exit" that customized JCL on-the-fly.
Otherwise, as Nic says, these are the stepname and program to execute. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
Having just come back to my desk after dealing with this in my guesthouse I tried running a BR14 with a stepname of $AUTO - invalid label but when trying with £AUTO it worked. Now the differene could be that £ is substituted for $ in the UK & Ireland codepage OR, as Dick says, the $ could be a marker for some job setup/submission software although they are more likely to use something that is NOT a valid character. Try running an IEFBR14 with a stepname of $AUTO and see what happens. (Try with £AUTO as well and see the difference). |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Well, the hits I got were for CA-Jobtrac.
Only a guess, but do you have it at your site? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Nic -- I've rn into this before. The US $ symbol becomes the UK £ symbol on UK mainframes (I used to use a machine based in Nottingham). If the one is valid, the other is invalid. Whichever one is valid is legitimate for use in program names, PDS member names, and so forth. I've transferred PDS files from machine to machine, and ££README member became $$README member on the other machine. |
|
Back to top |
|
|
chandana k
New User
Joined: 18 Jul 2012 Posts: 2 Location: INDIA
|
|
|
|
This EXEC PGM is used to execute the current JCL out of the JOBTRAC scheduler by adding Q dependency at the specified location(here 140)
Nic Clouston wrote: |
$AUTO is the stepname
$A is the program to be executed - what it does we have no idea as it was probably written in-house
Who knows - this is only the EXEC PGM statement - basic JCL. |
rosmi joseph wrote: |
Unable to understand the purpose of it.
//$AUTO EXEC PGM=$A,
// COND=(0,LE),
// PARM='Q<,LOC=140'
//*
1) What does $AUTO mean?
2) What does PGM=$A do?
3) Does the above send any notification to any jobtrac location?
These are my queries. |
|
|
Back to top |
|
|
vasanthkumarhb
Active User
Joined: 06 Sep 2007 Posts: 275 Location: Bang,iflex
|
|
|
|
This looks like scheduler substitution. It may point to test regions or system.
look at the job successful execution and jes2 statement, if there any populated value. |
|
Back to top |
|
|
|