
162 Introduction to the New Mainframe: z/VSE Basics
A complete job may look like Example 6-1.
Example 6-1 JCL example
// JOB MYJOB
// ASSGN SYS001,160
// DLBL INFILE,'MYPROG.INPUT’,2009/001
// EXTENT SYS001,,1,0,100,400
// ASSGN SYS002,160
// DLBL OUTFILE,'MYPROG.OUTPUT’,2010/365
// EXTENT SYS002,,1,0,500,500
// LIBDEF PHASE,SEARCH=(MYLIB.MYSUBA),TEMP
// EXEC MYPROG
/&
When this job was submitted for execution:
MYJOB Is a job name the system associates with this workload.
SYS001 Is the logical unit. The SYS001 logical unit is coded in the
MYPROG program as an input unit.
INFILE On the DLBL statement is the file name. The INFILE file
name ...