Read Sequential File & Write to mutiple Sequential Files
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Utilities

#1: Read Sequential File & Write to mutiple Sequential Files Author: Venkata Ramana ReddyLocation: California PostPosted: Fri Sep 24, 2004 1:06 pm
    —
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..........

#2:  Author: kolusuLocation: San Jose PostPosted: Fri Sep 24, 2004 5:38 pm
    —
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



MVSFORUMS.com -> Utilities


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group