HLASM Command for you Assembler programmers
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
A TSO command to run the High Level Assembler from the TSO command line has been installed for the convenience of Assembler programmers.
HLASM xxx
where xxx means userid.XXX.ASM, and output will go to userid.XXX.ASMLIST and userid.XXX.OBJ.
You can specify a fully qualified data set name or a member of a PDS, though you have to manually enter the print and object data set names. You will find this is much more convenient than doing assemblies in batch.
Most of the multitude of the High Level Assembler options can be specified in the command line, some times with a slightly different syntax. For example -
hlasm xxx rent rld xref(unrefs)
The command syntax is
HLASM data set NOADATA/ADATA(data set) NOALIGN/ALIGN NOASMAOPTS/
ASMAOPTS(data set) NOBATCH/BATCH NODBCS/DBCS NODXREF/
DXREF NOESD/ESD NOFOLD/FOLD NOGOFF/GOFF(NOADATA/ADATA)
LIB(data set data set) NOLIBMAC/LIBMAC NOLIST/LIST(121/133)
NOMXREF/MXREF(FULL/ SOURCE/XREF) NOOBJECT/OBJECT(data set)
NOPRINT/PRINT(data set) NORC/RC NORLD/RLD NORXREF/RXREF
NOTERM/TERM(data set) NOTEST/TEST NOTHREAD/THREAD VERSION
NOXOBJ/XOBJ(NOADATA/ADATA) NOXREF/XREF(FULL/SHORT UNREFS)
Required - data set
Default - OBJECT TERM(*) LIB('SYS1.MODGEN' 'SYS1.MACLIB') PRINT
HLASM xxx
where xxx means userid.XXX.ASM, and output will go to userid.XXX.ASMLIST and userid.XXX.OBJ.
You can specify a fully qualified data set name or a member of a PDS, though you have to manually enter the print and object data set names. You will find this is much more convenient than doing assemblies in batch.
Most of the multitude of the High Level Assembler options can be specified in the command line, some times with a slightly different syntax. For example -
hlasm xxx rent rld xref(unrefs)
The command syntax is
HLASM data set NOADATA/ADATA(data set) NOALIGN/ALIGN NOASMAOPTS/
ASMAOPTS(data set) NOBATCH/BATCH NODBCS/DBCS NODXREF/
DXREF NOESD/ESD NOFOLD/FOLD NOGOFF/GOFF(NOADATA/ADATA)
LIB(data set data set) NOLIBMAC/LIBMAC NOLIST/LIST(121/133)
NOMXREF/MXREF(FULL/ SOURCE/XREF) NOOBJECT/OBJECT(data set)
NOPRINT/PRINT(data set) NORC/RC NORLD/RLD NORXREF/RXREF
NOTERM/TERM(data set) NOTEST/TEST NOTHREAD/THREAD VERSION
NOXOBJ/XOBJ(NOADATA/ADATA) NOXREF/XREF(FULL/SHORT UNREFS)
Required - data set
Default - OBJECT TERM(*) LIB('SYS1.MODGEN' 'SYS1.MACLIB') PRINT