Top "Comp-3" questions

A convention for storing numerals, one per half-byte, with the final half-byte being an indicator of the sign.

Interpreting COMP-3 Packed Decimal Fields into numeric values

I am creating an SSIS package to read in unpacked data from a series of copybook files. I am unsure …

ssis cobol comp-3
C#: Convert COMP-3 Packed Decimal to Human-Readable Value

I have a series of ASCII flat files coming in from a mainframe to be processed by a C# application. …

c# .net ibm-midrange flat-file comp-3
Unpacking EBCDIC Packed Decimals (COMP-3) in an ASCII Conversion

I am using Jon Skeet's EBCDIC implementation in .NET to read a VSAM file downloaded in binary mode with FTP …

c# .net ascii ebcdic comp-3
In COBOL, how to convert sign comp-3 value to a readable format along with sign

I have come across a situation where the value coming in from record is in below format 01 WS-PREMIUM PIC S9(05)…

file cobol comp-3
Converting comp-3 back to a human readable format

I have the information, that a PIC S9(4) field is encoded with comp-3. I also have a data file which …

c# cobol comp-3