MFmainframe-rea
WS carddemo · 26f629ef

jcl · 52 lines · sha256 ab60da6cfdc8c4ecapp/jcl/COMBTRAN.jcl

1//COMBTRAN JOB 'COMBINE TRANSACTIONS',CLASS=A,MSGCLASS=0,
2// NOTIFY=&SYSUID
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//* *******************************************************************
20//* Sort current transaction file and system generated transactions
21//* *******************************************************************
22//STEP05R EXEC PGM=SORT
23//SORTIN DD DISP=SHR,
24// DSN=AWS.M2.CARDDEMO.TRANSACT.BKUP(0)
25// DD DISP=SHR,
26// DSN=AWS.M2.CARDDEMO.SYSTRAN(0)
27//SYMNAMES DD *
28TRAN-ID,1,16,CH
29//SYSIN DD *
30 SORT FIELDS=(TRAN-ID,A)
31/*
32//SYSOUT DD SYSOUT=*
33//SORTOUT DD DISP=(NEW,CATLG,DELETE),
34// UNIT=SYSDA,
35// DCB=(*.SORTIN),
36// SPACE=(CYL,(1,1),RLSE),
37// DSN=AWS.M2.CARDDEMO.TRANSACT.COMBINED(+1)
38//* *******************************************************************
39//* Load combined file to transaction master
40//* *******************************************************************
41//STEP10 EXEC PGM=IDCAMS
42//SYSPRINT DD SYSOUT=*
43//TRANSACT DD DISP=SHR,
44// DSN=AWS.M2.CARDDEMO.TRANSACT.COMBINED(+1)
45//TRANVSAM DD DISP=SHR,
46// DSN=AWS.M2.CARDDEMO.TRANSACT.VSAM.KSDS
47//SYSIN DD *
48 REPRO INFILE(TRANSACT) OUTFILE(TRANVSAM)
49/*
50//*
51//* Ver: CardDemo_v1.0-15-g27d6c6f-68 Date: 2022-07-19 23:23:05 CDT
52//*