| 1 | //SORTTEST JOB 'SORT STEP TESTING',CLASS=A,MSGCLASS=0,MSGLEVEL=(1,1), |
| 2 | // REGION=0M,NOTIFY=&SYSUID,TIME=1440 |
| 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 | //STEP05R EXEC PGM=SORT |
| 20 | //SORTIN DD DISP=SHR, |
| 21 | // DSN=AWS.M2.CARDDEMO.TRANSACT.BKUP(0) |
| 22 | //SYMNAMES DD * |
| 23 | TRAN-CARD-NUM,263,16,ZD |
| 24 | TRAN-PROC-DT,305,10,CH |
| 25 | PARM-DATE,C'2022-06-02' |
| 26 | //SYSIN DD * |
| 27 | SORT FIELDS=(TRAN-CARD-NUM,A) |
| 28 | INCLUDE COND=(TRAN-PROC-DT,EQ,PARM-DATE) |
| 29 | /* |
| 30 | //SYSOUT DD SYSOUT=* |
| 31 | //SORTOUT DD DISP=(NEW,CATLG,DELETE), |
| 32 | // UNIT=SYSDA, |
| 33 | // DCB=(*.SORTIN), |
| 34 | // SPACE=(CYL,(1,1),RLSE), |
| 35 | // DSN=AWS.M2.CARDDEMO.TRANSACT.DALY(+1) |
| 36 | //* |
| 37 | //* Ver: CardDemo_v1.0-57-g40b7caa-110 Date: 2022-08-19 18:00:43 CDT |
| 38 | //* |