Value of RETURN-CODE for CBL_CHECK_FILE_EXIST changed between NetExpress 5.1 and Visual Cobol 4.0


       01  status-code              pic 9(04) comp.

           call "CBL_CHECK_FILE_EXIST" using file-name-1
                                   returning status-code


Value if file is not found:

In NetExpress x"0d39" or 9/013.

Now in Visual Cobol x"11fd".

Is there any help or guidance - why this happens - and to deal with it?

I use also other "cbl_..._file" programs and I am migrating my application on Windows 7 x64. The application itself is 32bit.


Parents Reply Children
No Data