CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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. |
|
|