MFmainframe-rea
WS carddemo · 26f629ef

jcl · 94 lines · sha256 278015ffb3a0c0b4app/jcl/DEFGDGD.jcl

1//DEFGDGD JOB 'DEF DB2 GDG',CLASS=A,MSGCLASS=0,NOTIFY=&SYSUID JOB05067
2//* RESTART=STEP30 JOB05067
3//******************************************************************
4//* Copyright Amazon.com, Inc. or its affiliates.
5//* All Rights Reserved.
6//*
7//* Licensed under the Apache License, Version 2.0 (the "License").
8//* You may not use this file except in compliance with the License.
9//* You may obtain a copy of the License at
10//*
11//* http://www.apache.org/licenses/LICENSE-2.0
12//*
13//* Unless required by applicable law or agreed to in writing,
14//* software distributed under the License is distributed on an
15//* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
16//* either express or implied. See the License for the specific
17//* language governing permissions and limitations under the License
18//******************************************************************
19//* This jcl will create GDGs and load first generation for
20//* Transaction reference data
21//* *******************************************************************
22//* Define GDG for Transaction Type
23//* *******************************************************************
24//STEP10 EXEC PGM=IDCAMS
25//SYSPRINT DD SYSOUT=*
26//SYSIN DD *
27 DEFINE GENERATIONDATAGROUP -
28 (NAME(AWS.M2.CARDDEMO.TRANTYPE.BKUP) -
29 LIMIT(5) -
30 SCRATCH -
31 )
32/*
33//* *******************************************************************
34//* Create the first generation of GDG Transaction Type
35//* *******************************************************************
36//STEP20 EXEC PGM=IEBGENER,COND=(0,NE)
37//SYSPRINT DD SYSOUT=*
38//SYSIN DD DUMMY
39//SYSUT1 DD DISP=SHR,DSN=AWS.M2.CARDDEMO.TRANTYPE.PS
40//SYSUT2 DD DSN=AWS.M2.CARDDEMO.TRANTYPE.BKUP(+1),
41// DISP=(NEW,CATLG),
42// DCB=(LRECL=60,RECFM=FB,BLKSIZE=600),
43// SPACE=(TRK,(1,1),RLSE)
44//* *******************************************************************
45//* Transaction Category type
46//* *******************************************************************
47//STEP30 EXEC PGM=IDCAMS,COND=(0,NE)
48//SYSPRINT DD SYSOUT=*
49//SYSIN DD *
50 DEFINE GENERATIONDATAGROUP -
51 (NAME(AWS.M2.CARDDEMO.TRANCATG.PS.BKUP) -
52 LIMIT(5) -
53 SCRATCH -
54 )
55/*
56//* *******************************************************************
57//* Create the first generation of GDG Transaction Category Type
58//* *******************************************************************
59//STEP40 EXEC PGM=IEBGENER,COND=(0,NE)
60//SYSPRINT DD SYSOUT=*
61//SYSIN DD DUMMY
62//SYSUT1 DD DISP=SHR,DSN=AWS.M2.CARDDEMO.TRANCATG.PS
63//SYSUT2 DD DSN=AWS.M2.CARDDEMO.TRANCATG.PS.BKUP(+1),
64// DISP=(NEW,CATLG),
65// DCB=(LRECL=60,RECFM=FB,BLKSIZE=600),
66// SPACE=(TRK,(1,1),RLSE)
67//* *******************************************************************
68//* Disclosure Group
69//* *******************************************************************
70//STEP50 EXEC PGM=IDCAMS
71//SYSPRINT DD SYSOUT=*
72//SYSIN DD *
73 DEFINE GENERATIONDATAGROUP -
74 (NAME(AWS.M2.CARDDEMO.DISCGRP.BKUP) -
75 LIMIT(5) -
76 SCRATCH -
77 )
78/*
79//* *******************************************************************
80//* Create the first generation of GDG disclosure group
81//* *******************************************************************
82//STEP60 EXEC PGM=IEBGENER,COND=(0,NE)
83//SYSPRINT DD SYSOUT=*
84//SYSIN DD DUMMY
85//SYSUT1 DD DISP=SHR,DSN=AWS.M2.CARDDEMO.DISCGRP.PS
86//SYSUT2 DD DSN=AWS.M2.CARDDEMO.DISCGRP.BKUP(+1),
87// DISP=(NEW,CATLG),
88// DCB=(LRECL=50,RECFM=FB,BLKSIZE=500),
89// SPACE=(TRK,(1,1),RLSE)
90//
91//
92//*
93//* Ver: CardDemo_v1.0-15-g27d6c6f-68 Date: 2022-07-19 23:23:04 CDT
94//*