> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Rick Fochtman
>
> --------------------<snip>------------------------
> SORT macro
>
> On the command line, SORT x y will sort the currently-edited
> or -viewed member using column x for a length of y as the
> sort key. It *might* be possible to specify multiple "keys"
> and/or reverse collating sequence, neither of which I've tried.
> -----------------<unsnip>-------------------------
> SORT A B A|D C D A|D E F A|D
>
> Where A C & E are starting columns, B D & F anr field length
Actually, B D & F are ending columns, not length. I corrected myself in
a later post.
We could probably note that the "major" sort key need not precede the
"minor" key, either. IOW,
SORT C D A|D A B A|D (where A < B < C < D)
also works.
> and A|D refers to ASCENDING or DESCENDING
>
> Works like a champ! Used it many times. Just don't overlap
> the sort key fields.
-jc-
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html