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

ISPF panel to accept the underscore


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Mar 13, 2008 11:44 am
Reply with quote

In Ispf panel i want the field to accept alpha(a-z,@, #, $),num(0 to 9) and under score(_).For alpha and num i used "ver(include,alpa,num)", but i dont know how to include the underscore.can u please help me
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 13, 2008 12:44 pm
Reply with quote

Is the underscore used as a default character ?

If so take a look at the default definition of your panel.
)ATTR DEFAULT(%+_)
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Mar 13, 2008 1:16 pm
Reply with quote

The underscore is not a default character.
for example i want to enter name_1.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 13, 2008 6:00 pm
Reply with quote

Quote:
The underscore is not a default character.

I think that unless you define which charachters are default, then the underscore will be accepted as a default character.

I know this because I have tested it.
I can get my panel to accept underscore as input.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 13, 2008 6:21 pm
Reply with quote

In fact I have just tested something else, and my panel will accept the underscore without any changes ................ so how about you post your panel definition.

But first test it after removing the verify statement.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 13, 2008 6:34 pm
Reply with quote

And from the fine manual, the definition of ALPHA
Quote:

ALPHA The variable must contain only lowercase or uppercase alphabetic characters (A-Z, a-z, #, $, or @). Blanks are not allowed.
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Sat Mar 15, 2008 12:29 pm
Reply with quote

Is there any option of using underscore along with alpha,num in the verify statement
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Mar 15, 2008 1:30 pm
Reply with quote

What do you think ?
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Sat Mar 15, 2008 2:55 pm
Reply with quote

ok sorry.. i got it. i controlled through the program itself
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
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 Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Call program, directly from panel CLIST & REXX 9
Search our Forums:

Back to Top