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

Quote on screen


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sheepingux

New User


Joined: 21 Oct 2006
Posts: 4
Location: argentina

PostPosted: Fri Sep 28, 2012 6:56 pm
Reply with quote

Hi,

I've created a screen and i need to show a message with a quote as follow:

DRIVER'S LICENSE

I've tried with INITIAL=''', INITIAL=QUOTE, INITIAL="'".... but doesn't work, could someone say me how to do it? Thanks a lot!!!
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Sep 28, 2012 7:03 pm
Reply with quote

Try INITIAL=X'7D'. That should work....
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 121
Location: Puerto Rico

PostPosted: Fri Sep 28, 2012 7:30 pm
Reply with quote

Good day (Buenos dia) to all!

Do you mean INITIAL='DRIVER''S LICENSE' or the field that will actually hold the driver license data?
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Fri Sep 28, 2012 11:33 pm
Reply with quote

This was found from the APRM:
Quote:
INITIAL (or XINIT)
specifies constant or default data for an output field. INITIAL is used to specify data in character form; XINIT is used to specify data in hexadecimal form.
For fields with the DET attribute, initial data that begins with one of the following characters:

? > & blank

should be supplied.

The number of characters that can be specified in the INITIAL operand is restricted to the continuation limitation of the assembler to be used or to the value specified in the LENGTH operand (whichever is the smaller).

Hexadecimal data is written as an even number of hexadecimal digits, for example, XINIT=C1C2. If the number of valid characters is smaller than the field length, the data is padded on the right with blanks. For example, if LENGTH=3, XINIT=C1C2 results in an initial field of 'AB'.

If hexadecimal data is specified that corresponds with line or format control characters, the results are unpredictable. The XINIT operand should therefore be used with care. Only one of GINIT, INITIAL, or XINIT may be specified.

Why didnĀ“t you have a look?
Back to top
View user's profile Send private message
sheepingux

New User


Joined: 21 Oct 2006
Posts: 4
Location: argentina

PostPosted: Sat Sep 29, 2012 1:20 am
Reply with quote

Thanks for your answers. XINIT='7D' has worked!!!
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Data for newly added fields not displ... IMS DB/DC 6
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
No new posts Am Getting a vertical line in ISPF SC... TSO/ISPF 3
No new posts Naming a newly opened screen using REXX CLIST & REXX 2
No new posts How to launch a webpage from CICS scr... CICS 2
Search our Forums:

Back to Top