Using IBM symbolics in Endevor
search cancel

Using IBM symbolics in Endevor

book

Article ID: 370988

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

There is a requirement to have the IBM symbolic &SYSNAME used as part of the Endevor STEPLIB name for JCL that are generated using Endevor skeletons. 

e.g.
for SYSNAME=LPAR1, IPRFX.IQUAL.&SYSNAME.LOADLIB would resolve to IPRFX.IQUAL.LPAR1.LOADLIB

Environment

All Supported Releases

Resolution

The Endevor skeleton member can be modified to reference the &SYSNAME symbolic but requires two ampersand so that the proper symbolic is available at JCL execution. 

Skeleton:
//STEPLIB  DD DISP=SHR,DSN=IPRFX.IQUAL.&&SYSNAME..LOADLIB

The resulting JCL will resolve to the following:
//STEPLIB  DD DISP=SHR,DSN=IPRFX.IQUAL.&SYSNAME..LOADLIB

When the JCL executes, it would resolve to the appropriate SYSNAME value LPAR1
//STEPLIB  DD DISP=SHR,DSN=IPRFX.IQUAL.LPAR1.LOADLIB