Jeff,
?????? Depending on the version, that might be a Column Names issue.
Did you create VI job by copying and modifying another (earlier version) job?
Code says:
0027 READ (cFH,KEY=cJobName$,ERR=ERR_TRAP) ! VI_JobHeader info
0029 LET retVal=_OBJ'GetTableInfo(TableName$,LnTable$,keyCols$,busObj$,UDT$,LLnTable$,OHTable$,OLnTable$,OIHTable$,OILnTable$,OCTable$,PYTable$)
.....
1571 SELECT tbl$,col$ FROM cAVMCH BEGIN $$ WHERE UCS(tbl$)=UCS(priTbl$) AND POS(UCS(K$[cix])=UCS(col$))
(cAVMCH is a memory file with a list of available tables)
------Original Message------
The manual says the following....
File access mode invalid
Possible Reasons: • Cannot send output to serial file unless first locked.
• Cannot receive input from an output
-only device (e.g. a printer).
• Cannot send output to an input only device.
• Cannot write given output to file without a
KEY= option or not before extracting a record.
• Cannot write to a non-externally keyed file using a
KEY= option.
• Cannot drop the only active window on a terminal.
• OS returned an access mode violation or a permission denied status on an
OPEN INPUT or
OPEN PURGE directive for a file.
• Attempt to apply/remove a password when the file is in read-only mode, not locked, or not empty.
So, with that said, can you open the table with DFDM, even if it is empty? How complex is the VI script? Can you recreate it under another name easily?
------------------------------
Randy Marion
------------------------------