Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to Copy KSDS to ESDS?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
richa.setia

New User


Joined: 23 Mar 2005
Posts: 10
Location: Noida

PostPosted: Sat Jun 11, 2005 10:19 am    Post subject: How to Copy KSDS to ESDS?
Reply with quote

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
View user's profile Send private message

manjunathbhosale

New User


Joined: 18 Mar 2005
Posts: 6
Location: bangalore

PostPosted: Sat Jun 11, 2005 3:45 pm    Post subject:
Reply with quote

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
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Mon Jun 13, 2005 12:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us