That 10 at the end of GETMSG is a wait time (ten seconds). GETMSG gets all or none (in my experience) of a multi-line message, so if that is what you are getting then the initial delay is all you need.
I started out with 1 and then went to 5 in my application, and both worked great when the system was not busy, but when it was -- which was the whole point of the thing -- detecting a busy system -- they were inadequate for the response to a $DQ,Q=XEQ. 60 seconds seems to be "long enough." But @Gil is right -- how long is long enough? A minute? An hour? A week? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Wednesday, August 26, 2020 4:33 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: MVS modify command capture Shouldn't you have a delay in there to giv the started task time to process he CIB? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN