On Wed, 17 Aug 2022 10:54:16 +0900, Nobuhiko Furuya <[email protected]> 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 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.

Try changing this line from:
ARG hsmcmd':'seconds    
to 
ARG hsmcmd':'seconds .

it's possible that the the parameter was entered with a trailing space and now 
it does not have a trailing space.  Try the original program with a trailing 
space, if it fails then try changing the line as I suggested and execute it 
again with a trailing space.  It should work correctly after the change.

-- 
Dale R. Smith 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to