SORT utility



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

SORT utility

Postby Nisha » Mon Jun 09, 2008 12:03 pm

while using the SORT utility can i use the same file for input and the output?

Reagrds,
Nisha
Nisha
 
Posts: 5
Joined: Wed Jun 04, 2008 11:26 am
Has thanked: 0 time
Been thanked: 0 time

Re: SORT utility

Postby Frank Yaeger » Mon Jun 09, 2008 8:20 pm

If you are using DFSORT to do a sort, you can use the same file for input and output, although it's not recommended unless you have a backup of the input file. If you are using DFSORT to do a copy or a merge, you cannot use the same file for input and output.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1079
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 15 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post