Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT: Cobol Copybook format

Re: OT: Cobol Copybook format

From: <tday6_at_csc.com>
Date: Mon, 27 Aug 2001 07:45:19 -0700
Message-ID: <F001.00378361.20010827075208@fatcity.com>

LOL I haven't done COBOL programming since 1978 but if I remember correctly:

In the file definition section.
01 or 02 would correspond to a table;
The stuff indented below it (10's I think) would correspond to columns. PIC(99.99) means a numeric field with two positions to the right of the decimal point, max value 99.99. PIC(09.99) is similar except that it would supress leading 0's.
PIC(XXXXX) is alpha-numeric.
FILLER means a position in the record that does not contain meaningful data.
Look out for redefinitions. It means that the definition following occupies the same space in the data record as that which it redefines.

It's been too long since I've done that but I hope that it helps.

                                                                                       
        
                    "Koivu, Lisa"                                                      
        
                    <lisa.koivu_at_efair        To:     Multiple recipients of list 
ORACLE-L      
                    field.com>               <ORACLE-L_at_fatcity.com>                    
        
                    Sent by:                 cc:                                       
        
                    root_at_fatcity.com         Subject:     OT: Cobol Copybook format    
        
                                                                                       
        
                                                                                       
        
                    08/27/2001 11:15                                                   
        
                    AM                                                                 
        
                    Please respond to                                                  
        
                    ORACLE-L                                                           
        
                                                                                       
        
                                                                                       
        






Good morning everyone,

I have this messy document that is known as a copybook.  I've been searching the web to help me understand what the appropriate way to translate this into a table is.  If anyone has a link they are willing to share, or is willing to answer questions (like what the heck is FILLER?) please email me directly.

Thank you!

Lisa Koivu
Oracle Database Administrator
954-935-4117

The information in the electronic mail message is Cendant confidential and may be legally privileged, it is intended solely for the addressee(s) access to this internet electronic mail message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.

The sender believes that this E-mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action about viruses and other defects. Cendant Corporation or Affiliates are not liable for any loss or damage arising in any way from this message or its attachments.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: tday6_at_csc.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Aug 27 2001 - 09:45:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US