Batch Job & DATACLAS
Route File to User-Defined Destination
|The SimoTime Home Page|
This is a single step job. It uses IEBGENER to create a sequential file containing 80-byte records. The DATACLAS function is used to override the default location (or physical location) for the file.
We have made a significant effort to ensure the documents and software technologies are correct and accurate. We reserve the right to make changes without notice at any time. The function delivered in this version is based upon the enhancement requests from a specific group of users. The intent is to provide changes as the need arises and in a timeframe that is dependent upon the availability of resources.
Copyright © 1987-2018
SimoTime Technologies and Services
All Rights Reserved
The following member (RPDCLSJ1.jcl) is the JCL that will create the file that will be placed at a pre-defined user location.
//RPDCLSJ1 JOB SIMOTIME,CLASS=1,MSGCLASS=0,NOTIFY=CSIP1 //* ******************************************************************* //* RPDCLSJ1.JCL - a JCL Member for Batch Job Processing * //* This JCL Member is provided by SimoTime Technologies * //* (C) Copyright 1987-2018 All Rights Reserved * //* Web Site URL: http://www.simotime.com * //* e-mail: firstname.lastname@example.org * //* ******************************************************************* //* //* Text - Route to Folder based on DATACLAS. //* Author - SimoTime Technologies //* Date - January 24, 1996 //* //* This is a single step job. It uses IEBGENER to create a sequential //* file containing 80-byte records. //* //* The DATACLAS=PRINTOUT on the SYSUT2 DD statement is used to route //* the file to a user defined destination. //* //* The SYSOUT=* will create a unique file name that contains the Date, //* Time and Job Number. //* //* This set of programs will run on a Windows System with Micro //* Focus Enterprise Developer/Server. //* //* ******************************************************************* //* Step 1 of 1, Create a File... //* //QCRTDIN1 EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //* :....1....:....2....:....3....:....4....:....5....:....6....:....7. //SYSUT1 DD * 1Report Identifier Primary Header 2010/01/05 Page: 0001 Sub-Title Info 12:05:22pm Left Data-01 Center Data 01 Right Data 01 Left Data-02 Center Data 02 Right Data 02 Left Data-03 Center Data 03 Right Data 03 Left Data-04 Center Data 04 Right Data 04 Left Data-05 Center Data 05 Right Data 05 1Report Identifier Primary Header 2010/01/05 Page: 0002 Sub-Title Info 12:05:22pm Left Data-21 Center Data 21 Right Data 21 Left Data-22 Center Data 22 Right Data 22 Left Data-23 Center Data 23 Right Data 23 Left Data-24 Center Data 24 Right Data 24 Left Data-25 Center Data 25 Right Data 25 /* //SYSUT2 DD SYSOUT=J,DEST=JES2,DATACLAS=PRINTOUT //* //
The following member (CATMAPA1.cfg) is the configuration file that defines the user location.
# ---------------------------------------------------------------- # This example will focus on Micro Focus Enterprise Server and the # Mainframe Sub-System (or ES/MSS). When a Region (or Server) is # configured within Micro Focus Enterprise Server to run batch jobs # (i.e. submit JCL) a default directory is defined and used for # placement of new physical files that are allocate by a job. # This is an example of how to catalog a new data set and override # the base configuration and place the physical file in an # alternate directory.. The technique provides the capability to # key off any portion of a catalog record to control the target # directory where the physical files will reside. # # All keywords must be in UPPER case. # # Each rule can occupy only 1 line. Examples are below: # # The rules are applied to any new catalog record in the order # in which they occur in this file. The first rule that matches # upon an offset within the catalog record will be used. # # Note: To have the catalogs retain their portability it is a # good practice to keep the "SUBDIR" directories at the # same level or in directories that are children of the # directory containing the CATALOG.DAT file. In the # example below the CATALOG.DAT file may be located in # "C:\SimoSam1\DEVL\DATA\". This is not an absolute # requirement. However, this will help with the # maintenance and support efforts. # # To enable set the following environment variable: # # ES_ALLOC_OVERRIDE=d:\dirname\CatMapA1.cfg # # The name of the configuration file can be any valid Windows # file name. In the following examples there is one rule that is # keying off the High Level Qualifier or HLQ (SIMOTIME.WRK1), one # that is keying off the fact that it is a “spool” record, etc. # ---------------------------------------------------------------- # # Key off of the DATACLAS value. OFFSET(449) VALUE(PRINTOUT) SUBDIR(<CATALOGFOLDER>\PRINTOUT) OFFSET(449) VALUE(TAPECLAS) SUBDIR(<CATALOGFOLDER>\TAPE) # Key off of the spool indicator OFFSET(313) VALUE(S) SUBDIR(<CATALOGFOLDER>\SPOOL) # Key off of the UNIT from DD # OFFSET(805) VALUE(CART) SUBDIR(C:\SimoSAM1\DEVL\DATA\TAPE) # Key off of the VOLUME value. # OFFSET(314) VALUE(CSIWRK) SUBDIR(C:\MVSP0030\VOLUME) # Key off of the DSORG # OFFSET(324) VALUE(VSAM) SUBDIR(C:\MVSP0030\VSAM) # Key off of the LRECL # OFFSET(469) HEXVALUE(0063) SUBDIR(C:\MVSP0030\LRECL99) # Key off of the first leftmost bytes of the dataset name OFFSET(1) VALUE(SIMOTIME.DATA.GDGROUP1) SUBDIR(D:\A1GDGLIB) OFFSET(1) VALUE(SIMOTIME.TAPEFILE.) SUBDIR(<CATALOGFOLDER>\TAPE) OFFSET(1) VALUE(SIMOTIME.WRK1.) SUBDIR(<CATALOGFOLDER>\WRK1) OFFSET(1) VALUE(SIMOTIME.TEXT.) SUBDIR(<CATALOGFOLDER>\TXT1) OFFSET(1) VALUE(SIMOTIME.LRG2.) SUBDIR(d:\SORTWORK) OFFSET(1) VALUE(SIMOTIME.LRG3.) SUBDIR(c:\SORTWORK) # ----------------------------------------------------------------
The DATACLAS function is used to override the default location (or physical location) for the file. This document may be used to assist as a tutorial for new programmers or as a quick reference for experienced programmers.
In the world of programming there are many ways to solve a problem. This document and the links to other documents are intended to provide a greater awareness of the Data Management and Application Processing alternatives.
The documentation and software were developed and tested on systems that are configured for a SIMOTIME environment based on the hardware, operating systems, user requirements and security requirements. Therefore, adjustments may be needed to execute the jobs and programs when transferred to a system of a different architecture or configuration.
SIMOTIME Services has experience in moving or sharing data or application processing across a variety of systems. For additional information about SIMOTIME Services or Technologies please send an e-mail to: email@example.com or call 415 883-6565. We appreciate hearing from you.
Permission to use, copy, modify and distribute this software, documentation or training material for any purpose requires a fee to be paid to SimoTime Technologies. Once the fee is received by SimoTime the latest version of the software, documentation or training material 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 Technologies.
SimoTime Technologies makes no warranty or representations about the suitability of the software, documentation or learning material for any purpose. It is provided "AS IS" without any expressed or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. SimoTime Technologies 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, documentation or training material.
This section includes links to documents with additional information that are beyond the scope and purpose of this document. The first group of documents may be available from a local system or via an internet connection, the second group of documents will require an internet connection.
Note: A SimoTime License is required for the items to be made available on a local system or server.
The following links may be to the current server or to the Internet.
Note: The latest versions of the SimoTime Documents and Program Suites are available on the Internet and may be accessed using the icon. If a user has a SimoTime Enterprise License the Documents and Program Suites may be available on a local server and accessed using the icon.
Explore how to catalog a new data set and override the base configuration and place the physical file in an alternate directory.
Explore The File Status Return Codes to interpret the results of accessing VSAM data sets and/or QSAM files.
The following links will require an internet connection.
This suite of programs and documentation is available for download. Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
A good place to start is The SimoTime Home Page for access to white papers, program examples and product information. This link requires an Internet Connection
Explore The Micro Focus Web Site for more information about products and services available from Micro Focus. This link requires an Internet Connection.
Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.
This document was created and is copyrighted and maintained by SimoTime Technologies.
If you have any questions, suggestions, comments or feedback please call or send an e-mail to: firstname.lastname@example.org
We appreciate hearing from you.
SIMOTIME Technologies was founded in 1987 and is a privately owned company. 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. Our customers include small businesses using Internet technologies to corporations using very large mainframe systems.
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. We specialize in preparing applications and the associated data that are currently residing on a single platform to be distributed across a variety of platforms.
Preparing the application programs will require the transfer of source members that will be compiled and deployed on the target platform. The data will need to be transferred between the systems and may need to be converted and validated at various stages within the process. SIMOTIME has the technology, services and experience to assist in the application and data management tasks involved with doing business in a multi-system environment.
Whether you want to use the Internet to expand into new market segments or as a delivery vehicle for existing business functions or need assistance with converting non-relational data structures simply give us a call at 415 883-6565 or check the web site at http://www.simotime.com
|Route File to User-Defined Destination, a Batch Job & DATACLAS|
|Copyright © 1987-2018
SimoTime Technologies and Services
All Rights Reserved
|When technology complements business|