[ |../../index.htm#lansa/lansa050_1425.htm]
現在地: RAMP-TSガイド > よくある質問 > 現在の5250画面下部のメッセージを RAMP スクリプトに取り込む方法

現在の5250画面下部のメッセージを RAMP スクリプトに取り込む方法

次のようなスクリプトを使用します。
  
     {
           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 */
      }  
 
[ |../../index.htm#lansa/lansa050_1425.htm]