Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Data file mapping in Visual COBOL

$
0
0

We are migrating a native Windows application from Net Express 5.1.  In it we use several of the file handling call-by-name library routines and we've hit a snag with the first program that uses one, specifically CBL_CHECK_FILE_EXIST.  The scenario:

User environment variable dd_CNV defined with a value of C:\NEAS\Files\CNV.  The COBOL source code is "CALL "CBL_CHECK_FILE_EXIST" USING JOIN-BUFFER, FILE-DETAILS."  At the time of execution in both the Net Express 5.1 and Visual COBOL 2.2 IDEs the value JOIN-BUFFER is "CNV\WYP46D01.228     ", and a file WYP46D01.228 exists in C:\NEAS\Files\CNV.  Net Express 5.1 works, returning zero in RETURN-CODE.  Visual COBOL 2.2 gets a non-zero value in RETURN-CODE that translates to 9/13, RTS error/file not found.

Do the file handling call-by-name library routines NOT do file mapping in Visual COBOL like they do in Net Express?


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>