View previous topic :: View next topic
|
Author |
Message |
Grandmaster_mainframe
New User
Joined: 12 Sep 2005 Posts: 1
|
|
|
|
Can we pass values from cobol to jcl? How? (I am not talking of passing return code values ) |
|
Back to top |
|
|
cheli
New User
Joined: 21 Jul 2005 Posts: 11
|
|
|
|
Hi.....
As we know,other than RETURN-CODE we can't pass any value to JCL. |
|
Back to top |
|
|
Ravi gaur
New User
Joined: 12 Jul 2005 Posts: 38
|
|
|
|
if i m not wrong you r asking abt the control value...
Here the example
//CS00688A JOB ACCOUNT,'OSG',CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//STEP1 EXEC PGM=FILE
//STEPLIB DD DSN=CS00688.LOAD.COB390,DISP=SHR
//DD1 DD SYSOUT=*
//SYSPRINT DD DSN=CS00688.LOC.CNTL(CONDITON),DISP=SHR
//SYSIN DD *
RAVI
5
/*
In the above example i m giving value to Jcl through program "FILE"(COBOL) one. |
|
Back to top |
|
|
sridevi2005
New User
Joined: 15 Sep 2005 Posts: 42
|
|
|
|
Hi ravi,
Can u explain me more detail.
I think there is only one way to return the values to JCL.
What is control variables?
Thanks,
Sridevi |
|
Back to top |
|
|
ritakaur
New User
Joined: 19 Sep 2005 Posts: 13 Location: Belgaum
|
|
|
|
we can pass conditon codes to jcl
bye.
rita |
|
Back to top |
|
|
Ravi gaur
New User
Joined: 12 Jul 2005 Posts: 38
|
|
|
|
I not mean control variable ,, i mean control value ,,, which we give in the batch running to pass value to cobol program to process.
Thats wat i mean |
|
Back to top |
|
|
|