|
|||||
|
The JCL Connection provides a suite of sample programs and documentation that use the mainframe Job Control Language (JCL). The JCL members are written to run as MVS batch jobs on an IBM mainframe or as a project with Micro Focus Mainframe Express (MFE) running on a PC with Windows (refer to http://www.microfocus.com ). If a technique is used that is unique to the mainframe and not supported by Mainframe Express it will be noted.
This section is intended for individuals that are learning, creating or maintaining mainframe MVS jobs. The following is a quick list of the examples provided by The JCL Connection.
| JCL Example | Description |
| Quick Reference | This example provides a quick reference document with examples. |
| Syntax Checking | An example of how to syntax check a JCL member without executing the job steps. Also includes sort examples. |
| Conditional Processing | An example of conditional processing with JCL. |
| Managing PDS's | This example shows how to create Partitioned Data Sets (PDS's). |
| Using PROCs | This suite of programs provides examples of using JCL Procedures to perform repetitive tasks. |
| Internal Reader | This suite of programs describe how to submit a second job from within the current running job |
| Compiling and Linking Programs | This suite of programs provides examples of how to Compile and Link programs on the mainframe. This example is unique to the mainframe. |
| Passing a Parameter | This example shows how to pass a parameter string from JCL to a COBOL program using the PARM='xxxxx' function of mainframe JCL. |
| Similar Topics | References to items in other sections that are related to mainframe JCL. |
This section provides examples of mainframe JCL. The source members provided by SimoTime are stored in Partitioned Data Sets on the mainframe and a similar directory structure on the Personal Computer. The JCL described in the "Managing PDS's" example is actually used to create PDS's, store source members, compile the sample programs and test the sample programs.
This suite of programs provides an example of how to syntax check a mainframe JCL member. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of programs provides an example of how to do syntax checking of a JCL member without executing the job steps. The first two JOB steps use IEFBR14 to delete previously created files and then uses IEBGENER to create a new file. The next two JOB steps use the SORT utility to copy a file and to sort a file. A job step is included that will do a case insensitive sort. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of programs provides examples of conditional processing with JCL. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of programs provides examples of how to create PDS's. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of programs provides examples of how to use JCL Procedures (or PROC's) to create PDS's. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of programs will describe how to submit a second job from within the current running job using IEBGENER. A small sequential file is created by the second JCL member. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of programs will describe how to submit a second job from within the current running job using a COBOL program. The advantage of using a COBOL program is access to the records in the JCL member being submitted. The JCL may be submitted "as is" or modified. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of programs provides examples of how to Compile and Link programs. Simply click on one of the following items to learn more or download this sample set of programs.
The purpose of this suite of programs is to describe how to define and use a variable within a JCL member or Procedure member. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of programs provides examples of how JCL can pass a parameter string to the COBOL program that will be executed. Simply click on one of the following items to learn more or download this sample set of programs.
This suite of sample programs describes how to define a Generation Data Group (GDG). Once the GDG is defined the creation of a Generation Date Set (referred to as a generation or GDS) within the group is discussed. The COBOL program is written using the COBOL/2 dialect but works with COBOL for MVS and COBOL/370. Simply click on one of the following items to learn more or download this sample set of programs.
The purpose of this document is to assist as a tutorial for new programmers or as a quick reference for experienced programmers. These sample programs are made available on an "as-is" basis and may be downloaded in accordance with the Software Agreement and Disclaimer that is explained in the following section of this document. As always, it is the programmer's responsibility to thoroughly test all programs.
Permission to use, copy, modify and distribute this software for any commercial purpose requires a fee to be paid to SimoTime Enterprises. Once the fee is received by SimoTime the latest version of the software will be delivered and a license will be granted for use within an enterprise, provided the SimoTime copyright notice appear on all copies of the software. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Enterprises.
Permission to use, copy, modify and distribute this software for a non-commercial purpose and without fee is hereby granted, provided the SimoTime copyright notice appear on all copies of the software. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Enterprises.
SimoTime Enterprises makes no warranty or representations about the suitability of the software for any purpose. It is provided "AS IS" without any express or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. SimoTime Enterprises shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, arising out of or in connection with the use or performance of this software.
If you have any questions, suggestions or comments please call or send an e-mail to: helpdesk@simotime.com
You may download the JCL examples at http://www.simotime.com/sim4dzip.htm#ZipsforJCL as a Z-Packs. The Z-Packs provide individual programming examples, documentation and test data files in a single package. The Z-Packs are usually in zip format to reduce the amount of time to download.
Also, the Z-Packs provided for The Assembler Connection, The COBOL Connection, and The VSAM-QSAM Connection contain JCL to run the jobs on the mainframe or on the PC using Mainframe Express (MFE) from Micro Focus (refer to http://www.microfocus.com).
Please view the complete list of SimoTime Z-Pack Examples at http://www.simotime.com/sim4dzip.htm.
Note: You must be attached to the Internet to download a Z-Pack or view the list.
Check out The Assembler Connection in the SimoTime Library for more examples of mainframe Assembler techniques and sample code.
Check out The COBOL Connection in the SimoTime Library for more examples of mainframe COBOL techniques and sample code.
Check out The SQL Connection in the SimoTime Library for more mainframe SQL examples.
Check out The VSAM - QSAM Connection in the SimoTime Library for more examples of mainframe VSAM and QSAM coding techniques and sample code.
Check out The SimoTime Library for a wide range of topics for Programmers, Project Managers and Software Developers.
To review all the information available on this site start at The SimoTime Home Page.
Check out The SimoTime Glossary for a list of terms and definitions used in the documents provided by SimoTime.
If you have any questions, suggestions or comments please call or send an e-mail to: helpdesk@simotime.com.
Founded in 1987, SimoTime Enterprises is a privately owned, Limited Liability Corporation located in Novato, California. We specialize in the creation and deployment of business applications using new or existing technologies and services. We have a team of individuals that understand the broad range of technologies being used in today's environments. This includes the smallest thin client using the Internet and the very large mainframe systems. There is more to making the Internet work for your company's business than just having a nice looking WEB site. It is about combining the latest technologies and existing technologies with practical business experience. It's about the business of doing business and looking good in the process. Quite often, to reach larger markets or provide a higher level of service to existing customers it requires the newer Internet technologies to work in a complementary manner with existing corporate mainframe systems. Whether you want to use the Internet to expand into new market segments or as a delivery vehicle for existing business functions simply give us a call or check the web site at http://www.simotime.com.
| Return-to-Top |
| Copyright © 1987-2008 SimoTime Enterprises, LLC All Rights Reserved |
| When technology complements business |
| http://www.simotime.com |
| Version 05.11.11 |