View previous topic :: View next topic
|
Author |
Message |
richa.setia
New User
Joined: 23 Mar 2005 Posts: 10 Location: Noida
|
|
|
|
Hello all!
Please tell me how do we copy KSDS to ESDS?Is it possible with REPRO command?Also let me know if i want to copy only first 100 recs out of 200?
I dont have mainframe link so i cannot try this myself.
Thanks a lot!
Regards,
Richa |
|
Back to top |
|
|
manjunathbhosale
New User
Joined: 18 Mar 2005 Posts: 6 Location: bangalore
|
|
|
|
hi
it is possible to use REPRO command to load the data from KSDS to ESDS or vica versa.
if you code repro command use fromkey() and tokey() for KSDS file.
plz insure the the first 100 numbers for ksds file.
ie....
INDATASET(input-dataset-ksds)
OUTDATASET(output-dataset-esds)
FROMKEY(first-keynumber)
TOKEY(last-keynumber)
I think it works. |
|
Back to top |
|
|
David P
Active User
Joined: 11 Apr 2005 Posts: 106 Location: Cincinnati Ohio
|
|
|
|
Hi,
I believe you can also use the count option in REPRO
REPRO -
INFILE(KSDS) -
OUTFILE(ESDS) -
SKIP(00) -
COUNT(100)
regrads,
David. |
|
Back to top |
|
|
|