|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
![]() |
|
|
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 |
| Sponsored Links | ||
|
|
|
|||
|
COBOL issue
Hi,
I would like to know whether it takes extra byte in UNIX for COMP-3 fields compared to Mainframe. Please advice. I have run same program in UNIX and Mainframe hardcoding the values. In UNIX the comp-3 position shifted by one position to the right. I could not figure out the cause. Please advice. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
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 09:23 AM |
| how to call to unix through cobol | naamas03 | Shell Programming and Scripting | 8 | 10-22-2006 08:08 AM |
| COBOL on linux?! | HSN | Gentoo | 1 | 09-24-2005 04:51 PM |
| Cobol On Unix | vinit_cyberguy | UNIX for Dummies Questions & Answers | 2 | 09-12-2005 10:09 AM |