Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. IonVlad

    Perform Operations with COMP variables

    You are moving a text field to the comp value, which won't work out well. Any group field is considered a text value. So effectively, you are moving a PIC X(8) to the S9(08) comp field. Try redefining the group field to be a 9(8)" This works!! Thank you everyone for your help!
  2. IonVlad

    Perform Operations with COMP variables

    Here's the code sample: 05 PARM-DATE-YEAR PIC 9(04) VALUE 1995. 05 CONV-NON-APPL-ISSUE-DATE PIC S9(08) COMP VALUE 20010304. 05 CONV-REF-NON-APPL-ISSUE-DATE. 10 CONV-NON-APPL-ISSUE-YR PIC 9(04). 10...
  3. IonVlad

    Perform Operations with COMP variables

    Hello, I am trying to perform arithmetical calculations on a COMP variable and, so far, have been unsuccessful. I have also tried to perform the required calculations on a normal variable and then MOVE the result to a COMP variable, again, without success. Could somebody tell me if this is...

Part and Inventory Search

Back
Top