| LANGUE | TYPE DOCUMENT | NB URL |
| ENGLISH | ||
| DOC | 3 | |
| HTML | 48 | |
| 1 | ||
| PPT | 1 |
www.ux1.eiu.edu |
Example 2 |
||||||
Data Compression (Print Dump) |
|||||||
PackingProgram.doc Data Compression (Program) |
cobol-interview-questions.blogspot.com |
How do you define a variable of COMP-1 COMP-2 |
||||||
How is sign stored in a comp-3 field |
|||||||
How is sign stored in a COMP field |
|||||||
How is sign stored in Packed Decimal fields and Zo... |
|||||||
How many bytes does a S9(7) SIGN TRAILING SEPARATE... |
|||||||
How many bytes will a S9(8) COMP field occupy |
|||||||
What is COMP-1 COMP-2 |
|||||||
What is the difference between COMP & |
|||||||
What is the maximum value that can be stored in S9... |
|||||||
condor.depaul.edu |
Lecture 07 COBOL Lecture 7 |
||||||
cs.middlesexcc.edu |
Packed Decimal Arithmetic |
||||||
Sample Program: Using Packed Decimal |
|||||||
Packed Decimal |
|||||||
csc.colstate.edu |
Packed Decimal Data |
||||||
Packed Decimal Arithmetic |
|||||||
georgenet.net |
Packed Decimal - Zoned... Packed Decimal - Zoned Format - Cobol Comp-3 - Room 42 Computers & |
||||||
packed_decimal.htm Packed Decimal - Zoned Format - Cobol Comp-3 - Room 42 Computers & |
|||||||
ibmmainframes.com |
IBM MAINFRAME FREE BOOKS REFERENCES ISPF TSO DFSORT |
||||||
COBOL USAGE CLAUSES |
|||||||
About comp-4, comp-5, comp-6 |
|||||||
muraliwebworld.com |
Mainframe |
||||||
www.3480-3590-data-conversion.com |
Data conversion services: IBM 3480 3490 3590 cartridge tape file transfers, media and data conversions, ebcdic ascii translation |
||||||
COBOL Computational Fields: comp, comp-3, packed decimal, binary - A Disc Interchange technical article COBOL Computational Fields |
|||||||
COBOL Comp-3 (Computational-3) Packed Fields: What they are. - A Disc Interchange technical article |
|||||||
Numeric Fields |
|||||||
Data conversion services: IBM 3480 3490 3590 cartridge tape file transfers, media and data conversions, ebcdic ascii translation |
|||||||
Data conversion services: IBM 3480 3490 3590 cartridge tape file transfers, media and data conversions, ebcdic ascii translation |
|||||||
www.cobug.com |
COBOL Comp, Binary, COBOL Comp-3, Data Types : COBOL User Groups |
||||||
www.cs.niu.edu |
Packed Decimal Instructions |
||||||
COBOL numeric formats |
|||||||
www.csis.ul.ie |
The USAGE clause |
||||||
www.discinterchange.com |
Mainframe Data (Field) Types |
||||||
TechTalk_Packed_fields_.html |
|||||||
www.emunix.emich.edu |
Converting RM/COBOL Data Types |
||||||
www.esnips.com |
COBOL USAGE CLAUSES.docx |
||||||
PIC CONVERSION document.doc |
|||||||
www.felgall.com |
Numeric Formats |
||||||
Number Formats |
|||||||
www.scribd.com |
Comp-3 To Comp - Decimal Conversions |
||||||
How to MOVE an Alphanumeric Field |
|||||||
PIC CONVERSION document |
|||||||
www.simotime.com |
Binary or COMP Format, Description and Discussion Binary |
||||||
Edited Numeric |
|||||||
Packed-Decimal Format, Description and Discussion |
|||||||
Zoned Decimal |
|||||||
Commonly Used Numeric Formats (COBOL) |
|||||||
number01 |
|||||||
spsnum01 |
www.angelfire.com |
combitext.pdf |
csc.colstate.edu |
http://csc.colstate.edu/woolbright/cobol2.ppt cobol2.ppt Cobol II Cobol 2 |
| MOTCLE | ABBREVIATION | DESCRIPTION |
| BINARY | A numeric encoding scheme used on a mainframe. The mainframe is a half-word, full-word and double-word centric system. Binary fields are 2, 4 or 8 bytes. For example, the number 10 would normally be stored in memory as x'F1F0'. If the number 10 is defined as BINARY (or COMP for COMPUTATIONAL) it will be stored in memory as x'000A' or 0000 0000 0000 1010. Refer to COMP> in this glossary or http://www.simotime.com/databn01.htm> for more information | |
| COMP | (or Computational) Computers perform arithmetic computations most efficiently using native binary numbers. Also, it is usually more efficient to store numeric values in their native binary format rather than to store them in human readable base ten format. If the number is stored in its native binary format it can be input from a file and used directly. If it is stored in a base ten format it will need to be converted to a binary format before performing arithmetic computations. It will then be necessary to convert it back to base ten for storage to a file(most COBOL compilers will generate the code to do this conversion based on the field definitions so it is not necessary for the programmer to explicitly write code to do format conversion) | |
| COMP-3 | This is also referred to as PACKED-DECIMAL or COMPUTATIONAL-3. A numeric encoding scheme used on a mainframe where each byte contains two digits with the exception of the sign byte that contains one digit and the sign. Refer to PACKED> in this glossary or http://www.simotime.com/datapk01.htm> for more information | |
| Computational | COMP | Computers perform arithmetic computations most efficiently using native binary numbers. Also, it is usually more efficient to store numeric values in their native binary format rather than to store them in human readable base ten format. If the number is stored in its native binary format it can be input from a file and used directly. If it is stored in a base ten format it will need to be converted to a binary format before performing arithmetic computations. It will then be necessary to convert it back to base ten for storage to a file(most COBOL compilers will generate the code to do this conversion based on the field definitions so it is not necessary for the programmer to explicitly write code to do format conversion).?> Refer to BINARY> in this glossary or http://www.simotime.com/databn01.htm> for more information |
| data mapping | The process of changing characters from one form of representation to another, such as from zoned decimal to packed decimal | |
| fixed-point format | (1) The external representation of a decimal value, that shows an optional sign followed by one or more digits, a decimal point, and zero or more digits (2) The internal storage format that represents a fixed-point value that can be stored either in zoned or packed decimal format | |
| internal decimal item | See packed decimal format | |
| PACKED | This is also referred to as PACKED-DECIMAL or COMPUTATIONAL-3 or COMP-3. A numeric encoding scheme used on a mainframe. For example, an unsigned number of 12345 would be stored in memory on the mainframe system as x'F1F2F3F4F5' (EBCDIC-encoded, zoned-decimal format).?If the same number was defined as PACKED (or COMP-3) it would be stored in memory as x'12345F'. In this example the packing of the number reduces the size from five (5) bytes to three (3) bytes. The low-order nibble of the low-order byte is used as the sign. If an arithmetic operation is attempted on a field defined as COMP-3 and the field contains non-numeric characters then a data exception error (S0C7) will ABEND the attempt. Refer to COMP-3> in this glossary or http://www.simotime.com/datapk01.htm> for more information | |
| packed decimal format | Representation of a decimal value in which each byte within a field represents two numeric digits except the far right byte, which contains one digit in bits 0 through 3 and the sign in bits 4 through 7. For all other bytes, bits 0 through 3 represent one digit bits 4 through 7 represent one digit. See also zoned decimal format | |
| packed decimal item | In COBOL, a numeric data item that is represented internally in packed decimal format | |
| packed field | A field that contains data in the packed decimal format | |
| packed key | A key field in packed decimal format | |
| S0C7 | An S0C7 is commonly referred to as a Sock-Seven error. This is a mainframe term used when a program check interrupt is caused by a non-numeric value in a numeric field that is defined as packed-decimal (i.e. USAGE IS COMP-3 for COBOL) or zoned-decimal (i.e. USAGE IS DISPLAY for COBOL). For the Micro Focus environment this would be error message 163 (non-numeric value in a numeric field) | |
| unpacked decimal format | See zoned decimal format | |
| Zone Decimal | This is a type of numeric field that is used on an IBM Mainframe and with Micro Focus COBOL. For additional information refer to http://www.simotime.com/datazd01.htm> for more information | |
| zoned decimal format | A format for representing numbers in which the digit is contained in bits 4 through 7 and the sign is contained in bits 0 through 3 of the least significant byte bits 0 through 3 of all other bytes contain 1's (hex F). For example, in zoned decimal format, the decimal value of +123 is represented as 1111 0001 1111 0010 1111 0011. See also packed decimal format |