Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

5.1.6.5 Classes and Categories of Data



All data used in a COBOL program can be divided into classes and categories.

Every group item belongs to the alphanumeric class, even if the subordinate elementary items belong to another class.

Every elementary item in a program belongs to one of the classes as well as to one of the categories. Table 11 shows the relationship among data classes and categories.

Every data item which is a function is an elementary item, and belongs to the category alphanumeric or numeric, and to the corresponding class; the category of each function is determined by the definition of the function.


 Table 11. Classes and Categories of Data                               
 Level of Item     Class              Category                          
 Elementary      
                 
                 
                 
RevisionX                  
                 
RevisionX                  
                 
                 
                 
                 
                 
                 
                 
RevisionX                  
 Alphabetic         Alphabetic                        
 Numeric          
                  
RevisionX                   
                  
RevisionX                   
 Numeric                           
RevisionX  Internal Floating-point           
RevisionX  External Floating-point           
 Alphanumeric     
                  
                  
                  
                  
                  
RevisionX                   
 Numeric-Edited                    
 Alphanumeric-Edited               
 Alphanumeric                      
RevisionX  DBCS                              
 Group           
                 
                 
                 
RevisionX                  
                 
RevisionX                  
                 
                 
                 
                 
                 
                 
                 
RevisionX                  
 Alphanumeric     
                  
                  
                  
RevisionX                   
                  
RevisionX                   
                  
                  
                  
                  
                  
                  
                  
RevisionX                   
 Alphabetic                        
 Numeric                           
RevisionX  Internal Floating-point           
RevisionX  External Floating-point           
 Numeric-Edited                    
 Alphanumeric-Edited               
 Alphanumeric                      
RevisionX  DBCS                              




Previous Topic Next Topic © Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.





Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS


Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.