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
 

 

Value passing from Cobol to JCL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Grandmaster_mainframe

New User


Joined: 12 Sep 2005
Posts: 1

PostPosted: Wed Sep 14, 2005 4:41 pm    Post subject: Value passing from Cobol to JCL.
Reply with quote

Can we pass values from cobol to jcl? How? (I am not talking of passing return code values )
Back to top
View user's profile Send private message

cheli

New User


Joined: 21 Jul 2005
Posts: 11

PostPosted: Wed Sep 14, 2005 5:02 pm    Post subject: Re: Value passing from Cobol to JCL.
Reply with quote

Hi.....

As we know,other than RETURN-CODE we can't pass any value to JCL.
Back to top
View user's profile Send private message
Ravi gaur

New User


Joined: 12 Jul 2005
Posts: 38

PostPosted: Mon Sep 19, 2005 11:38 am    Post subject: Hi Grandmaster.
Reply with quote

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
View user's profile Send private message
sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Mon Sep 19, 2005 12:38 pm    Post subject: Re: Value passing from Cobol to JCL.
Reply with quote

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
View user's profile Send private message
ritakaur

New User


Joined: 19 Sep 2005
Posts: 13
Location: Belgaum

PostPosted: Mon Sep 19, 2005 1:49 pm    Post subject: Re: Value passing from Cobol to JCL.
Reply with quote

we can pass conditon codes to jcl

bye.
rita
Back to top
View user's profile Send private message
Ravi gaur

New User


Joined: 12 Jul 2005
Posts: 38

PostPosted: Mon Sep 19, 2005 3:37 pm    Post subject: Hi Sridevi
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm


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