Defining the library-processing output file (SYSMDECK)
The SYSMDECK DD
allocation is required for all
compilations. If you specify the MDECK
compiler option, the SYSMDECK
DD
allocation must specify a permanent MVS data set or
a z/OS®
UNIX file. However, if you use the NOMDECK
option, SYSMDECK
can alternatively be specified as a utility (temporary) data
set.
About this task
The following example specifies a permanent dataset name:
//SYSMDECK DD DSNAME=dsname,UNIT=SYSDA
The following example specifies a z/OS
UNIX
file:
//SYSMDECK DD PATH='/path/filename.dek',
//FILEDATA=TEXT,
//PATHOPTS=(ORDWR,OCREAT,OTRUNC),
//PATHMODE=(SIRUSR,SIWUSR)
The following example specifies a utility (temporary) data
set:
//SYSMDECK DD UNIT=SYSALLDA
The SYSMDECK
file will contain a copy of the updated input
source after library processing, that is, the result of
COPY
, BASIS
, REPLACE
, EXEC SQL
INCLUDE
, and EXEC SQLIMS INCLUDE
statements.