Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-18 Thread Nobuhiko Furuya
Hi Dale, Thank you for your comments. But as I reported in another mail, I can't recreate the problem now. The reason is unknown. If the problem happens again, I will try it. Best regards, Nobuhiko Furuya(古谷信彦) V-SOL Inc. On 2022/08/18 11:21, Dale R. Smith wrote: On Wed, 17 Aug 2022 10:54:16

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-17 Thread Dale R. Smith
On Wed, 17 Aug 2022 10:54:16 +0900, Nobuhiko Furuya wrote: >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

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-17 Thread Nobuhiko Furuya
] 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

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-17 Thread Nobuhiko Furuya
Hi Willy, Thank you for your idea. I believe "seconds" was entirely numeric. After I insert your code, it was OK. But even after I removed your code, it was also OK. So the problem disappeared. I'm very confused. There might be some garbages in the string. Anyway I will try to diagnose if the

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-17 Thread Seymour J Metz
[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

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-17 Thread Willy Jensen
You have the statement ARG hsmcmd':'seconds Could it be that the seconds value is not entirely numeric? Maybe do something like this: seconds=word(seconds 2,1) /* set default =2 */ if datatype(seconds)<>'NUM' then call error 'bad seconds value "'seconds"'"'

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-17 Thread Willy Jensen
re "why do you recommend the REXX/SDSF API rather than TSO GETMSG" I think it is simpler to use and saves one RACF definition (CONSOLE class). -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-16 Thread Nobuhiko Furuya
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

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-16 Thread Nobuhiko Furuya
Hi Willy, Thank you for your suggestion. I have confirmed that delay time(isfdeley) can be set from argue indirectly. But why do you recommend the REXX/SDSF API rather than TSO GETMSG, i.e ? Best regards, Nobuhiko Furuya(古谷信彦) V-SOL Inc. On 2022/08/16 21:22, Willy Jensen wrote: In any case,

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-16 Thread Mark Zelden
On Tue, 16 Aug 2022 14:18:41 +0900, Nobuhiko Furuya 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?

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-16 Thread Willy Jensen
In any case, I will strongly recommend that you use the REXX/SDSF API rather than TSO GETMSG, i.e.: /* Demo REXX/SDSF API system command */ zz=isfcalls('ON') isfdelay=2 /* value for WAIT */ Address SDSF ISFSLASH "'d prog,apf'

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-16 Thread Seymour J Metz
List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Nobuhiko Furuya [furu...@v-sol.co.jp] Sent: Tuesday, August 16, 2022 1:18 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to set time parameter in TSO/E REXX getmsg function Thanks. But I can't find how to code it. I would line to change time value depend

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-16 Thread Willy Jensen
You might be missing something. This is (one of) my TSO console pgms. The delay of 2 seconds could be a variaible. /* Issue command, receive response via the TSO CONSOLE commandrexx */

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-15 Thread Nobuhiko Furuya
A.EDU Subject: How to set time parameter in TSO/E REXX getmsg function Hi all, Can we set variable time parameter in TSO/E REXX getmsg function ? We would like to specify wait time value from argue. But getmsg seems to accept only specific numeric seconds as follows. msgrett = getmsg(’dmsg’,’sol’,

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-15 Thread Seymour J Metz
on behalf of Nobuhiko Furuya Sent: Monday, August 15, 2022 9:54 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How to set time parameter in TSO/E REXX getmsg function Hi all, Can we set variable time parameter in TSO/E REXX getmsg function ? We would like to specify wait time value from argue

How to set time parameter in TSO/E REXX getmsg function

2022-08-15 Thread Nobuhiko Furuya
Hi all, Can we set variable time parameter in TSO/E REXX getmsg function ? We would like to specify wait time value from argue. But getmsg seems to accept only specific numeric seconds as follows. msgrett = getmsg(’dmsg’,’sol’,’C1D7D7D3F2F9F6F8’X,,60) time the amount of time, in seconds, that