CST8283_Week 2_Accept Display (Session 4A).ppt

CST8283_Week 2_Accept Display (Session 4A).ppt - CST8283...

Info icon This preview shows pages 1–8. Sign up to view the full content.

Week 2 Interactive Input and Output: Accept and Display CST8283 BUSINESS PROGRAMMING
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Session 4A - Objectives Participant should be able to : code the PROCEDURE DIVISION statements required to handle interactive input and output Display values on the monitor Accept values from the keyboard Use the DISPLAY and ACCEPT commands (opcodes)
Image of page 2
Session 4A References Session slides COBOL Micro to Mainframe pages 206-207, 63,
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Executable code - PROCEDURE DIVISION PROCEDURE DIVISION – contains executable code data manipulation arithmetic operations decisions input and output
Image of page 4
PROCEDURE DIVISION IDENTIFICATION DIVISION ENVIRONMENT DIVISION DATA DIVISION PROCEDURE DIVISION
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

PROCEDURE DIVISION Division Header PROCEDURE DIVISION. ( followed by the executable code )
Image of page 6
Interactive Input -- ACCEPT ACCEPT allows data to be entered at the keyboard -- default execution. no external file involved no INPUT-OUTPUT Section (Environment Division) execution waits for data to be entered.
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 8
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '17
  • Madrid Metro, Input/output, ENVIRONMENT DIVISION

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern