Define the data set that contains your source code by using the SYSIN DD statement as shown below.
//SYSIN DD DSNAME=dsname,UNIT=SYSSQ,VOLUME=(subparms),DISP=SHR
You can place your source code or BASIS statement directly in the input stream. To do so, use this SYSIN DD statement:
//SYSIN DD *
The source code or BASIS statement must follow theDD * statement. If another job step follows the compilation, the EXEC statement for that step must follow the /* statement or the last source statement.