IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to pass data from jcl to cobol program?????


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top