View previous topic :: View next topic
|
Author |
Message |
abirami_2006
New User
Joined: 29 Dec 2005 Posts: 7
|
|
|
|
Hi all,
Can any body tell me how to copy PS to KSDS?
Thanks in advance
Abirami |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
There are various methods.
SORT, IDCAMS are the most common.
make sure your PS file is sorted in the order of KSDS file Key.
Code: |
//STEP010 EXEC PGM=IDCAMS
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*//*
//INFILE DD DISP=SHR,
// DSN='your_sequential_file'
//OUTFILE DD DISP=SHR,
// DSN='your ksds file'
//*
//SYSIN DD *
REPRO INFILE(INFILE) OUTFILE(OUTFILE)
/* |
|
|
Back to top |
|
|
Pollyannaish
New User
Joined: 09 Jul 2005 Posts: 31 Location: Pune, India
|
|
|
|
gskulkarni wrote: |
There are various methods.
SORT, IDCAMS are the most common.
/* |
Hi,
I am not sure whether SORT can be used to copy PS into KSDS.
Please let me know if you have information.
Prem |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
|