Relink High Level Assembler phase ASMADOPT

The High Level Assembler phase ASMADOPT needs to be relinked to successfully change the default options. The sample JCL member ASMAOPTL.Z is provided, which relinks the High Level Assembler phase ASMADOPT (refer to Figure 1).
Figure 1. Sample JCL to linkedit the default options phase
// JOB ASMAOPTL   Linkedit Default Options Phase
*
*  link edit ASMADOPT
*
// LIBDEF *,SEARCH=(lib.sublib,PRD2.CONFIG,PRD1.BASE)  1 
// LIBDEF PHASE,CATALOG=lib.sublib                     2 
// OPTION CATAL
 INCLUDE ASMADOLK                                      3 
// EXEC LNKEDT,PARM='MSHP'
/*
/&

In area  1 , the library-search chain points first to the sublibrary where ASMADOPT.OBJ was catalogued when you assembled the changed options. It then points to the sublibrary where High Level Assembler was installed, and where the link book ASMADOLK.OBJ resides.

In area  2 , change the library and sublibrary to reflect the user sublibrary where ASMADOPT.PHASE will reside.

In area  3 , a link book supplies the phase statement and include values.