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

How to get an Underline in the ISPF Panel input field


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vsridhara

New User


Joined: 24 May 2006
Posts: 1

PostPosted: Wed May 24, 2006 8:43 am
Reply with quote

I work on ISPF Panels and REXX, How can I get an underline for an input field? This really has exhausted me in searching.
Thanks
Vijay S
Back to top
View user's profile Send private message
nuck

New User


Joined: 09 Dec 2005
Posts: 33

PostPosted: Wed May 24, 2006 5:29 pm
Reply with quote

in the ISPF Manual: icon_exclaim.gif

PAD(char|NULLS|USER)
Specifies the pad character for initializing the field. This is not valid for text fields. If PAD is omitted, the default is PAD(' ') for output fields.

char
Any character, including blank (' '), can be specified as the padding character. If the character is any of the following, it must be enclosed in single quotes:



blank < ( + ) ; ? , > : =


If the desired pad character is a single quote, use four single quotes: PAD('').

NULLS
Nulls are used for padding.

USER
Padding character is specified by a user through the ISPF Settings panel.



If the field is initialized to blanks or the corresponding dialog variable is blank, the entire field contains the pad character when the panel is first displayed. If the field is initialized with a value, the remaining field positions, if any, contain the pad character.

Padding and justification work together as follows. At initialization, unless you have specified ASIS, the field is justified and then padded. For left-justified and ASIS fields, the padding extends to the right. For right-justified fields, the padding extends to the left.

When ISPF processes an input field, it automatically deletes leading or trailing pad characters as follows:


For a left-justified field, ISPF deletes leading and trailing pad characters.

For a right-justified field, ISPF deletes leading pad characters and stores trailing pad characters.

For an ASIS field, ISPF deletes trailing pad characters and stores leading pad characters.
Regardless of the type of justification, ISPF deletes leading and trailing pad characters for command fields.



In no case does ISPF delete embedded pad characters. It deletes only leading or trailing pad characters.

PADC(char|NULLS|USER)
Specifies conditional padding with the specified pad character. The pad character is used as a field filler only if the value of the input or output field is initially blank. The pad character is not displayed in the remaining unfilled character positions if the field has an initial value. Instead, the unfilled positions contain nulls. Otherwise, ISPF treats the PADC keyword like the PAD keyword, including justification and deletion of pad characters before storing variables in the pool.

char
Any character, including blank (' '), can be specified as the padding character. If the character is any of the following, it must be enclosed in single quotes:



blank < ( + ) ; ? , > : =


If the desired pad character is a single quote, use four single quotes: PAD('''').

NULLS
Nulls are used for padding.

USER
Specifies that a user-defined character be used for padding. You define the character by using the ISPF Settings panel. PAD and PADC are incompatible. It is not valid to specify both PAD and PADC for the same attribute character.



If PADC is omitted, the default is PADC(USER) for input fields.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top