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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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