I wasn't any help to Kirk .. but this one.. I know.  You have to make
everything a symbol to get it to resolve .. including the single quote.

// SET ENV='D'
// SET SCRIPT='-script='
// SET SQLDIR='/opt/cicsia/sql/'
// SET SQL='user.sql'
// SET SQ=''''                      <<-- Single Quote
//*
//*-------------------------------------------------------------------
//STEPP01 EXEC PROC=JVMPRC,LOGLVL='+I',
//        JAVACLS='workbench.WbStarter',
//        ARGS=&SQ.&SCRIPT.&SQLDIR.&SQL.&SQ.

HTH,

Rob Schramm
Senior Systems Consultant


On Fri, Dec 12, 2014 at 3:15 PM, Charles Mills <charl...@mcn.org> wrote:
>
> How the heck do I do this?
>
> I have a variable symbol &FOO that has been set to a value. I want to
> include it in another set symbol like so
>
> // SET BAR=/my/lower/case/uss/folder/&FOO./
>
> If I quote the operand it seems like &FOO does not get substituted. If I
> don't quote the operand JCL barfs on the lower case letters.
>
> Help!
>
> Charles
>
> ----------------------------------------------------------------------
> 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