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
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 1 Mon May 29, 2017 8:10 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am


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