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
 

 

How to use the input parameters of COBOL in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ak_pagare

New User


Joined: 26 Apr 2005
Posts: 3
Location: Pune

PostPosted: Mon Nov 28, 2005 3:25 pm    Post subject: How to use the input parameters of COBOL in JCL
Reply with quote

Hi all,
I am wrting a COBOL program, which includes the ACCEPT statements, And whatever the parameters are comming from the operator, I want to use those param in the JCL. Is it possible? Please suggest me.

Like I want to accept a file and use down the line in the JCL.
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Mon Nov 28, 2005 11:47 pm    Post subject: Re: How to use the input parameters of COBOL in JCL
Reply with quote

ak_pagare,

Your question I find a little vague. Can you please give a little more detail? What are you excepting from the operator, and how would you like to use it in the JCL? In the same step or in subsequent steps? If you can, give an example of the JCL and where you would like the inputted parameter in the JCL.

Thanks, we will see what we can come up with.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue Nov 29, 2005 2:29 pm    Post subject: input from cobol to JCL
Reply with quote

hi frnd,

Quote:
whatever the parameters are comming from the operator, I want to use those param in the JCL


so my frnd, can u plz tell me how the paramerters are coming to the operator.. it's only by the instream parameter na?? k. do one thing. using the file option write it in the file and use the DD in JCL to read it from the file. hope this is head ache.. and can u tell me my frnd what's ur requirement?
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Formating the Input file sreekusr DFSORT/ICETOOL 3 Fri Feb 17, 2017 10:40 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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