What happened to 'CONSOLE ACTIVATE'? I don't believe that it worked correctly without that, regardless of how you coded getmsg.
Again, TRACE I is your friend. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Nobuhiko Furuya [furu...@v-sol.co.jp] Sent: Tuesday, August 16, 2022 9:54 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to set time parameter in TSO/E REXX getmsg function Hi ALL, Thank you for your all suggestions. But my explanation seemed poor. What I would like to do is specifying the wait time indirectly in getmsg as follows. But the following code gets errors as I reported. ARG hsmcmd':'seconds <- get wait seconds as a parameter hsmid = 'DFHSM' <- set hsmid address console "F "hsmid","hsmcmd <- issue command msghsm = getmsg('resp.','SOL','HSM',,seconds) <- wait the specified seconds Of course when I specified the wait time directly as follows, it was OK. msghsm = getmsg('resp.','SOL','HSM',,20) Best regards, Nobuhiko Furuya(古谷信彦) V-SOL Inc. On 2022/08/17 5:32, Mark Zelden wrote: > On Tue, 16 Aug 2022 14:18:41 +0900, Nobuhiko Furuya <furu...@v-sol.co.jp> > wrote: > >> Thanks. But I can't find how to code it. >> I would line to change time value depend on the logic. >> How can I resolve this ? > Are you trying to do something that requires the REXX "interpret" > instruction? Is that what you mean? > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.4.0%3Ftopic%3Dexpression-using-interpret-instruction&data=05%7C01%7Csmetz3%40gmu.edu%7Cba611a742b994e6d461d08da7ff373ce%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637962980844423734%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=veLyUq8PnkRIAurC7Hibz73ehYrzb1mePSfiMzSv8lo%3D&reserved=0 > > > Best Regards, > > Mark > -- > Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS > ITIL v3 Foundation Certified > mailto:m...@mzelden.com > Mark's MVS Utilities: > http://secure-web.cisco.com/1ac7hX8Wn6rc-3nk8Q9nCsTyPIQhH5DvT8Wup6Ld5tNLbCC_RBgOdbse-u1jN7G4T5_Oc6IqaW5SW48PdDkRVANXQw4mOKKbyLDGcRlhlCTOrc7nnqXMX8FczRUNVUtIdCKx-eanO6MFTqcn2jpOOjQ7swYuZTHkuUyePAqTSLrc-sWIwu87cyLMsv5gdOAc_y-uMUhM44mkjq6SWQo6VxcD5cFFLJjBPEYdLXWRvnpI9-QNX74LrXesOMPZ9k9tIDY21LaAWrq-VqhwJRUjCOy2417qCZlBOYFIPV8Jo53Iq3CA8uctZb7CJxSOg7g-f7z8WeAx3x9BF2JQ06fY_jMqnWLJVithmkLAGQ_s579k026S1MlVp85GiizsUgamislC6aQSQY2ZotLipgEbzzzjTV2C47IuwL2nuX5IB3LThUO6_n1fz-HHb3FhAbu82/http%3A%2F%2Fwww.mzelden.com%2Fmvsutil.html > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN