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

INCLUDE condition in SORT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Oct 17, 2007 4:51 am
Reply with quote

MSTP wrote:
Hooray it worked.
But do you know why?
Alissa Margulies, SyncSort Mainframe Support wrote:
The application is working exactly as it was coded. The problem is the understanding of the control statements. OMIT COND= is executed in Phase 1. It is not part of OUTFIL processing. This is why the SAVE parameter appeared not to have captured any records. All records remaining after the OMIT processing went to the first outfil group, leaving none for the SAVE. (If a comma was simply added, you would have gotten a syntax error).
OUTFIL OMIT= is part of OUTFIL processing and it executes in Phase 3 of the sort. (Please refer to Chapter 8 in the SyncSort for z/OS Programmer's Guide for additional information regarding the Flow of the Sort). I hope this helps to clarify it a little.
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 -> JCL & VSAM Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 8
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top