Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Any one explain what the DISPLAY will do in PL/I

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
spriya

New User


Joined: 06 Oct 2005
Posts: 42

PostPosted: Thu Jul 13, 2006 11:22 am    Post subject: Any one explain what the DISPLAY will do in PL/I
Reply with quote

hi

Any one explain what the DISPLAY will do in PL/I

ex

Call display('error time-'|etime);


here display is proc name or syntax pls explain the example i give
Back to top
View user's profile Send private message

ch.rajashekar1

New User


Joined: 05 Dec 2005
Posts: 4
Location: B'lore

PostPosted: Fri Jul 14, 2006 5:28 pm    Post subject: Any one explain what the DISPLAY will do in PL/I
Reply with quote

The DISPLAY statement displays a message on the user's screen and optionally requests the user to enter a response to the message.


________________________________________________________________________
| |
| >>__DISPLAY__(expression)__ ___________________ __;_________________>< |
| |_REPLY__(char-ref)_| |
| |
|________________________________________________________________________|



expression Is converted, where necessary, to a character string. This character string is displayed. It can contain mixed character data. If the expression has the GRAPHIC attribute, it is not converted.

REPLY (char-ref) Specifies a character reference that receives the user entered response. The response can contain CHARACTER, GRAPHIC, or mixed data.


The REPLY option suspends program execution until the user enters a response.
If GRAPHIC data is entered in the REPLY, it is received as character data that contains mixed data. Such character data can be converted to GRAPHIC data using the GRAPHIC BUILTIN.


Cheers,
Raja Shekar ch
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us