On Fri, 12 Dec 2014 18:36:21 +0000, Steve Thompson <[email protected]> 
wrote:

>Ok, I'm back to working on this aspect of a problem.  So, I tried something 
>interesting to try to figure this one out. The following JCL does NOT expand 
>the string (the JOB after this does):
>
>//SXT7279T JOB (T9999,9999,MC9999),'TEST PARMDD ',CLASS=I,
>//   TIME=(,05),
>//*  TYPRUN=SCAN,
>//   MSGCLASS=X,NOTIFY=&SYSUID
>//* $ACFJ219 ACF2 ACTIVE HUMANA
>//*
>//*
>//FOCUCC   EXEC FOCUCC    DUAL COMPILE
>//*
>//*
>// SET CMB=SXT7278.CID.MBDUAL.CRDS.CID
>// SET CCT=SXT7278.CMPL.CNTL(RELCID)
>//*
>// SET HDY='.'
>//*
>// SET HDT='.'
>//*
>// SET SQP=Y
>//*
>// SET RNO='.'
>//*
>// SET VX='.'
>//*
>// SET NAP=NEWAPPL(BCMP)
>//*
>//         EXPORT SYMLIST=*

The EXPORT has to be coded BEFORE the SET statements, as documented
in the first paragraph describing the EXPORT statement.

"Symbols must be set to a value subsequent to the EXPORT statement
for the symbol value to be exported."

-- 
Tom Marchant

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

Reply via email to