Cobol Program with Table (like Array)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
385 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 28, 2010

This Open Cobol program reads a set of numbers into a table (like array), then prints them out in reverse. Thanks for watching

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • @TeamHazzelhoff - IDENTIFICATION DIVISION........(don't have space to display all the code) WORKING-STORAGE SECTION. 01 sales PIC S999V99 . 01 rate PIC S999V99 VALUE 0.1 . 01 threshold PIC S999V99 VALUE 200.0 . 01 base PIC S999V99 VALUE 30.0 . 01 com PIC S999V99.

    IF sales (LT character) threshold THEN

    MULTIPLY rate BY sales GIVING merit ADD merit TO base GIVING com DISPLAY "Commission is ", com

    ELSE DISPLAY "extra bonus"

    END-IF

  • how will you calculate the commission in cobol for eg

    less that $ 200 formula for commission$ 30 plus 5 3/4of sales

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more