HOME  NEWS  FORUM  DOWNLOAD  LINK
OpenCOBOL - an open-source COBOL compiler
Main Menu
Download
Documentation
Development
Who's Online
25 user(s) are online (5 user(s) are browsing Forum)

Members: 0
Guests: 25

more...
Powered by
SourceForge

Xoops

Creative Commons

OpenCOBOL Forum Index
   OpenCOBOL
     Reading COMP-3 from z/os
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
JurgyMan
Posted on: 2009/6/18 21:06
Just popping in
Joined: 2009/6/18
From:
Posts: 3
Reading COMP-3 from z/os
Trying to read in a monster sized file created on z/os.
Using its copybook with opencobol 1.1 on SUN10 (sparc)....

the COMP-3 fields are not being groked by opencobol...

Had a MF buddy create me a file thats pic 9(15) COMP-3 with the value: 000001234567890

od in hex shows it as this:
0000 0183 a4b7 690f

but it is non-sensical to opencobol...

wrote an OC program to write pic 9(15) comp-3. writing the same value and it looks ok in hex:
0000 0123 4567 890f

So did my NDM mess datafile up, or do I have ebcdic or endian issues?

thx for your help.
JurgyMan
Flat Previous Topic | Next Topic

Subject Poster Date
 » Reading COMP-3 from z/os JurgyMan 2009/6/18 21:06
     Re: Reading COMP-3 from z/os Gandalf80 2009/6/19 7:16
       Re: Reading COMP-3 from z/os JurgyMan 2009/6/19 17:35
         Re: Reading COMP-3 from z/os Gandalf80 2009/6/22 6:02
           Re: Reading COMP-3 from z/os JurgyMan 2009/6/23 18:35
             Re: Reading COMP-3 from z/os wmklein 2009/6/24 19:33
               Re: Reading COMP-3 from z/os Bruce 2009/6/25 6:41

Register To Post
 
Copyright (C) 2005 The OpenCOBOL Project. All rights reserved.
Powered by Xoops2 | PHP | MySQL | Apache
ocean-net