[mod.computers.vax] CLD question, how to get multiple qualifiers

js@UW-JUNE.ARPA (A. K. Ulgai) (08/29/86)

	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