Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us