MFmainframe-rea
WS carddemo · 26f629ef

jcl · 42 lines · sha256 ae512920b80849a0samples/jcl/BATCMP.jcl

1//CNJBATMP JOB 'Compile Batch COBOL Program',CLASS=A,MSGCLASS=H,
2// MSGLEVEL=(1,1),REGION=0M,NOTIFY=&SYSUID,TIME=1440
3//*********************************************************************
4//* change BATCHPGM to your program name everywhere
5//*-----> C BATCHPGM xyz all <--------
6//*********************************************************************
7//* Copyright Amazon.com, Inc. or its affiliates.
8//* All Rights Reserved.
9//*
10//* Licensed under the Apache License, Version 2.0 (the "License").
11//* You may not use this file except in compliance with the License.
12//* You may obtain a copy of the License at
13//*
14//* http://www.apache.org/licenses/LICENSE-2.0
15//*
16//* Unless required by applicable law or agreed to in writing,
17//* software distributed under the License is distributed on an
18//* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
19//* either express or implied. See the License for the specific
20//* language governing permissions and limitations under the License
21//*********************************************************************
22//**** Sample Batch COBOL Compile JCL ******
23//**** Check with your Administrator for ******
24//**** JCL suitable to your environment ******
25//*********************************************************************
26//* change BATCHPGM to your program name everywhere
27//*-----> C BATCHPGM xyz all <--------
28//*********************************************************************
29//**** COMPILE BATCH COBOL PROGRAM ******
30//*********************************************************************
31//* Set Parms for this compile:
32//*********************************************************************
33// SET MEMNAME=BATCHPGM
34// SET HLQ=AWS.M2
35//*********************************************************************
36//* Add proclib reference
37//*********************************************************************
38//CCLIBS JCLLIB ORDER=&HLQ..CARDDEMO.PRC.UTIL
39//*********************************************************************
40//* compile the COBOL code:
41//*********************************************************************
42//BATCMP EXEC BUILDBAT,MEM=&MEMNAME,HLQ=&HLQ