IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts How to display the leading zeros of a... DB2 7
No new posts SDSF display Max-RC in different colors TSO/ISPF 4
No new posts Converting a file from PD to display ... SYNCSORT 4
No new posts Unable to display comp variable COBOL Programming 4
Search our Forums:

Back to Top