Make Syncsort stop when it finds what I want.
Posted: Wed May 14, 2014 11:30 pm
When we answer questions about how accounts process in my shop we find and strip files to get down to only the account (or group of accounts) that are in question. To do this we use UDACS to go find use the record(s) from TAPE or DASD as we can stop it processing when it finds the condition in question. This saves lots of time for us and the CPU.
Example:
The job will pull anything that will is = to account number 1234567890123456, and the instant it gets Greater Than that number account number the job will stop searching, and end processing.
Question is can Syncsort do something like this? My search of the SyncSort Manual shows the STOPAFT command, but that uses record counts, not conditional expressions.
Can Sort (or another utility) accomplish this like UDACS?
Example:
UDACS VER=(27,EQ,16,C,'1234567890123456'),END=(27,GT,16,C,1234567890123456)
The job will pull anything that will is = to account number 1234567890123456, and the instant it gets Greater Than that number account number the job will stop searching, and end processing.
Question is can Syncsort do something like this? My search of the SyncSort Manual shows the STOPAFT command, but that uses record counts, not conditional expressions.
Can Sort (or another utility) accomplish this like UDACS?