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
 

 

query regarding control card

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

New User


Joined: 09 Nov 2010
Posts: 20
Location: hyderabad

PostPosted: Fri Jun 17, 2011 4:41 pm    Post subject: query regarding control card
Reply with quote

Hi,
I have doubt about control card...why symbolic parameters will not expand in control cards?
Back to top
View user's profile Send private message

Dsingh29

Active User


Joined: 16 Dec 2008
Posts: 132
Location: IBM

PostPosted: Fri Jun 17, 2011 4:52 pm    Post subject: Reply to: query regarding control card
Reply with quote

Do you have a way ?

Please have a look at the previous post. http://ibmmainframes.com/about36544.html

Or else, you have to install a third party system

http://gsf-soft.com/Products/CCSS.shtml
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Jun 17, 2011 4:56 pm    Post subject:
Reply with quote

Symbolic parameters are part of JCL. Control cards are not JCL -- they are read by the program being executed to provide direction as to what action(s) to take. Since control cards are NOT JCL, why on earth would you think symbolic parameters that ONLY are used with JCL should apply to control cards?
Back to top
View user's profile Send private message
sunilmfs

New User


Joined: 09 Nov 2010
Posts: 20
Location: hyderabad

PostPosted: Fri Jun 17, 2011 5:12 pm    Post subject: Reply to: query regarding control card
Reply with quote

Thanks for quick reply
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jun 17, 2011 5:18 pm    Post subject:
Reply with quote

control cards are either contained within DS's referenced by the dd statement (SYSIN usually),
or are part of instream datasets.

so it has more to do with the fact that symbolics contained in instream datasets (or datasets/pds members) are not interpreted by the jcl interpreter when a job is submitted to jes.

the fact that this topic has to do with control cards is has nothing to do with the reason.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Jun 17, 2011 10:57 pm    Post subject:
Reply with quote

Sunil,

FYI, with DFSORT:

You can use system symbols (e.g. &JOBNAME) in control statements. See:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA50/8.4.2?DT=20100630155256

You can also use SET and PROC symbols in control statements. See:

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000242
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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts GETMAIN/FREEMAIN query Suja.Sai CICS 9 Tue Jan 31, 2017 12:01 pm


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