HLASM Command for you Assembler programmers

This forum provides the support of Dezhi Mainframe systems. Please post your questions about logon, usage of our mainframe environment.

Moderators: sysprog, prino, sfan, steve-myers, Tim001

HLASM Command for you Assembler programmers

Postby steve-myers » Mon 08 Jan 2018, 04:11

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
steve-myers
 
Posts: 452
Joined: Tue 04 May 2010, 15:43

Return to Dezhi systems: Mainframe

Who is online

Users browsing this forum: No registered users and 14 guests