#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    262
    Rep Power
    0

    COBOL Data Declaration


    Hi all,

    Currently I am working on data migration project. I have to walkthrough one set of COBOL programming and unfortunately cannot figure out what is this data type all about.

    Code:
    10  LC0331B-AMT-OCC-CHG PIC 9(7).                                   
    ******************************************************               
    05 WLC0331B-AMT-OCC-CHG                PIC -9(9).99.
    What does it means by PIC -9(9).99?

    Appreciate your help. Thank you.
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,478
    Rep Power
    1875
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    262
    Rep Power
    0
    Originally Posted by salem
    So I guessed it is similar to S9(9)V99 I think.

IMN logo majestic logo threadwatch logo seochat tools logo