MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Location of Messages - .MSG Command

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Mar 03, 2003 3:47 am    Post subject: Location of Messages - .MSG Command Reply with quote

In my panel I have several fields and in the PROC section of the Panel, I check for some condition using IF & VER constructs and If some condition fails I use the .MSG command to display appropriate error messages.

The message is displayed properly except that It is displayed at the bottom of the Popup window, But I want that message window to be displayed adjacent / below the actual field where the error has occurred.

When we handle error messages programatically using the SETMSG command, we would specify the MSGLOC option. But how to specify the same while using .MSG function.

My code would like this

IF(VER(.......))
.MSG=ESYM102A
.RESP=ENTER
........

Please suggest
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Mar 03, 2003 9:29 am    Post subject: Reply with quote

I think you'll need to move the verification out of the panel and into the driving program. Or at least set a variable in the panel to tell the program how to display the message.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group