COBOL file dump...

From: MPF (abcd_at_senditon.com)
Date: 09/15/04


Date: Tue, 14 Sep 2004 19:34:19 -0500


<similar message posted in .Net Framework & .languages.vb>

In a file from a COBOL dump, which is in ASCII, one of the fields is defined
as S9(9) V99 Value +0.
The value in this location is 0000018922D, which according to the author of
the source, translates to 00000189224.

I've imported the data into a table and am able to substring (re: intrepret)
everything except for the decimal datatypes, as noted above. Is there a way
to do this via T-SQL?

Thanks,

Morgan



Relevant Pages

  • COBOL file dump...
    ... In a file from a COBOL dump, which is in ASCII, one of the fields is defined ... as S9V99 Value +0. ... the source, translates to 00000189224. ...
    (microsoft.public.dotnet.framework)
  • COBOL file dump...
    ... In a file from a COBOL dump, which is in ASCII, one of the fields is defined ... as S9V99 Value +0. ... the source, translates to 00000189224. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: COBOL file dump...
    ... > In a file from a COBOL dump, which is in ASCII, one of the fields is defined ... > the source, translates to 00000189224. ... rightmost character if the value was negative. ...
    (microsoft.public.dotnet.framework)
  • Re: COBOL file dump...
    ... > In a file from a COBOL dump, which is in ASCII, one of the fields is defined ... > the source, translates to 00000189224. ... rightmost character if the value was negative. ...
    (microsoft.public.dotnet.languages.vb)