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
 
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: 2086
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: 1243
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 the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm

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