-
Notifications
You must be signed in to change notification settings - Fork 4
/
BUILDDB.JCL
95 lines (95 loc) · 7.58 KB
/
BUILDDB.JCL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
//JCL1 JCLLIB ORDER=<HLQ>.<QUAL2>.JCL
//DELFLAT EXEC PGM=IEFBR14
//CLSRVDDF DD DISP=(MOD,DELETE),
// DSN=<HLQ>.<QUAL2>.DDF.FLAT.CLSRVDDF,
// SPACE=(TRK,1),UNIT=<UNIT>
//MFDB2DDF DD DISP=(MOD,DELETE),
// DSN=<HLQ>.<QUAL2>.DDF.FLAT.MFDB2DDF,
// SPACE=(TRK,1),UNIT=<UNIT>
//JDBCDDF DD DISP=(MOD,DELETE),
// DSN=<HLQ>.<QUAL2>.DDF.FLAT.JDBCDDF,
// SPACE=(TRK,1),UNIT=<UNIT>
//CLICICS DD DISP=(MOD,DELETE),
// DSN=<HLQ>.<QUAL2>.DDF.FLAT.CLICICS,
// SPACE=(TRK,1),UNIT=<UNIT>
//CLIBATCH DD DISP=(MOD,DELETE),
// DSN=<HLQ>.<QUAL2>.DDF.FLAT.CLIBATCH,
// SPACE=(TRK,1),UNIT=<UNIT>
//CLIOTHER DD DISP=(MOD,DELETE),
// DSN=<HLQ>.<QUAL2>.DDF.FLAT.CLIOTHER,
// SPACE=(TRK,1),UNIT=<UNIT>
//IFCID239 DD DISP=(MOD,DELETE),
// DSN=<HLQ>.<QUAL2>.DDF.FLAT.IFCID239,
// SPACE=(TRK,1),UNIT=<UNIT>
//*
//MAKEFLAT EXEC PGM=SORT,REGION=0M
//SYSOUT DD SYSOUT=<SYSOUT>
//SYSUDUMP DD SYSOUT=<SYSOUT>
//SYSPRINT DD SYSOUT=<SYSOUT>
//SYMNOUT DD SYSOUT=<SYSOUT>
//EXITLIB DD DISP=SHR,
// DSN=<HLQ>.<QUAL2>.LOAD
//*
//SORTIN DD DISP=SHR,
// DSN=<SMF-Input>
//*
//CLSRVDDF DD DSN=<HLQ>.<QUAL2>.DDF.FLAT.CLSRVDDF,
// DISP=(NEW,CATLG),
// SPACE=(CYL,(50,50),RLSE),
// DATACLAS=<DATACLASS>,
// DCB=*.SORTIN,RECFM=VB
//MFDB2DDF DD DSN=<HLQ>.<QUAL2>.DDF.FLAT.MFDB2DDF,
// DISP=(NEW,CATLG),
// SPACE=(CYL,(50,50),RLSE),
// DATACLAS=<DATACLASS>,
// DCB=*.SORTIN,RECFM=VB
//JDBCDDF DD DSN=<HLQ>.<QUAL2>.DDF.FLAT.JDBCDDF,
// DISP=(NEW,CATLG),
// SPACE=(CYL,(50,50),RLSE),
// DATACLAS=<DATACLASS>,
// DCB=*.SORTIN,RECFM=VB
//CLICICS DD DSN=<HLQ>.<QUAL2>.DDF.FLAT.CLICICS,
// DISP=(NEW,CATLG),
// SPACE=(CYL,(50,50),RLSE),
// DATACLAS=<DATACLASS>,
// DCB=*.SORTIN,RECFM=VB
//CLIBATCH DD DSN=<HLQ>.<QUAL2>.DDF.FLAT.CLIBATCH,
// DISP=(NEW,CATLG),
// SPACE=(CYL,(50,50),RLSE),
// DATACLAS=<DATACLASS>,
// DCB=*.SORTIN,RECFM=VB
//CLIOTHER DD DSN=<HLQ>.<QUAL2>.DDF.FLAT.CLIOTHER,
// DISP=(NEW,CATLG),
// SPACE=(CYL,(50,50),RLSE),
// DATACLAS=<DATACLASS>,
// DCB=*.SORTIN,RECFM=VB
//IFCID239 DD DSN=<HLQ>.<QUAL2>.DDF.FLAT.IFCID239,
// DISP=(NEW,CATLG),
// SPACE=(CYL,(500,500),RLSE),
// DATACLAS=<DATACLASS>,
// DCB=*.SORTIN,RECFM=VB
//SYMNAMES DD DISP=SHR,
// DSN=<HLQ>.<QUAL2>.CTL(DDFIDSYM)
//*
//SYSIN DD *
* Always keep the following statements in
MODS E15=(E15DDFID,75000,EXITLIB,N)
OPTION COPY,VLSHRT
OUTFIL FNAMES=CLSRVDDF,
INCLUDE=(QMDAPTYP,EQ,C'SQL',AND,QLACSQLS,EQ,+0,AND,IFCID,EQ,+3)
OUTFIL FNAMES=MFDB2DDF,
INCLUDE=(QMDAPTYP,EQ,C'DSN',AND,QLACSQLS,EQ,+0,AND,IFCID,EQ,+3)
OUTFIL FNAMES=JDBCDDF,
INCLUDE=(QMDAPTYP,EQ,C'JCC',AND,QLACSQLS,EQ,+0,AND,IFCID,EQ,+3)
OUTFIL FNAMES=CLICICS,
INCLUDE=(QLACSQLS,GT,+0,AND,QWHCATYP,EQ,QWHCCICS,AND,IFCID,EQ,+3)
OUTFIL FNAMES=CLIBATCH,
INCLUDE=(QLACSQLS,GT,+0,AND,
(QWHCATYP,EQ,QWHCTSO,OR,QWHCATYP,EQ,QWHCDB2C,OR,
QWHCATYP,EQ,QWHCDLIB,OR,QWHCATYP,EQ,QWHCIMSB,OR,
QWHCATYP,EQ,QWHCUTIL,OR,CONNID,EQ,C'BATCH '),AND,IFCID,EQ,+3)
OUTFIL FNAMES=IFCID239,INCLUDE=(IFCID,EQ,+239)
OUTFIL FNAMES=CLIOTHER,SAVE
*
END
/*