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

Prepare sort data for two different sort work simutaneously


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ik5157

New User


Joined: 13 May 2005
Posts: 1

PostPosted: Fri May 13, 2005 7:45 am
Reply with quote

I would like to read data from 1 dataset and put them into two different sort work for two different purposes at the same time. Different calculations have to be done before releasing them into the sort work after reading the record from the dataset. The number of record is variable. I don't want to predefine a fixed number of internal variable which add limitation to the program.

How can I do this?? Thanks for advise.
Back to top
View user's profile Send private message
ankyhunk

Moderator


Joined: 05 May 2005
Posts: 98
Location: Navi Mumbai, India

PostPosted: Fri May 13, 2005 10:11 am
Reply with quote

Simply read the file into an i/p record. You can copy this into another working storage variable for the 2nd file. Then do the processing & write them into the 2 files.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri May 13, 2005 9:23 pm
Reply with quote

I'm not getting your point. Why don't you show us in pseudo code what you're trying to do.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top