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

RE: Error 9/057

$
0
0

Hello Enrique:

Here is a link into the documentation:

documentation.microfocus.com/.../BKCGCGRMSCS003.html

It says (in part):

... If your program is set to return RM/COBOL file status codes ... the extended file status reported may initially seem incorrect ... the second byte of the reported error code needs to be converted from binary to ASCII. For example, if an error of 9/051 is reported, convert 051 to its ASCII character equivalent, which is 3 (0x33 in hexadecimal); therefore, the true RM/COBOL file status is actually 93.

To figure out 9/057, consult the ASCII chart here:

http://www.ascii-code.com/

Binary 57 (hex 39) is equivalent to the ASCII character "9".  So the actual status is 9/9, which in RM means "Record is locked".  This file status is equivalent to a Micro Focus file status 9/068.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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