IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

types of passing data


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shammiullah

New User


Joined: 13 Jun 2005
Posts: 24

PostPosted: Thu Nov 24, 2005 10:44 pm
Reply with quote

hi guyz,
can u help me out with this ques....
1. i wanna know the ways of passing data thru jcl to cobol pgm?i know sysin,parm and input file..i heard that 2 more ways r there...what r those?

2.what r the ways to pass data from cobol to jcl?how does intrdr work.

warm regards,
shammi.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Thu Nov 24, 2005 11:03 pm
Reply with quote

Quote:
1. i wanna know the ways of passing data thru jcl to cobol pgm?i know sysin,parm and input file..i heard that 2 more ways r there...what r those?

I know three ways mentioned...

Quote:
2.what r the ways to pass data from cobol to jcl?how does intrdr work.

What exactly you are referring to pass from program. If thats output it can go to sysout. Or you are talking about RETURN-CODE.

Regards,
Priyesh.
Back to top
View user's profile Send private message
shammiullah

New User


Joined: 13 Jun 2005
Posts: 24

PostPosted: Thu Nov 24, 2005 11:08 pm
Reply with quote

hi priyesh,
in an interview i was asked a ques like what r the ways to pass data.i said sysin ,parm and input file.he said that 2 more ways r there...datz y i asked.

as u've mentioned how does RETURNCODE come in to input....
Back to top
View user's profile Send private message
crm

New User


Joined: 14 Nov 2005
Posts: 25

PostPosted: Fri Nov 25, 2005 8:01 am
Reply with quote

we can pass the values frm JCL to COBOL by using

PARM parameter& also

//sysin dd *

let me know if other ways r there
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Nov 25, 2005 12:19 pm
Reply with quote

shammi,
Quote:
as u've mentioned how does RETURNCODE come in to input....

http://ibmmainframes.com/viewtopic.php?t=1400

Regards,
Priyesh.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top