willy jensen wrote:As of z/OS 2.1 you can use system symbols in JCL, i.e:
//DD1 DD UNIT=SYSDA,SPACE=(TRK,1),
// DSN=WJENSEN.&SYSNAME..&SYSOSLVL..Y&LYR4
IEFC653I SUBSTITUTION JCL - UNIT=SYSDA,SPACE=(TRK,1),DSN=WJENSEN.S0W1.Z1020200.Y2017
See the SYMBOLS parameter in the MVS JCL Reference manual. There are a few gotchas you need to beware of, mostly concerning submitting a job from one lpar to another, or submitting for later execution. See the manual for details.
Contact your site support group. You MUST be running z/OS 2.1 or higher, and your site support group must have added SYSSYM=ALLOW (the default is DISALLOW) to the specific job class you are running your batch job in. The option can be applied to * to cover all job classes, for example, but if not used for class * then it is set on a class by class basis in the JES initialization parameters.Both &SYSOSLVL and &LYR4 can not be resolved...How I can check if my current system can support this symbols?
GeorgeQ wrote:...Both &SYSOSLVL and &LYR4 can not be resolved...How I can check if my current system can support this symbols?