| 1 | //CICCMP JOB 'Compile CICS Program',CLASS=A,MSGCLASS=H, |
| 2 | // MSGLEVEL=(1,1),REGION=0M,NOTIFY=&SYSUID,TIME=1440 |
| 3 | //********************************************************************* |
| 4 | //* change CICSPGMN to your program name everywhere |
| 5 | //*-----> C CICSPGMN xyz all <-------- |
| 6 | //* set HLQ to your high level qualifier |
| 7 | //********************************************************************* |
| 8 | //* Copyright Amazon.com, Inc. or its affiliates. |
| 9 | //* All Rights Reserved. |
| 10 | //* |
| 11 | //* Licensed under the Apache License, Version 2.0 (the "License"). |
| 12 | //* You may not use this file except in compliance with the License. |
| 13 | //* You may obtain a copy of the License at |
| 14 | //* |
| 15 | //* http://www.apache.org/licenses/LICENSE-2.0 |
| 16 | //* |
| 17 | //* Unless required by applicable law or agreed to in writing, |
| 18 | //* software distributed under the License is distributed on an |
| 19 | //* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, |
| 20 | //* either express or implied. See the License for the specific |
| 21 | //* language governing permissions and limitations under the License |
| 22 | //********************************************************************* |
| 23 | //**** Sample CICS COBOL Compile JCL ****** |
| 24 | //**** Check with your Administrator for ****** |
| 25 | //**** JCL suitable to your environment ****** |
| 26 | //********************************************************************* |
| 27 | //**** Compile CICS COBOL program ****** |
| 28 | //**** After compiling the related maps ****** |
| 29 | //********************************************************************* |
| 30 | //* Set Parms for this compile: |
| 31 | //********************************************************************* |
| 32 | // SET HLQ=AWS.M2 |
| 33 | // SET MEMNAME=CICSPGMN |
| 34 | //********************************************************************* |
| 35 | //* Add proclib reference |
| 36 | //********************************************************************* |
| 37 | //CCLIBS JCLLIB ORDER=&HLQ..CARDDEMO.PRC.UTIL |
| 38 | //********************************************************************* |
| 39 | //* compile the COBOL code: |
| 40 | //********************************************************************* |
| 41 | //CICSCMP EXEC BUILDONL,MEM=&MEMNAME,HLQ=&HLQ |
| 42 | //********************************************************************* |
| 43 | //**** CICS commands in batch to perform NEWCOPY ****** |
| 44 | //********************************************************************* |
| 45 | //NEWCOPY EXEC PGM=SDSF,COND=(4,LT) |
| 46 | //ISFOUT DD SYSOUT=* |
| 47 | //CMDOUT DD SYSOUT=* |
| 48 | //ISFIN DD * |
| 49 | /MODIFY CICSAWSA,'CEMT SET PROG(CICSPGMN) NEWCOPY' |
| 50 | /* |