Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to get an Underline in the ISPF Panel input field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to get an Underline in the ISPF Panel input field
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts SCLM -- not installed -- panel ISRNOSLM dmitchell1105 IBM Tools 3 Fri Jun 09, 2017 10:41 pm
No new posts Need input in Scheduling Benchwarmer CA Products 5 Tue Jun 06, 2017 1:44 am
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us