Multiple report generation (sort required):
Primary Mode
Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.
* $$ JOB ... See the note above and JCL Requirements.
* $$ LST ...
// JOB name
// ASSGN SYS011,DISK,VOL=volser,SHR
// ASSGN SYS001,DISK,VOL=volser,SHR
// ASSGN SYS002,DISK,VOL=volser,SHR
// ASSGN SYS003,DISK,VOL=volser,SHR
// DLBL DRWORK,'data.set.name',0,DA
// EXTENT SYS011,volser,1,0,nnnn,nn
// DLBL SORTOUT,'data.set.name',0
// EXTENT SYS001,volser,1,0,nnnn,nn
// DLBL SORTIN1,'data.set.name',0
// EXTENT SYS002,volser,1,0,nnnn,nn
// DLBL SORTWK1,'data.set.name',0
// EXTENT SYS003,volser,1,0,nnnn,nn
// EXEC DRREPORT
.
. Reporting Facility Source Commands
.
END
.
. Optional Input File
.
/*
//
* $$ EOJ
If a CALL command is present in the source input stream, insert this JCL:
// ASSGN SYS010,DISK,volser,SHR // DLBL DRLIB,'data.set.name',0,DA // EXTENT SYS010,volser,1,0,nnnn,nn
Single report generation (no sort allowed):
Secondary Mode
Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.
* $$ JOB ... See the note above and JCL Requirements.
* $$ LST ...
// JOB name
// ASSGN SYS011,DISK,VOL=volser,SHR
// DLBL DRWORK,'data.set.name',0,DA
// EXTENT SYS011,volser,1,0,nnnn,nn
// EXEC DRREPORT
.
. Reporting Facility Source Commands
.
END
.
. Optional Input File
.
/*
/&
* $$ EOJ
If a CALL command is present in the source input stream, insert this JCL:
// ASSGN SYS010,DISK,volser,SHR // DLBL DRLIB,'data.set.name',0,DA // EXTENT SYS010,volser,1,0,nnnn,nn
Single output file creation (no sort allowed):
Write-Only Mode
Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.
* $$ JOB ... See the note above and JCL Requirements.
* $$ LST ...
// JOB name
// ASSGN SYS011,DISK,VOL=volser,SHR
// ASSGN SYSnnn,DISK,VOL=volser,SHR
// DLBL DRWORK,'data.set.name',0,DA
// EXTENT SYS011,volser,1,0,nnnn,nn
// DLBL DROUT,'data.set.name',0,SD
// EXTENT SYSnnn,volser,1,0,nnnn,n
// EXEC DRREPORT
.
. Reporting Facility Source Commands
.
END
.
. Optional Input File
.
/*
/&
* $$ EOJ
If a CALL command is present in the source input stream, insert this JCL:
// ASSGN SYS010,DISK,volser,SHR // DLBL DRLIB,'data.set.name',0,DA // EXTENT SYS010,volser,1,0,nnnn,nn
Library Maintenance Mode
Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.
* $$ JOB ... See the note above and JCL Requirements.
* $$ LST ...
// JOB name
// ASSGN SYS011,DISK,VOL=volser,SHR
// ASSGN SYS010,DISK,VOL-volser,SHR
// DLBL DRWORK,'data.set.name',0,DA
// EXTENT SYS011,volser,1,0,nnnn,nn
// DLBL DRLIB,'data.set.name',0,DA
// EXTENT SYS010,volser,1,0,nnnn,nn
// EXEC DRREPORT
.
. Reporting Facility Library
.
. Maintenance Commands
END
/*
/&
* $$ EOJ
|
Copyright © 2014 CA.
All rights reserved.
|
|