Posted by Carl Haaser on January 07, 2014 at 12:17:15:
I am getting an error 11 on a createkey function. Here is the code I am using:
FILNAM$ = 'CBSEL'+SECINIT$
1003 CREATE FILNAM$,125,K,10,0,DIR=TDIR$
CREATEKEY FILNAM$,'LOT',6,119,DIR=TDIR$ ! CREATE KEY FOR LOT
OPEN (SEL) FILNAM$
OPEN (LOT) FILNAM$, KEY='LOT'
The file CBSELXXX does create but without the extended key so I know it is erroring off at that point. The filed is the last 6 characters of the file. could that be a problem?
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.