View previous topic :: View next topic
|
Author |
Message |
sheepingux
New User
Joined: 21 Oct 2006 Posts: 4 Location: argentina
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Try INITIAL=X'7D'. That should work.... |
|
Back to top |
|
|
Jose Mateo
Active User
Joined: 29 Oct 2010 Posts: 121 Location: Puerto Rico
|
|
|
|
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 |
|
|
Peter cobolskolan
Active User
Joined: 06 Feb 2012 Posts: 104 Location: Sweden
|
|
|
|
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 |
|
|
sheepingux
New User
Joined: 21 Oct 2006 Posts: 4 Location: argentina
|
|
|
|
Thanks for your answers. XINIT='7D' has worked!!! |
|
Back to top |
|
|
|