Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts saving your settings in ISPF. VintageReceiver TSO/ISPF 9 Wed Jul 26, 2017 6:42 pm
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us