View previous topic :: View next topic
|
Author |
Message |
gayathrivenkatachalam
New User
Joined: 16 Apr 2005 Posts: 5 Location: india
|
|
|
|
how to pass the system date value from a cobol program to my jcl |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
All you can pass from a program to the JCL is a numeric value in the Return-Code register (0-4096).
You can write your information to a dataset. However, that is of no value to the JCL.
My question is - why would your JCL need to care about the system date? |
|
Back to top |
|
|
gayathrivenkatachalam
New User
Joined: 16 Apr 2005 Posts: 5 Location: india
|
|
|
|
actually i wanted to know if there ia a possibility of passing a value from the cobol to the jcl. |
|
Back to top |
|
|
gayathrivenkatachalam
New User
Joined: 16 Apr 2005 Posts: 5 Location: india
|
|
|
|
hi can u tell me what is the picture clause of return code variable? |
|
Back to top |
|
|
umeshkmrsh
New User
Joined: 21 Sep 2005 Posts: 79 Location: India
|
|
|
|
RETURN-CODE is a built in variable in COBOL. You can access the value of RETURN-CODE variable in jcl using JCL var RC. |
|
Back to top |
|
|
|