| 1 | //CIDBCMP JOB 'Compile CICS DB2 PGM',CLASS=A,MSGCLASS=H, |
| 2 | // MSGLEVEL=(1,1),REGION=0M,NOTIFY=&SYSUID,TIME=1440 |
| 3 | //********************************************************************* |
| 4 | //* change CICSDB2P to your program name everywhere |
| 5 | //*-----> C CICSDB2P xyz all <-------- |
| 6 | //* set HLQ to your high level qualifier |
| 7 | //* set SSID to your DB2 SSID !!! |
| 8 | //********************************************************************* |
| 9 | //* Copyright Amazon.com, Inc. or its affiliates. |
| 10 | //* All Rights Reserved. |
| 11 | //* |
| 12 | //* Licensed under the Apache License, Version 2.0 (the "License"). |
| 13 | //* You may not use this file except in compliance with the License. |
| 14 | //* You may obtain a copy of the License at |
| 15 | //* |
| 16 | //* http://www.apache.org/licenses/LICENSE-2.0 |
| 17 | //* |
| 18 | //* Unless required by applicable law or agreed to in writing, |
| 19 | //* software distributed under the License is distributed on an |
| 20 | //* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, |
| 21 | //* either express or implied. See the License for the specific |
| 22 | //* language governing permissions and limitations under the License |
| 23 | //********************************************************************* |
| 24 | //**** Sample CICS COBOL Db2 compile JCL ****** |
| 25 | //**** Check with your Administrator for ****** |
| 26 | //**** JCL suitable to your environment ****** |
| 27 | //********************************************************************* |
| 28 | //**** Compile CICS COBOL program ****** |
| 29 | //**** After compiling the related maps ****** |
| 30 | //********************************************************************* |
| 31 | //* Set Parms for this compile: |
| 32 | //********************************************************************* |
| 33 | // SET HLQ=AWS.M2.CARDDEMO |
| 34 | // SET SSID=DAZ1 |
| 35 | // SET MEMNAME=CICSDB2P |
| 36 | // SET SRCLIB=&HLQ..CBL |
| 37 | // SET COPYLIB=&HLQ..CPY |
| 38 | // SET DCLLIB=&HLQ..DCL |
| 39 | // SET LOADLIB=&HLQ..LOADLIB |
| 40 | // SET DBRMLIB=&HLQ..DBRMLIB |
| 41 | // SET SYSLBLK=3200 |
| 42 | // SET PLAN=CARDDEMO |
| 43 | //********************************************************************* |
| 44 | //* Add proclib reference |
| 45 | //********************************************************************* |
| 46 | //CCLIBS JCLLIB ORDER=&HLQ..PROC.UTIL |
| 47 | //********************************************************************* |
| 48 | //* Make JCL Symbols available to PROC |
| 49 | //********************************************************************* |
| 50 | // EXPORT SYMLIST=* |
| 51 | //********************************************************************* |
| 52 | //* compile the COBOL code: |
| 53 | //********************************************************************* |
| 54 | //CICSCMP EXEC BLDCIDB2,MEMNAME=&MEMNAME,HLQ=&HLQ,SSID=&SSID,PLAN=&PLAN |
| 55 | |
| 56 | |