This will always be allocated as a DUMMY DSN.

All other keyword parameters are ignored and not used.

Example of a build script for a C compile

The following JCL can be submitted as a batch job to do the following:

vCompile the source ®le member in the data set WELLSK.TEAMC.C

vProduce an object ®le member in the data set WELLSK.TEAMC.OBJ

vProduce a listing of the source ®le in the ®le member in the data set

WELLSK.TEAMC.LISTING

vList the compiler messages in the ®le member in the data set

WELLSK.TEAMC.ERROR

//COMPILE EXEC PGM=EDCCOMP,

//PARM=©LO,SSCOMM,NOSEQ,NOMAR,LIS,FL(I),SO,DECK,TEST©,

//REGION=1536K

//STEPLIB DD DSN=SYS1.EDC.SEDCCOMP,DISP=SHR

//DD DSN=SYS1.EDC.SEDCLINK,DISP=SHR

//DD DSN=SYS1.PLI.SIBMLINK,DISP=SHR //SYSMSGS DD DSN=SYS1.EDC.SEDCDMSG(EDCMSGE),DISP=SHR

//SYSIN

DD DSN=WELLSK.TEAMC.C(MEMBER),DISP=SHR

//USERLIB

DD DSN=WELLSK.TEAMC.H,DISP=SHR

//SYSLIB

DD DSN=SYS1.EDC.SEDCHDRS,DISP=SHR

//SYSPUNCH

DD DSN=WELLSK.TEAMC.OBJ(MEMBER),DISP=SHR

//SYSLIN

DD SYSOUT=*

//SYSPRINT

DD DSN=WELLSK.TEAMC.ERROR(MEMBER),DISP=SHR

//SYSCPRT

DD DSN=WELLSK.TEAMC.LISTING(MEMBER),DISP=SHR

//SYSUT1

DD UNIT=VIO,DISP=(NEW,DELETE),

//SPACE=(32000,(30,30)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200) //SYSUT4 DD UNIT=VIO,DISP=(NEW,DELETE),

//SPACE=(32000,(30,30)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200) //SYSUT5 DD UNIT=VIO,DISP=(NEW,DELETE),

//SPACE=(32000,(30,30)),DCB=(RECFM=FB,LRECL=3200,BLKSIZE=12800) //SYSUT6 DD UNIT=VIO,DISP=(NEW,DELETE),

//SPACE=(32000,(30,30)),DCB=(RECFM=FB,LRECL=3200,BLKSIZE=12800) //SYSUT7 DD UNIT=VIO,DISP=(NEW,DELETE),

//SPACE=(32000,(30,30)),DCB=(RECFM=FB,LRECL=3200,BLKSIZE=12800) //SYSUT8 DD UNIT=VIO,DISP=(NEW,DELETE),

//SPACE=(32000,(30,30)),DCB=(RECFM=FB,LRECL=3200,BLKSIZE=12800) //SYSUT9 DD UNIT=VIO,DISP=(NEW,DELETE),

//SPACE=(32000,(30,30)),DCB=(RECFM=VB,LRECL=137,BLKSIZE=882) //SYSUT10 DD SYSOUT=*

Figure 52. A JCL fragment for an MVS compile

168User's Guide

Page 188
Image 188
IBM SC34-4499-03 manual Example of a build script for a C compile, Wellsk.Teamc.Error