JCL is quite consistent; an unquoted space terminates the field.

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

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Charles Mills [charl...@mcn.org]
Sent: Monday, July 11, 2022 1:11 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How do I issue a command with a blank in it?

App received

HOW NOW,     BROWN COW

Quoting the command preserves the lower case, even with the embedded blanks. 
(No, I did not test every permutation.)

/F procname,'How now,     Brown Cow'

App received 'How now,     Brown Cow'

Note that the quotes are included in what the app receives.

JCL PARM= is a little more consistent. //S1 EXEC FOO,PARM=HOW NOW BROWN COW

Will pass only HOW to the app.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Paul Gilmartin
Sent: Monday, July 11, 2022 9:44 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How do I issue a command with a blank in it?

<snip>

how about:
 /F procname,How now,     Brown Cow
(multiple spaces?)

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