Darth Keller wrote:
A co-work has a list of 4 digit UCB's - hexidecimal values - and want's to sort it as hex-values. It wouldn't be too hard to code up an edit macro to perform the function, but I don't want to re-invent the wheel and thought I'd check to see if I'm missing something that already exists. Any one know of such a beast?
darth

I don't see the problem. Get into edit of the file, and issue

   ==> sort col1 col2 {A|D}

where "col1" indicates the first byte of your UCB value
and "col2" indicates the last byte; who cares if they're
hex? Should work as is; ISPF will treat them as unexamined
data and sort by the content.



Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

==> Check out the Trainer's Friend Store to purchase z/OS  <==
==> application developer toolkits. Sample code in four    <==
==> programming languages, JCL to Assemble or compile,     <==
==> bind and test.                                         <==
==>   http://www.trainersfriend.com/TTFStore/index.html    <==

----------------------------------------------------------------------
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

Reply via email to