View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
Hi all
i have a doubt in VSAM,plz do respond
Suppose there are 50 records in one file i need to copy only records from 5 to 15 and records from 24 to 34 to another file...
is it possible using a single repro,can i mention skip twice,if so how
Thanks
Siva |
|
Back to top |
|
|
kingofmf
New User
Joined: 02 Mar 2005 Posts: 13 Location: Bangalore
|
|
|
|
try this i am not sure
STARTREC(5)
COUNT(11)
SKIPREC(8)
COUNT(11)
or
SKIPREC(4)
COUNT(11)
SKIPREC(8)
COUNT(11)
or
FROMNUMBER(5)
TONUMBER(15)
FROMNUMBER(24)
TONUMBER(34)
this is for rrds only
in case of ksds you have to give fromekey-tokey,and for esds you have to calculate rba and give fromaddress to address |
|
Back to top |
|
|
|