Of course: semicolon is the standard *ix command separator. If the parameter 
following -c includes a semicol then it is treated as multiple commands.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 15, 2020 9:36 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: USS: su: User ID "SH" does not exist

Hi R'Shmuel,
BPXBATCH allows only one Command Buffer. If the user wants to issue more
than one command, then s/he must separate commands with a semicolon
(much like the ISPF Command line).

Regards,
David

On 2020-05-15 09:32, Seymour J Metz wrote:
> Possibly, but ; is definitely a command separator character, not a 
> continuation character.
>
>
> --
> Shmuel (Seymour J.) Metz
> https://eur05.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3&data=02%7C01%7C%7Ca1d14b2155ab4d26d96808d7f8d47ff5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637251463900660906&sdata=0v7lCqOekIfyjsPxgu%2BQw9Rp%2FwNpXSERP%2F8lo5%2F04Tg%3D&reserved=0
>
> ________________________________________
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> David Crayford [dcrayf...@gmail.com]
> Sent: Friday, May 15, 2020 9:25 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: USS: su: User ID "SH" does not exist
>
> Yes, in a shell, but no using BPXBATCH.
>
> On 2020-05-15 9:17 PM, Seymour J Metz wrote:
>> ITYM \ at the end is a continuation.
>>
>>
>> --
>> Shmuel (Seymour J.) Metz
>> https://eur05.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3&data=02%7C01%7C%7Ca1d14b2155ab4d26d96808d7f8d47ff5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637251463900660906&sdata=0v7lCqOekIfyjsPxgu%2BQw9Rp%2FwNpXSERP%2F8lo5%2F04Tg%3D&reserved=0
>>
>> ________________________________________
>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
>> David Crayford [dcrayf...@gmail.com]
>> Sent: Friday, May 15, 2020 8:47 AM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: Re: USS: su: User ID "SH" does not exist
>>
>> Nope. Semicolons are a continuation!
>>
>> On 2020-05-15 8:13 PM, David Spiegel wrote:
>>> Hi Jon,
>>> Every line except for the last line needs a semicolon.
>>>
>>> Regards,
>>> David
>>>
>>> On 2020-05-15 08:10, Jon Bathmaker wrote:
>>>> Hi Ed,
>>>>
>>>> Thanks for this!  How *did* you find out about the semicolons, I
>>>> didn't see them anywhere in the doc.
>>>>
>>>> Best regards,
>>>> *Jon Bathmaker,*
>>>> SYS1 Consulting Inc.
>>>> 519-577-9661
>>>>
>>>>
>>>>
>>>> On 5/15/2020 12:19 AM, Ed Jaffe wrote:
>>>>> On 5/14/2020 5:23 PM, Jon Bathmaker wrote:
>>>>>> //STDPARM DD *
>>>>>> SH su
>>>>>> SH echo $PATH
>>>>>> SH unmount -fv ZOS240.SYS1.OMVS.SYSRES.OS240971.FNT.ZFS
>>>>> The above looks wrong to me. I always do it this way:
>>>>>
>>>>>
>>>>> //STDPARM  DD *
>>>>> SH su;
>>>>>      echo $PATH;
>>>>>      unmount -fv ZOS240.SYS1.OMVS.SYSRES.OS240971.FNT.ZFS
>>>>>
>>>>>
>>>> ----------------------------------------------------------------------
>>>> 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
>>
>> ----------------------------------------------------------------------
>> 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
> .

----------------------------------------------------------------------
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

Reply via email to