Marvin, That did the trick, issue with the filename extract was causing mayhem
Jeff -----Original Message----- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Marvin R. Fisher Sent: Friday, 19 December 2008 11:51 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Unidata 6.1 Opening a File Dictionary issue Don't know why that would error as assigning a file name to a variable is often used, however your error message in line 35 should end with D.KEY as D.FILE is a file handle. Marvin R. Fisher Technical Resource Group A Pipeline Group Company 2850 Red Hill Ave. Suite 110 Santa Ana, CA 92705 Tel (949) 296-8380 ext. 620 Fax (949) 756-0029 Pipeline Software Statement: This email message is confidential and may be legally privileged. The contents contained within, including any attached files, are intended solely for the addressee(s). Access by anyone other than the addressee(s) is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action, taken or not taken, in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email message in error, please contact the sender. Any views expressed within are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Pipeline-Software, Inc., Santa Ana, CA. (The contents of this email message have been scanned for the presence of computer viruses.) -----Original Message----- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Jeff Ritchie Sent: Thursday, December 18, 2008 4:05 PM To: u2-users@listserver.u2ug.org Subject: [U2] Unidata 6.1 Opening a File Dictionary issue Hi all, Have some weirdness at the edge of town going down here <code> 0032 D.KEY = "BANKS" 0033 * 0034 OPEN 'DICT', D.KEY TO D.FILE ELSE 0035 PRINT "UNABLE TO OPEN DICTIONARY ":D.FILE 0036 STOP 0037 END </code> Am receiving an unassigned error on line 34 with a subsequent read failure. If I replace D.KEY with "BANKS" it works fine. This is part of a utility that is meant to loop through every file on the system checking dictionaries. Cheers, thanks in advance, and hope the xmas period is hectic Jeff ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/