I simply do:

PIPE | LITERAL D12B 127B B729 1111 | SPLIT | SPEC 1.4 X2C 2 1.4 3 | SORT
| SPEC 3-* 1 | CONSOLE
1111

127B

B729

D12B

Ready;

 
Frank M. Ramaekers Jr.
 
 
-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Dave Jones
Sent: Thursday, December 16, 2010 9:14 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: I saw a pipe here, now I can't find it.

/* HEXSORT REXX: Sort in HEX */
'callpipe',
'*: |',
'xlate *-* A-F fa-ff fa-ff A-F |',
'sort' arg(1) '|',
'xlate *-* A-F fa-ff fa-ff A-F |',
'*:'
exit RC

On 12/16/2010 09:11 AM, Tom Huegel wrote:
> I know I saw someone posted this way back when but I can't find it.
> 
> A real simple pipe to do a 'hex' sort. Input is device addresses.
> 
> pipe literal D12B 127B B729 1111 | split | sort | console   <this does
a
> character sort.
> 
> What do I add to get the outout to be 1111 127B B729 D12B..??
> 
> Thanks
> 

-- 
Dave Jones
V/Soft Software
www.vsoft-software.com
Houston, TX
281.578.7544

_____________________________________________________
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.

Reply via email to