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
 

 

ISPF panel to accept the underscore

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: ISPF panel to accept the underscore
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 13, 2008 12:44 pm    Post subject:
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    Post subject: ispf panel queries
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 13, 2008 6:00 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 13, 2008 6:21 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 13, 2008 6:34 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Mar 15, 2008 1:30 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm
No new posts Rexx Panel Validation ajithajt CLIST & REXX 6 Sun Jul 17, 2016 10:50 pm


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