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 |
|---|---|---|
| » |
JurgyMan | 2009/6/18 21:06 |
| |
Gandalf80 | 2009/6/19 7:16 |
| |
JurgyMan | 2009/6/19 17:35 |
| |
Gandalf80 | 2009/6/22 6:02 |
| |
JurgyMan | 2009/6/23 18:35 |
| |
wmklein | 2009/6/24 19:33 |
| |
Bruce | 2009/6/25 6:41 |
| Register To Post | |






