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
 

 

PGM=$A usage io JCLs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rosmi joseph

New User


Joined: 17 Sep 2007
Posts: 68
Location: Kochi

PostPosted: Thu May 24, 2012 6:42 pm    Post subject: PGM=$A usage io JCLs
Reply with quote

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
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Thu May 24, 2012 6:47 pm    Post subject: Reply to: PGM=$A usage io JCLs
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Thu May 24, 2012 6:56 pm    Post subject:
Reply with quote

Read up on the COND parameter of the EXEC statement, and it will become apparent what is happening.
Back to top
View user's profile Send private message
rosmi joseph

New User


Joined: 17 Sep 2007
Posts: 68
Location: Kochi

PostPosted: Thu May 24, 2012 6:56 pm    Post subject: Reply to: PGM=$A usage io JCLs
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Thu May 24, 2012 7:01 pm    Post subject:
Reply with quote

What do you not understand about the JLC shown?
Back to top
View user's profile Send private message
rosmi joseph

New User


Joined: 17 Sep 2007
Posts: 68
Location: Kochi

PostPosted: Thu May 24, 2012 7:05 pm    Post subject: Reply to: PGM=$A usage io JCLs
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Thu May 24, 2012 7:08 pm    Post subject:
Reply with quote

$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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu May 24, 2012 7:22 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Thu May 24, 2012 7:32 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Thu May 24, 2012 7:55 pm    Post subject: Reply to: PGM=$A usage io JCLs
Reply with quote

Well, the hits I got were for CA-Jobtrac.

Only a guess, but do you have it at your site?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Thu May 24, 2012 7:56 pm    Post subject:
Reply with quote

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
View user's profile Send private message
chandana k

New User


Joined: 18 Jul 2012
Posts: 2
Location: INDIA

PostPosted: Wed Jul 18, 2012 12:31 pm    Post subject: Re: Reply to: PGM=$A usage io JCLs
Reply with quote

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
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Thu Jul 19, 2012 12:23 am    Post subject:
Reply with quote

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
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
No new posts How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts Controlling usage of resources by tasks raja1128 CICS 3 Fri Nov 06, 2015 9:53 am
No new posts TDQ & its usage as ATI akodakka CICS 3 Sat Oct 17, 2015 6:04 pm
No new posts XPED - When command usage anand1204 Compuware & Other Tools 3 Tue Sep 15, 2015 12:50 am
No new posts Usage of NETRC for FTP step in JCL Vineetha_123 JCL & VSAM 3 Fri Jul 17, 2015 3:24 pm


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