MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Read Sequential File & Write to mutiple Sequential Files

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Venkata Ramana Reddy
Beginner


Joined: 02 Dec 2002
Posts: 70
Topics: 19
Location: California

PostPosted: Fri Sep 24, 2004 1:06 pm    Post subject: Read Sequential File & Write to mutiple Sequential Files Reply with quote

Hello All,
I have a sequential dataset(LRECL=136) which looks some like this
Code:

MEMBER NAME  MEMBER1
 MEMBER1 RECORD1
 MEMBER1 RECORD2
 MEMBER1 RECORD3
MINUTES EXECUTION TIME

MEMBER NAME  MEMBER2
 MEMBER2 RECORD1
 MEMBER2 RECORD2
 MEMBER2 RECORD3
MINUTES EXECUTION TIME


My requirement is like this

Read the records between MEMBER1 & MINUTES EXECUTION TIME and write to sequential dataset(LRECL=136) something like XXX.YYY.MEMBER1
Read the records between MEMBER2 & MINUTES EXECUTION TIME and write to sequential dataset(LRECL=136) something like XXX.YYY.MEMBER2

Thats means I should get two Sequential Datasets like this

Dataset XXX.YYY.MEMBER1

MEMBER1 RECORD1
MEMBER1 RECORD2
MEMBER1 RECORD3
MINUTES EXECUTION TIME


Dataset XXX.YYY.MEMBER2

MEMBER2 RECORD1
MEMBER2 RECORD2
MEMBER2 RECORD3
MINUTES EXECUTION TIME


We have Syncsort,Easytrieve 6.2

Thanks in advance..........
_________________
Venkataramana
-- Good judgement comes from experience, and often experience comes from bad judgement.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Fri Sep 24, 2004 5:38 pm    Post subject: Reply with quote

Venkata Ramana reddy,

Please search before posting. The splitting of file into multiples has been discussed earlier. check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2127&highlight=seqnum

http://www.mvsforums.com/helpboards/viewtopic.php?t=2584&highlight=seqnum

Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group