Absent Member.
Absent Member.
745 views

signed number in rm and mf

Jump to solution

I have a microfocus cobol program that is reading an rm file. One of the "columns" is a S9V9999 field. if the rm world I would copy it to a pic 99.9999 and the value is readable. 

The value 0050{ gets converted to 0.0500 in rm and 0.0511 in microfocus.

Any one dealing with a similar issue. I'm looking at how rm encodes signed numbers and will continue to post on this.

0 Likes
2 Solutions

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

Try turning on the directive SIGN"EBCDIC"

View solution in original post

0 Likes
Absent Member.
Absent Member.

This works as intended. Thank you

View solution in original post

0 Likes
2 Replies
Micro Focus Expert
Micro Focus Expert

Try turning on the directive SIGN"EBCDIC"

View solution in original post

0 Likes
Absent Member.
Absent Member.

This works as intended. Thank you

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.