Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.
I've coded the sample to prompt message for message wait job, but I do want to "Beep". anyone know it? the current screen will be on the work job screen, e.g. wrkusrjob xxx *active. then this macro is applied to monitor this screen.. by refreshing every 3 secs, prompts warning ifmessage wait job found. [PCOMM SCRIPT HEADER] LANGUAGE=VBSCRIPT DESCRIPTION= [PCOMM SCRIPT SOURCE] OPTION EXPLICIT autECLSession.SetConnectionByName(ThisSessionName) REM This line calls the macro subroutine subSub1_ sub subSub1_() Dim MsgInd Dim MsgRow, MsgCol Dim MsgJob Dim MsgBody MsgInd = False MsgRow = 1 MsgCol = 1 MsgBody = "prompt message" Do while MsgInd=False autECLSession.autECLOIA.WaitForAppAvailable autECLSession.autECLOIA.WaitForInputReady autECLSession.autECLPS.Wait(3000) autECLSession.autECLPS.SendKeys "[pf5]" MsgInd = autECLSession.autECLPS.SearchText("MSGW",1,MsgRow,MsgCol) If MsgInd Then MsgJob = autECLSession.autECLPS.GetText(MsgRow, 7, 10) Msgbox MsgBody,,"Batch Monitor" End if Loop end sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.