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

Length function in ISPF Panel


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

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Thu Jun 24, 2010 1:14 pm
Reply with quote

Hi,
This is a panel of mine.
Code:
)ATTR                                                     
 _ TYPE(NEF) CAPS(ON)                                     
 £ TYPE(TEXT)   COLOR(BLUE)   INTENS(HIGH)               
 ¢ TYPE(TEXT)   COLOR(YELLOW) INTENS(HIGH)               
 + TYPE(TEXT)   COLOR(GREEN)  INTENS(HIGH)               
 # TYPE(TEXT)   COLOR(YELLOW) INTENS(HIGH) HILITE(REVERSE)
 @ TYPE(OUTPUT) COLOR(YELLOW) INTENS(HIGH) HILITE(USCORE)
)body window(47,22)                                       
£                                                               
+                                            +           
+  Programmer Name: _Pnam    +                           
+  EMP     Number : _Snam +                               
+                                             
¢               Press Enter to Proceed       
£                                            £
)init                                         
)proc                                                                           
)end

I want to validate the length of the input fields from the Panel and throw a message.
I figured &length function can be used. Could you guide how to use it?
Code:
&length(_Pnam)
?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jun 24, 2010 1:22 pm
Reply with quote

Once again, the manuals explain all.
However in what you appear to want - look at the VER statement.
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 Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
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
Search our Forums:

Back to Top