Changing default options
If you decided to change any of the default High Level Assembler options when planning to customize High Level Assembler (see Before customization) you can change these options now.
A sample job ASMAOPTV.Z
is provided to help you
modify and assemble the IBM-supplied, default assembler options. It is shown in Figure 1.
The ASMAOPT macro in ASMAOPTV.Z
is used to specify the options you want to set
as the defaults. Refer to General rules for coding the ASMADOPT ASSEMBLE file for more information about how to
enter the options into the sample job. For more detailed information about these options see the
HLASM Programmer's Guide. For a
description of the options and the values you can specify, see the High Level Assembler Options.
ASMADOPT
, which completes the customization of the High Level Assembler
options.
// JOB ASMAOPTV ASSEMBLE DEFAULT OPTIONS
*
// SETPARM VOLUME='SYSWK2' * VOLUME TO USE |
// SETPARM START='????' * STARTING EXTENT TRK/BLK | 1
// SETPARM LENGTH='0020' * LENGTH OF WORK FILE |
*
* Assemble High Level Assembler Default Options
*
// LIBDEF *,SEARCH=(PRD1.BASE) 2
// DLBL IJSYSPH,'ASSEMBLE.OUTPUT',0
// EXTENT SYSPCH,&VOLUME,1,0,&START,&LENGTH
ASSGN SYSPCH,DISK,VOL=&VOLUME,SHR
// OPTION DECK
// EXEC ASMA90
PUNCH 'CATALOG ASMADOPT.OBJ REPLACE=YES'
PRINT ON,GEN
ASMAOPT 3
END
/*
CLOSE SYSPCH,PUNCH
// DLBL IJSYSIN,'ASSEMBLE.OUTPUT',0
// EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOL=&VOLUME,SHR
// EXEC LIBR,PARM='MSHP;ACCESS SUBLIB=lib.sublib' 4
/*
CLOSE SYSIPT,SYSRDR
/*
/&
// JOB RESET
ASSGN SYSIPT,SYSRDR IF 1A93D, CLOSE SYSIPT,SYSRDR
ASSGN SYSPCH,PUNCH IF 1A93D, CLOSE SYSPCH,PUNCH
/*
/&
In area
1 , change the SETPARM
values to those applicable to
your installation.
In area 2 , if High Level Assembler has been installed in a different sublibrary from the default, change this to reflect your sublibrary.
In area 3 include only the options and values you want to change.
In area 4 , change the sublibrary to reflect a user sublibrary in which changes to the High Level Assembler default options will be cataloged. This should be in a user library to ensure that the original IBM-supplied defaults are not overwritten.