View previous topic :: View next topic
|
Author |
Message |
ragu_innovator01
New User
Joined: 23 Feb 2009 Posts: 1 Location: chennai
|
|
|
|
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 |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
sathish1760
New User
Joined: 02 May 2008 Posts: 42 Location: chennai
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Once set, the variable is inplace until end of job. It can not be updated dynamically. |
|
Back to top |
|
|
|