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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


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