The $VS JES command requires a string that when parsed for double quotes to 
single quotes ('''' -> '') is a valid MVS command. The proper nesting of 
duplicated quotes can be tricky

> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On
> Behalf Of Rob Schramm
> Sent: Friday, July 08, 2022 2:04 PM
> To: [email protected]
> Subject: Re: How do I issue a command with a blank in it?
> 
> [EXTERNAL EMAIL] DO NOT CLICK links or attachments unless you recognize
> the sender and know the content is safe.
> 
> Here is an example of a command with a space.
> 
> F CICS,CEMT PER,SHUT
> 
> Rob
> 
> On Fri, Jul 8, 2022 at 3:28 PM Tony Harminc <[email protected]> wrote:
> 
> > On Fri, 8 Jul 2022 at 13:03, Seymour J Metz <[email protected]> wrote:
> > >
> > > Time for an RCF; embedded blanks are bog common in, e.g., SEND.
> >
> > Though those on SEND must be within a quoted string. Blanks otherwise
> > are highly significant. Many's the poor person who's conflated the TSO
> > SEND command with console SEND, and entered on the console/SDSF
> > something like
> >
> > send 'Lunch at the usual place today?' user(fred)
> >
> > and found it's gone out to all logged on TSO users.
> >
> > But the DUMP command accepts an unquoted but parenthesized string
> > containing blanks:
> >
> >  DUMP COMM=(A TEST DUMP)
> > *05 IEE094D SPECIFY OPERAND(S) FOR DUMP COMMAND
> >
> > but
> >
> > DUMP COMM=(NO CLOSING PAREN ON THIS ONE
> > IEE307I DUMP     DELIMITER ERROR
> > IEE711I SYSTEM DUMP NOT TAKEN. DUMP SPECIFICATION NOT VALID
> >
> > These were both issued from SDSF, btw. It didn't complain about either of
> > them.
> >
> > Tony H.
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

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

Reply via email to