Batch Jobs, Function Test Validate Basic Server Configuration |
The SimoTime Home Page |
This document describes a suite of jobs and associated programs the are used to validate the installation, configuration and start-up of a Micro Focus User-Defined Server Instance that is configured to run mainframe-oriented jobs (i.e. submit a JCL Member for execution). This server will be referred to as the JES Server.
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-2025
SimoTime Technologies and Services
All Rights Reserved
This is a very simple test job (UVBR00J1.jcl) that uses IEFBR14 to return to caller. This job will test the basic functions of the JES Server's configuration.
//UVBR00J1 JOB SIMOTIME,CLASS=1,MSGCLASS=0,NOTIFY=CSIP1,USER=SIMOTIME //* ******************************************************************* //* UVBR00J1.JCL - a JCL Member for Batch Job Processing * //* This JCL Member is provided by SimoTime Technologies * //* (C) Copyright 1987-2019 All Rights Reserved * //* Web Site URL: http://www.simotime.com * //* e-mail: helpdesk@simotime.com * //* ******************************************************************* //* //* Text - Set Condition-Code to ZERO and return to caller //* Author - SimoTime Technologies //* Date - January 24, 1996 //* //* ******************************************************************* //* Step 1 of 1, Execute the program... //* //NULLSTEP EXEC PGM=IEFBR14 //*
This is a simple test job (UVDD01J1.jcl) that uses IEBGENER to create a test file. This job will test the JES Server's configuration for allocating and accessing data files.
//UVDD01J1 JOB SIMOTIME,CLASS=1,MSGCLASS=0,NOTIFY=CSIP1 //* ******************************************************************* //* UVDD01J1.JCL - a JCL Member for Batch Job Processing * //* This JCL Member is provided by SimoTime Technologies * //* (C) Copyright 1987-2019 All Rights Reserved * //* Web Site URL: http://www.simotime.com * //* e-mail: helpdesk@simotime.com * //* ******************************************************************* //* //* Text - Create a Sequential Data Set on disk using IEBGENER. //* Author - SimoTime Technologies //* Date - January 24, 1996 //* //* The first job step (PREPARE) will delete a previously created //* file. The second job step (BUILDNEW) will create a new file. //* //* This set of programs will run on a mainframe under MVS or on a //* Personal Computer with Windows and Micro Focus Mainframe Express. //* //* ******************************************************************* //* Step 1 of 2, Delete any previously created file... //* //JOBSETUP EXEC PGM=IEFBR14 //SYSUT2 DD DSN=SIMOTIME.DATA.UVFILE01,DISP=(MOD,DELETE,DELETE), // STORCLAS=MFI, // SPACE=(TRK,5), // DCB=(RECFM=FB,LRECL=80,DSORG=PS) //* //* ******************************************************************* //* Step 2 of 2, Create and populate a new QSAM file... //* //BUILDNEW EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //* :....1....:....2....:....3....:....4....:....5....:....6....:....7. //SYSUT1 DD * UVFILE01,RECORD,001,ABC UVFILE01,RECORD,002.0123456789 UVFILE01,RECORD,003,ABCDEFGHIJKLMNOPQRSTUVWXYZ UVFILE01,RECORD,004,abcdefghijklmnopqrstuvwxyz UVFILE01,RECORD,005,9876543210 UVFILE01,RECORD,006,ZYX /* //SYSUT2 DD DSN=SIMOTIME.DATA.UVFILE01, // DISP=(NEW,CATLG,DELETE), // STORCLAS=MFI, // SPACE=(TRK,5), // DCB=(RECFM=FB,LRECL=80,DSORG=PS) //
This is a simple test job that will access a member within a PDS and execute the SORT program. Its primary purpose is to test the JES Server's configuration for sorting data files. Its secondary purpose is to test the JES Server's configuration of accessing a PDS Member within a PDS to obtain the sorting specifications. Also, it may be used to show the differences in the EBCDIC and ASCII collating sequencing. This job sorts the file created by the job (UVDD01J1.jcl) described in the preceding section of this document.
The following (UVDD01J2.jcl) is the JCL Member that is used to sort the file.
//UVDD01J2 JOB SIMOTIME,ACCOUNT,CLASS=1,MSGCLASS=0,NOTIFY=&SYSUID //* ******************************************************************* //* UVDD01J2.JCL - a JCL Member for Batch Job Processing * //* This JCL Member is provided by SimoTime Technologies * //* (C) Copyright 1987-2019 All Rights Reserved * //* Web Site URL: http://www.simotime.com * //* e-mail: helpdesk@simotime.com * //* ******************************************************************* //* //* Text - Sort a File, create a new sorted file. //* Author - SimoTime Technologies //* Date - January 24, 1996 //* //* The first job step (PREPARE) will delete a previously created //* file. The second job step (SORTFILE) will sort records from an //* input file and create a new file. The sorting specifications are //* obtained from a PDS Member in a PDS. //* //* Note: the input file to be sorted is created by UVDD01J1.JCL //* //* This set of programs will run on a mainframe under MVS or on a //* Personal Computer with Windows and Micro Focus Server. //* //* ******************************************************************* //* Step 1 of 2, Delete previously created files... //* //JOBSETUP EXEC PGM=IEFBR14 //SYSUT2 DD DSN=SIMOTIME.DATA.UVFILES1,DISP=(MOD,DELETE,DELETE), // STORCLAS=MFI, // SPACE=(TRK,5), // DCB=(RECFM=FB,LRECL=80,DSORG=PS) //* //* ******************************************************************* //* Step 2 of 2, Sort the file... //* //SORTFILE EXEC PGM=SORT,COND=(0,LT), // REGION=1024K //SYSIN DD DSN=SIMOTIME.PDS.PARMLIB(UVDD01T1),DISP=SHR //SORTIN DD DSN=SIMOTIME.DATA.UVFILE01,DISP=OLD //SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,55) //SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,55) //SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,55) //SORTOUT DD DSN=SIMOTIME.DATA.UVFILES1,DISP=(NEW,CATLG,DELETE), // STORCLAS=MFI,SPACE=(TRK,5), // DCB=(RECFM=FB,LRECL=80,DSORG=PS) //SYSOUT DD SYSOUT=* //*
The following (UVDD01T1.ctl) is the PDS Member that contains the sort specifications.
* ASCENDING SORT ON POSTAL CODE, LAST, FIRST AND MIDDLE NAME * ..:....1....:....2....:....3....:....4....:....5....:....6....:....7. SORT FIELDS=(21,26,CH,A) SUM FIELDS=NONE END
The following is a list or the records showing the sequence after a sort using the default ASCII collating sequence.
UVFILE01,RECORD,002.0123456789 UVFILE01,RECORD,005,9876543210 UVFILE01,RECORD,001,ABC UVFILE01,RECORD,003,ABCDEFGHIJKLMNOPQRSTUVWXYZ UVFILE01,RECORD,006,ZYX UVFILE01,RECORD,004,abcdefghijklmnopqrstuvwxyz
This is a simple test job that will access a member within a PDS and execute the SORT program. This job will describe and demonstrate how to do a case insensitive sort using the ALTSEQ function. This job sorts the file created by the job (UVDD01J1.jcl) described in a preceding section of this document.
The following (UVDD01J2.jcl) is the JCL Member that is used for a case-insensitive sort of the file.
//UVDD01J3 JOB SIMOTIME,ACCOUNT,CLASS=1,MSGCLASS=0,NOTIFY=&SYSUID //* ******************************************************************* //* UVDD01J3.JCL - a JCL Member for Batch Job Processing * //* This JCL Member is provided by SimoTime Technologies * //* (C) Copyright 1987-2019 All Rights Reserved * //* Web Site URL: http://www.simotime.com * //* e-mail: helpdesk@simotime.com * //* ******************************************************************* //* //* Text - Sort a File, create a new sorted file. //* Author - SimoTime Technologies //* Date - January 24, 1996 //* //* The first job step (PREPARE) will delete a previously created //* file. The second job step (SORTFILE) will sort records from an //* input file and create a new file. The sorting specifications are //* obtained from a PDS Member in a PDS. //* //* Note: the input file to be sorted is created by UVDD01J1.JCL //* //* This set of programs will run on a mainframe under MVS or on a //* Personal Computer with Windows and Micro Focus Server. //* //* ******************************************************************* //* Step 1 of 2, Delete previously created files... //* //JOBSETUP EXEC PGM=IEFBR14 //SYSUT2 DD DSN=SIMOTIME.DATA.UVFILES2,DISP=(MOD,DELETE,DELETE), // STORCLAS=MFI, // SPACE=(TRK,5), // DCB=(RECFM=FB,LRECL=80,DSORG=PS) //* //* ******************************************************************* //* Step 2 of 2, Sort the file... //* //SORTFILE EXEC PGM=SORT,COND=(0,LT), // REGION=1024K //SYSIN DD DSN=SIMOTIME.PDS.PARMLIB(UVDD01T2),DISP=SHR //SORTIN DD DSN=SIMOTIME.DATA.UVFILE01,DISP=OLD //SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,55) //SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,55) //SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,55) //SORTOUT DD DSN=SIMOTIME.DATA.UVFILES2,DISP=(NEW,CATLG,DELETE), // STORCLAS=MFI,SPACE=(TRK,5), // DCB=(RECFM=FB,LRECL=80,DSORG=PS) //SYSOUT DD SYSOUT=* //*
The following (UVDD01T1.ctl) is the PDS Member that contains the sort specifications for the case insensitive sort using the ALTSEQ function.
* CASE INSENSITIVE SORT * ALTERNATE SEQUENCE FOR ASCII-ENCODED DATA * ..:....1....:....2....:....3....:....4....:....5....:....6....:....7. SORT FIELDS=(21,26,AQ,A) ALTSEQ CODE=(6141,6242,6343,6444,6545,6646,6747,6848,6949, 6A4A,6B4B,6C4C,6D4D,6E4E,6F4F,7050,7151,7252, 7353,7454,7555,7656,7757,7858,7959,7A5A) END
The following is a list or the records showing the sequence after a sort using the ALTSEQ function to sequence the output file base on upper case A-Z being equal to lower case a-z..
UVFILE01,RECORD,002.0123456789 UVFILE01,RECORD,005,9876543210 UVFILE01,RECORD,001,ABC UVFILE01,RECORD,003,ABCDEFGHIJKLMNOPQRSTUVWXYZ UVFILE01,RECORD,004,abcdefghijklmnopqrstuvwxyz UVFILE01,RECORD,006,ZYX
This document describes a suite of jobs and associated programs the are used to validate the installation, configuration and start-up of a Micro Focus User-Defined Server that is configured to run mainframe-oriented jobs (i.e. submit a JCL Member for execution). This document may be used 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 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 contact us using the information in the Contact or Feedback section of this document.
Software Agreement and Disclaimer
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 The ASCII and EBCDIC Translation Tables. These tables are provided for individuals that need to better understand the bit structures and differences of the encoding formats.
Explore The File Status Return Codes that are used to interpret the results of accessing VSAM data sets and/or QSAM files.
The following links will require an internet connect.
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 (including Micro Focus COBOL) 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 maintained by SimoTime Technologies. If you have any questions, suggestions, comments or feedback please use the following contact information.
1. | Send an e-mail to our helpdesk. |
1.1. | helpdesk@simotime.com. |
2. | Our telephone numbers are as follows. |
2.1. | 1 415 763-9430 office-helpdesk |
2.2. | 1 415 827-7045 mobile |
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 simply give us a call or check the web site at http://www.simotime.com
Return-to-Top |
Functional Testing for Batch Jobs, Validate Basic Server Configuration and Start-Up |
Copyright © 1987-2025 SimoTime Technologies and Services All Rights Reserved |
When technology complements business |
http://www.simotime.com |