Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!UW-JUNE.ARPA!js From: js@UW-JUNE.ARPA (A. K. Ulgai) Newsgroups: mod.computers.vax Subject: CLD question, how to get multiple qualifiers (like /KEY in sort)??? Message-ID: <8608282241.AA23110@uw-june.arpa> Date: Thu, 28-Aug-86 18:41:19 EDT Article-I.D.: uw-june.8608282241.AA23110 Posted: Thu Aug 28 18:41:19 1986 Date-Received: Fri, 29-Aug-86 05:38:18 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 18 Approved: info-vax@sri-kl.arpa Would anyone care to explain to me how you can parse a command such as SORT/KEY=(pos:1,siz:20)/KEY=(pos:30,siz:10) ? Using CLI$GET_VALUE always returns the last KEY qualifier on the line, whereas I'd like to get both KEY qualifiers. The only way I've come up with so far is to get the entire line (CLI$GET_VALUE('$LINE',line)) and parse it myself... Surely there must be a simpler way... I'd rather not have to build up a cli request block and call SYS$CLI since it's undocumented, unless someone would reassure me that the cli interface won't change drastically for a while.. If anyone has sample code, or just a decent explanation of sys$cli I'd love to see it... Any ideas/hints welcome, and thanks in advance! Cheers, Joe Meadows Jr. js@uw-june