IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SORT step which uses same file for both SORTIN and SORTOUT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Aug 24, 2006 12:25 pm
Reply with quote

Hi,

I have a SORT step which uses same file for both SORTIN and SORTOUT like below -

//sortstep exec pgm=sort
//sysout dd sysout=*
//sortin dd dsn=xyz.a123,disp=shr
//sortout dd dsn=xyz.a123,disp=shr
//sysin dd *
omit cond=CONDITION
sort fields=copy
/*

Assuming the OMIT COND removed/omitted 'n' records, Does the file (xyz.a123 above) occupies the same space after execution of SORTSTEP as before or need LESS space.


Regards,
Murali Mohan K
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Thu Aug 24, 2006 3:32 pm
Reply with quote

Why dont you try it to see for yourself?

I think it will need/use less space.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top