Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Invoking the assembler on TSO HLASM Programmer's Guide SC26-4941-06 |
|||||||||||||||
On TSO, you can use TSO commands, command lists (CLISTs), REXX EXECs, or ISPF to assemble your program. Figure 1 shows
how to allocate the data sets and assemble the source program using
the ALLOCATE and CALL commands. The commands are shown in bold text.
Figure 1. Assembling
on TSO
READY ALLOCATE FILE(SYSPRINT) DATASET(*) REUSE READY ALLOCATE FILE(SYSTERM) DATASET(*) REUSE READY ALLOCATE FILE(SYSLIN) DATASET(PROG.OBJ) NEW TRACKS SPACE(3,3) BLKSIZE(80) LRECL(80) RECFM(F B) CATALOG REUSE READY ALLOCATE FILE(SYSADATA) DATASET(PROG.ADATA) NEW CYLINDERS SPACE(1 1) BLKSIZE(32760) LRECL(32756) RECFM(V B) REUSE CATALOG READY ALLOCATE FILE(SYSIN) DATASET(PROG.ASSEMBLE) SHR REUSE READY ALLOCATE FILE(ASMAOPT) DATASET(PROG.OPTIONS) SHR REUSE READY CALL *(ASMA90) ‘ADATA,LIST(133),OBJECT,TERM’ ⋮ Assembler listing and messages ⋮ READY FREE FILE(SYSADATA,SYSPRINT,SYSTERM,SYSLIN,SYSIN) READY You can enter ALLOCATE commands in any order; however, you must enter all of them before you start the assembly. Table 1 shows the data sets you must allocate when you specify particular assembler options.
Exit Option: If you specify the EXIT option, the user exit program module must be in a partitioned data set that is in the standard search sequence, including the Link Pack Area (LPA). |
Copyright IBM Corporation 1990, 2014
|