Or my preference:
/* QUERY NAMES replacement */ Trace "O" Address "COMMAND" "PIPE CP QUERY NAMES", "| SPLIT ,", "| STRIP", "| SORT", "| SPEC 1.15 1.16", "| SNAKE 5", "| CONSOLE" Exit rc Frank M. Ramaekers Jr. ________________________________ From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Bob Bates Sent: Friday, March 12, 2010 11:04 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Question About Read console output under REXX If you are looking to get the users in alphabetical order: 'PIPE CP Q N' , '| split /,/', '| strip' , '| sort' , '| pad 15' , '| join 3 /, /' , '| console' Not sure what you are looking for in the spool. Q F userid tells how many a user has. Bob Bates Enterprise Hosting Services w. (469)892-6660 c. (214) 907-5071 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." _____________________________________________________ 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.