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 pass data from jcl to cobol program?????

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

New User


Joined: 02 Nov 2005
Posts: 5
Location: Pune,India

PostPosted: Fri Jun 09, 2006 3:21 pm    Post subject: How to pass data from jcl to cobol program?????
Reply with quote

There are two ways to pass datas from Jcl into Cobol program .
1. after sysin DD *
2. by using parm
But when we are passing large volume of dats i mean 1000 records then shall we go for this only or is there any other way to avail this ?
Plz let me know ???
Back to top
View user's profile Send private message

nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Fri Jun 09, 2006 3:26 pm    Post subject:
Reply with quote

U can pass the information through files also. Read from the file in cobol program and use the Records.
Back to top
View user's profile Send private message
varun_sharma

New User


Joined: 08 Jun 2005
Posts: 19
Location: new delhi

PostPosted: Fri Jun 09, 2006 3:27 pm    Post subject: Re: How to pass data from jcl to cobol program?????
Reply with quote

Hi Jeevan,

The most important thing is that you can't pass 1000 records thru PARM as it's length is 100bytes and if u pass so much data from SYSIN, this will decrease the performance and hence won't be approved for FFP. So what i think the best solution is call another pgm and pass data thru it. Please let me know in case of any concern.

Cheers
Varun
Back to top
View user's profile Send private message
jeevan_pattanaik

New User


Joined: 02 Nov 2005
Posts: 5
Location: Pune,India

PostPosted: Thu Jun 22, 2006 4:17 pm    Post subject: Re: How to pass data from jcl to cobol program?????
Reply with quote

Hi,
varun
thanks for replying me.
So cld you plz send me the exact code for this.
Jeevan
varun_sharma wrote:
Hi Jeevan,

The most important thing is that you can't pass 1000 records thru PARM as it's length is 100bytes and if u pass so much data from SYSIN, this will decrease the performance and hence won't be approved for FFP. So what i think the best solution is call another pgm and pass data thru it. Please let me know in case of any concern.

Cheers
Varun
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
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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


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