View previous topic :: View next topic |
Author |
Message |
Martin Beginner
Joined: 20 Mar 2006 Posts: 133 Topics: 58
|
Posted: Thu Jan 11, 2007 3:09 am Post subject: Attibutes same as sortin |
|
|
Hi,
I need to set the attr of output same as input file in a sot step. Can any 1 let me know whats the syntax fo this?
Note : - I do not know the attr of the input file
-Mt |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Thu Jan 11, 2007 3:14 am Post subject: |
|
|
I think you don't need to mention these atrributes, SORT will automatially set it same as the SORTIN file. |
|
Back to top |
|
|
satheeshs Beginner
Joined: 06 Jul 2006 Posts: 13 Topics: 3 Location: 'Mainframe World'
|
Posted: Thu Jan 11, 2007 3:34 am Post subject: |
|
|
If the input file is in DASDs, you can use 'LIKE='i/p file'' parameter while you catalog the o/p dataset.
LIKE will not support tape datasets _________________ Satheesh |
|
Back to top |
|
|
dz Beginner
Joined: 02 Apr 2006 Posts: 26 Topics: 0
|
Posted: Thu Jan 11, 2007 10:58 am Post subject: |
|
|
This can be done in JCL:
//SORTOUT DD DSB=*.SORTIN |
|
Back to top |
|
|
dz Beginner
Joined: 02 Apr 2006 Posts: 26 Topics: 0
|
Posted: Thu Jan 11, 2007 11:02 am Post subject: |
|
|
Sorry, I meant DCB:
//SORTOUT DD DCB=*.SORTIN |
|
Back to top |
|
|
|
|