Hi all I have a question for u.
I have to copy instream data from input to a ksds output file?
What are the terms and conditions applied to copy instream data to ksds file??
copy instream data from input to a ksds output.
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: copy instream data from input to a ksds output.
Well the first thing to know is that a KSDS is a keyed data set, so the key specified in the instream data must match the position and length of the KSDS key. You'll also need to validate that the instream data record length is compatible with the KSDS record length.
Second, you must ensure the instream data is sorted into ascending key sequence.
Third, use IDCAMS to REPRO the instream data to the KSDS. You may need to DELETE / DEFINE the KSDS before doing the REPRO since you'll need to be copying into an empty KSDS.
Second, you must ensure the instream data is sorted into ascending key sequence.
Third, use IDCAMS to REPRO the instream data to the KSDS. You may need to DELETE / DEFINE the KSDS before doing the REPRO since you'll need to be copying into an empty KSDS.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute