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
 

 

Display long message without pressing HELP key on panels

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Deepakgoyal2005

New User


Joined: 22 Mar 2007
Posts: 57
Location: India

PostPosted: Mon Jan 05, 2009 8:55 pm    Post subject: Display long message without pressing HELP key on panels
Reply with quote

Hi,

In a PANEL i have coded PROC as -
Code:
)PROC                                                           
  .ZVARS = '(PTKT POCC PSYS PRDT PSTS PREV PASS PETC PPRT PDES)'
  &TPFKEY = .PFKEY                                             
  IF  (VER(&PSYS,LIST,CS,RS,*))                                 
  ELSE                                                                                 
      .MSG = MSG001                                             
  EXIT                                                         
)END                                                           


to verify the value of variable "PSYS" to be CS/RS/*

Message library has member MSG00 coded as -
Code:
MSG001  'INVALID VALUE' .ALARM=YES                                     
'ENTER VALUE AS CS/RS/*'                                               


The short message is displayed for any invalid value in field "PSYS" and long message is displayed on pressing the F1 function key.

I want the long message to be displayed on screen when an invalid value is entered without pressing any funtion key as the short message is displayed.
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Mon Jan 05, 2009 10:06 pm    Post subject: Reply to: Display long message without pressing HELP key on
Reply with quote

1. Use the GETMSG service to get the message text into a variable.

2. Add the variable name to your panel.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1224
Location: Israel

PostPosted: Mon Jan 05, 2009 10:24 pm    Post subject:
Reply with quote

Leave the short message empty. The long message will be immediatly displayed.
Back to top
View user's profile Send private message
Deepakgoyal2005

New User


Joined: 22 Mar 2007
Posts: 57
Location: India

PostPosted: Tue Jan 06, 2009 9:29 am    Post subject: Reply to: Display long message without pressing HELP key on
Reply with quote

Thanks Marso and Pedro for your inputs.
Deleting short description solved my problem.
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 Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm


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