View previous topic :: View next topic
|
Author |
Message |
tishasha
New User
Joined: 14 Jun 2007 Posts: 5 Location: Manila
|
|
|
|
Hi...
Is it possible to copy dataset contents into a dataset member? Or, it is also possible to output a SORT into a dataset member and NOT into a dataset..
any help highly appreciated. thanks!! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Either may be done.
For example - data in a PS dataset with an lrecl of 80 may be copied or sorted into a member of a pds with an lrecl of 80. |
|
Back to top |
|
|
ramfrom84
New User
Joined: 23 Aug 2006 Posts: 93 Location: chennai
|
|
|
|
Hi,
In the SORTOUT Mention the PDS Name..
below using IEBCOPY :
Code: |
//STEP01 EXEC PGM=IEBCOPY
//INDD DD DSN=T.XXXXXXXX.XXXX,DISP=SHR
//OUTDD DD DSN=T.XXXXXXXX.XXXX.XXXXXX,DISP=SHR
//SYSIN DD *
COPY INDD=((INDD,R)),OUTDD=OUTDD
COPY INDD=INDD , OUTDD=((OUTDD,R)),
S M=XXXXXXXX /*member name*/
//*
// |
|
|
Back to top |
|
|
tishasha
New User
Joined: 14 Jun 2007 Posts: 5 Location: Manila
|
|
|
|
i think i got it... thanks guys!! |
|
Back to top |
|
|
|