Re: COMP-1, COMP-2 resoultion on UNIX (using microfocus)
by John Culleton <john@[EMAIL PROTECTED]
>
Jul 31, 2007 at 07:21 AM
On Thu, 21 Jun 2007 21:49:01 -0700, kimi wrote:
> HI ppl,
> i have migrated the data on mainframe to SOLARIS UNIX. COMP-1
> and COMP-2 is read as junk when the application is
> run on this data.
> But COMP and COMP-3 data are read fine.
>
> I have Microfocus Server Express 4.0 SP2 installed in my
> UNIX system.
> I believe This issue has something to do with the way the
> operaring system interprets it.
> Is there a way in which i can read this COMP-1 and COMP-2
> data successfully??
> Pls let me know..
> Thanks and regards,
> kimi
You should have seen this coming. Internal data formatting is platform
dependent. The easy way is to go back to the mainframe and write a little
file conversion program that puts all the comp-1 and comp-2 fields in
display format. Then at the other end you can manipulate the data fields
to get them back into some sort of comp-x format.
The hard way is to dip into assembly or perhaps C and do the same task on
the new platform.
What is the nature of the comp-1 and comp-2 fields? Are you doing some
sort of statistical manipulation in COBOL? I heard Grace Hopper herself
say that one should not use COBOL for a FORTRAN task and vice versa.
--
John Culleton