Print

01240: Error 12 TCB(10)=13 attempting to open file via PRO/5 Data Server

Title:

Error 12 TCB(10)=13 attempting to open file via PRO/5 Data Server

Description:

Error 12 TCB(10)=13 attempting to open files via the PRO/5 Data Server under some Windows clients when relying on the prefix to find the path information. Opening the file with a fully qualified data server path works. This behavior may occur on older Windows clients. Behavior does not occur on more current Windows workstations in the same network. 

Verify the following at the VPRO/5 prompt on the erroring workstations: 
setopts $00000020$ 
open(1)”/<server,port=1100>c:\path\filename” 
Print fid(1) 

No error is returned, and it shows the correct PRO/5 Data Server in the FID information. As an example: /<server,port=1100>c:\path\filename”

If this test fails, there still may be connectivity issues on the network. See Troubleshooting PRO/5 Data Server TCP/IP Connections

However, setting the PRO/5 Data Server in the prefix and relying on the prefix paths in the PRO/5 Data Server config files fails. 

Client prefix in config.bbx: 

prefix /<server,port=1100> 

Data Server prefix in the data server config.bbx: 

prefix /basis/vpro5/ /basis/data/ 

>Open(1)”filename” 
Error 12 TCB(10)=13 

Resolution:

Configure Windows to use the standard vpro5.exe binary located in the <vpro5/standard/ directory. This can be done by modifying the shortcut that launches the VPRO/5 application to point to this binary. 

Table of Contents
Scroll to Top