[ From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  8-AUG-1990 19:36:34.51  To:	MRGATE::"ARISIA::EVERHART" CC:	 Subj:	re: read/key=(binary)?  * Received:  by crdgw1.ge.com (5.57/GE 1.70)( 	 id AA04308; Wed, 8 Aug 90 11:31:19 EDTR Received: From UNIX.SRI.COM by CRVAX.SRI.COM with TCP; Wed,  8 AUG 90 06:06:29 PDT= Received: from yale!LRW.COM!lrw by unix.sri.com (4.1/SMI-4.0) ' 	id AA14938; Wed, 8 Aug 90 06:03:50 PDT - Received: by harvard.harvard.edu (5.54/a0.25) P 	(for sri-unix!KL.SRI.COM!INFO-VAX@husc6) id AA17470; Wed, 8 Aug 90 08:36:03 EDTS Received: from lrw.UUCP by BULLDOG.CS.YALE.EDU via UUCP; Wed, 8 Aug 90 07:31:22 EDT 4 Message-Id: <9008081131.AA20533@BULLDOG.CS.YALE.EDU>+ Received: by lrw.UUCP (DECUS UUCP w/Smail); %           Wed,  8 Aug 90 07:33:10 EDT ! Date: Wed,  8 Aug 90 07:33:10 EDT Q From: Jerry Leichter (LEICHTER-JERRY@CS.YALE.EDU) <yale!LRW.COM!leichter@harvard>  To: INFO-VAX@KL.sri.com  Subject: re: read/key=(binary)? ? X-Vms-Mail-To: IN%"pklammer@cudnvr.Denver.Colorado.EDU",INFOVAX   D 	Has anyone figured out a way to READ/KEY= a file from DCL on a non-A 	character key?  I'm thinking of the secondary /INDEX=1 of SYSUAF 	 	(UIC's).   M Suppose THE_KEY is a symbol containing the binary key.  (Such DCL features as K THE_KEY[a,b]=xxx and F$CVUI may be useful in creating and manipulating such  strings.)  Then read using:    	READ/KEY=&THE_KEY  J This SHOULD work.  I'm told that on some versions of VMS it doesn't alwaysN work, especially when one of the bytes of THE_KEY is 0.  But try it on current; versions and let me know what happens - I'm curious myself!    							-- Jerry   