sobiratul
5th October 2015, 11:08
Hi,
I've created one warning message. Now, how to use it into session?.
How to attach the message into session,
Please help
Sobiratul
bhushanchanda
5th October 2015, 11:22
Hi,
Use mess() function in your script to show the warning message!
e.g. If the message is in tc package and the code is gensisa01
You need to use
mess("tcgensisa01",1) |# This will show a dialog box
If, you use 0 as parameter, the warning message will be displayed on status bar and can be removed only by using clean.mess()
sobiratul
6th October 2015, 04:10
Hi Bushan,
Tq for response. Attached here is the sample warning message I've created. But, I didn't know where to put the script whether in session script or report script.
Please advice.
Thanks,
Sobiratul
bhushanchanda
6th October 2015, 09:50
Hi,
I would recommend you to get a basic Tools training. Though, if you just want an example -
Session Script is attached to the session. Go to sessions(ttadv2500m000) -> Select your session -> Specific Menu -> Program Scripts.
Open the script -> Write the following code -> And close the script after saving.
before.program:
mess("tdpur246.01",1)
Now, compile the script using the Blue Toolbar option or Select the script ->Specific Menu -> Compile
Now, if you start the session, it will show you the message in a dialog box. Once you get a programming training, you can add the message to the required places based on required conditions.