ACCEPT and DISPLAY
To enter data via the console during a program run, use
the ACCEPT verb, e.g:
A D V E R T I S E M E N T
ACCEPT W-DATA-IN
To display data on the console during a run use the
DISPLAY verb, i.e:
DISPLAY W-DATA-OUT
To place text with the outputed data you would code:
DISPLAY 'Inputed data is ' W-DATA-OUT
|
Be the first one to comment on this page.
Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
Keywords:
Cobol Basics, cobol programming language, cobol language programming tutorial pdf, history of cobol programming, basic cobol programming, syntax use in cobol programming, cobol programming software download, cobol programming code, learn cobol programming, cobol performs syntax, cobol 2008
|