On Sun, 23 Jan 2022 14:08:02 +0200, ITschak Mugzach  wrote:

>I am trying to chain some commands by using a primary command -exec
>subcommand1; subcommand2; \;
>
>for some reason, uss doesn't see the ending (slashed) semicolon. In order
>to ignore the confusion, I also tried
>
Please be very liiterao and post a transcript, such as:
493 $ ( set -x; date; uname -s; \; )
-bash 6+ date
Sun Jan 23 07:02:44 MST 2022
-bash 6+ uname -s
Darwin
-bash 6+ ';'
-bash: ;: command not found
494 $ 
o are you doing this with a POSIX shell?
o is TSO/ISPF initefering with the ";"?
o "-exec" is not a shell command.

>primary command -exec subcommand1 && subcommand2 && ... &&\; with 
>no
>success. Any ideas?
>
"&&" means "Execute the second command only if the first
command succeeds."

Your question might be more topical on:
    
<mailto:[email protected]?subject=Info&body=INFO%20MVS-OE%0D%0AThanks%0D%0A>

-- gil

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

Reply via email to