![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rm-cobol 85 | jgt | UNIX and Linux Applications | 0 | 03-18-2008 12:31 PM |
| Cobol File Status 41 & 42 | WS-NFG | UNIX for Dummies Questions & Answers | 2 | 10-12-2007 08:23 AM |
| how to call to unix through cobol | naamas03 | Shell Programming and Scripting | 8 | 10-22-2006 07:08 AM |
| COBOL on linux?! | HSN | Gentoo | 1 | 09-24-2005 03:51 PM |
| Cobol On Unix | vinit_cyberguy | UNIX for Dummies Questions & Answers | 2 | 09-12-2005 09:09 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
COBOL issue
Hi,
I am working on a Mainframe to UNIX replatforming project. we are facing problems with COBOL COMP-3 fields. We are using the Mainframe emulator software to download the data which has COMP-3 fields and using it as input to the same COBOL programs which were copied from Mainframe and did the required changes to make it compatible to UNIX environment. when we tried to read the data, the COMP-3 fields are taking extra bytes data from other fields. For example, FIELD1 of COMP-3 type takes 4 bytes in Mainframe FIELD2 of COMP-3 type takes 5 bytes in Mainframe But when used in UNIX, FIELD1 data has shown as 2 bytes in pysical file and since it occupies 4 bytes rest of the 2 bytes it is conceiving from the rest of the record. so obviously next field FIELD2 will have lost first two bytes of its data and hence it takes 5 bytes from the rest of the record. Please suggest how to overcome this problem. Thanks, JP |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|