The way you specify the invocation options depends on the environment
in which High Level Assembler is running.
- z/OS
- In z/OS batch, you select the options by specifying them on the
PARM field of the JCL EXEC statement that invokes the assembler. For
example:
//ASSEMBLE EXEC PGM=ASMA90,PARM=‘LIST(133),DBCS’
You
can also use cataloged procedures to invoke the assembler. To override
options in a cataloged procedure, you must include the PARM field
in the EXEC statement that invokes the procedure. If the cataloged
procedure contains more than one step, you must also qualify the keyword
parameter (PARM) with the name of the step within the procedure that
invokes the assembler. For example:
// EXEC ASMACG,PARM.C=‘LIST(133),DBCS’
For
more examples on how to specify options in a cataloged procedure,
see Overriding statements in cataloged procedures.
On TSO, you select
the options by specifying them in the second parameter of the TSO
CALL command that invokes the assembler. For example:
CALL ‘SYS1.LINKLIB(ASMA90)’ ‘LIST(133),DBCS’
- z/VM
- You select the options by specifying them after the left parenthesis
on the CMS ASMAHL command
that invokes the assembler. For example:
ASMAHL filename (LIST(133) DBCS[)]
- z/VSE
-
In batch, you select the options by specifying them in the
PARM field of the EXEC JCL statement that invokes the assembler.
You can also specify some of the options on the JCL OPTION statement.
For example:
// OPTION TERM
// EXEC ASMA90,SIZE=ASMA90,PARM=‘LIST,DBCS’
z/VSE
ICCF: On ICCF, you select the options by specifying them in
the PARM field of the job entry statement /LOAD that invokes the assembler.
For example:
/LOAD ASMA90
PARM=‘LIST,DBCS’