You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Show Contents List

How can I get the message from the bottom of the current 5250 screen into my RAMP script?

Use a script like this:
  
     {
           var strMessage = GETVALUE("ActiveForm.Message");  /* Get the message into JavaScript variable strMessage     */
           if (strMessage != "") ALERT_MESSAGE(strMessage);    /* If a message was retrieved, display it in a message box */
      }  
 
Show Contents List

  • No labels