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
 

 

jcl utility to run the jcl commands in sysin card

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

New User


Joined: 23 Feb 2009
Posts: 1
Location: chennai

PostPosted: Fri Feb 27, 2009 11:28 pm    Post subject: jcl utility to run the jcl commands in sysin card
Reply with quote

Is there any jcl utility to run the jcl commands in sysin card.
Assume that my sysin card has the JCL statement."// SET VAR=1".
Can I execute that statement using one utility in run time.
Back to top
View user's profile Send private message

Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Sat Feb 28, 2009 12:29 am    Post subject:
Reply with quote

I do not know of a utility for this but if you put it in a member of a PDS you could include it into the 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: Sat Feb 28, 2009 12:48 am    Post subject:
Reply with quote

Hello,

Quote:
Can i execute that statement using one utility in run time.
What would some utility accomplish? SET is another jcl statement that you could include in the job to have the value set.

Quote:
Is there any jcl utility to run the jcl commands in sysin card.
// SET would not be "in" a "sysin card".

It may help if you post a more complete description/example of what you want to do.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Sat Feb 28, 2009 12:49 am    Post subject: Reply to: jcl utility to run the jcl commands in sysin card
Reply with quote

Add an appropriate jobcard and a step and you could route the contents of the sysin to the JES Internal Reader for execution. Don't know what you're looking to get out of doing that, though.
Back to top
View user's profile Send private message
sathish1760

New User


Joined: 02 May 2008
Posts: 42
Location: chennai

PostPosted: Mon Mar 02, 2009 1:05 pm    Post subject:
Reply with quote

Initially the value of the var is set to 01 using "// SET VAR=01"
In third step the value of the var is changed to '03'(it will assign dynamically) in the cobol program execution step.
After the 3rd step , i have to assign the var value as '03'

Is it possible to assign a value to the jcl variable dynamically?

Is it possible to pass the value to jcl from cobol?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Mar 02, 2009 1:36 pm    Post subject:
Reply with quote

sathish1760 wrote:
In third step the value of the var is changed to '03'(it will assign dynamically) in the cobol program execution step.
After the 3rd step , i have to assign the var value as '03'
If in step third it's already set to "03", unless you change it - it should be same in the subsequent steps...

PS. By the way why such a big font there?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Mar 02, 2009 3:00 pm    Post subject:
Reply with quote

Once set, the variable is inplace until end of job. It can not be updated dynamically.
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 TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm


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