Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
Ya beat me to it.....
SyncSort for z/OS 1.3 Programmer’s Guide wrote:
SFF Signed free format. Decimal digits (0-9) are extracted from right to left to form a number value. A character of – or ) found within the field will cause the value to be treated as a negative number. All other nondecimal digit values in the field are ignored. A maximum of 31 digits can be provided. When more than 31 digits are found in the field, the leftmost digits will be ignored.
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
I am quite not sure if
can be used as the field lenghts vary betewwn input & output.
Suggest you run a test on some sample input and verify the output to check if that satisfies your requirement.
Also I have never used ALTSEQ. Can you kindly provide me an example.
Please search the Forum on "ALTSEQ" either JCL or DFSORT part of the Forum - if you want to narrow down your search, you might give author-name as "Frank Yaeger" or "skolusu" or "Alissa Margulies" or "Arun Raj" or...
And yes, keep in mind what William has suggested, however, for the shown sample input, you can use the FINDREP sort-card I provided.