HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Specifying the source data set: SYSIN

HLASM Programmer's Guide
SC26-4941-06

Define the data sets that contain your source code with the SYSIN DD statement:
//SYSIN    DD   DSN=datasetname,DISP=SHR

This data set contains the input to the assembler; that is, the assembler language source statements to be processed.

You can place your assembler source code in the input stream. To do this, use this SYSIN DD statement:
//SYSIN    DD   *

When you use the (*) DD parameter, the source code must follow the DD statement. If another job step follows the assembly, the EXEC statement for that step must follow the last source statement, or end-of-file (/*) statement.

The IBM-supplied High Level Assembler procedures do not contain the SYSIN DD statement. The DD statement for SYSIN must be provided in the input stream:
//STEP1    EXEC ASMAC
//SYSIN    DD   *
⋮
assembler source statements
⋮
/*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014