Search found 2 matches

by Johny Garg
Tue Aug 01, 2017 6:24 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Weired COBOL output.
Replies: 1
Views: 499

Weired COBOL output.

Hi,

Please see this:

Code: Select all

01 WS-COUNTER.
           05 WS-A PIC S9(9) COMP-3.
           05 WS-B PIC 9(9).99.
PROCEDURE DIVISION.
    MOVE 0.4012 TO WS-A.
    MOVE WS-A TO WS-B.
    DISPLAY "A to B: " WS-B.

Code: Select all

output is 0000000000.00
Should not the output be 0000000000.40?
by Johny Garg
Mon Jun 08, 2015 6:21 pm
Forum: Other Databases on zOS.
Topic: COBOL to FOCUS Translator help?
Replies: 1
Views: 1273

COBOL to FOCUS Translator help?

Hi, I am very ne to FOCUS but understand the mainframe. In a project we need to convert from COBOL to FOCUS. I've seen references to a utility that will convert a COBOL copybook to a FOCUS Master but then that's all I find. There are references to its existence but never able to find the details abo...

Go to advanced search