|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create a List of Programs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Execute Batch Job Script |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Read LSEQ, Create RSEQ-ASC |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Extract Active Data Records |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generate Process Control Files (PCF's) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CMD, Execute Batch Job Script |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generate Multiple PCF's |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PCF Generation Parameters |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generate the COBOL Source Code |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Job Script name is ADM_GENRALL_CONVERTS.cmd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CBL_CODE is a COBOL Source Code member |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compile the Generated COBOL Members |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Execute IDCAMS Program using REPRO Function |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CBL_EXEC is a COBOL Executable member |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Execute the Convert Programs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
User defined job script |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EBC to ASC convert of Customer File |
|
|
|
|
|
|
|
|
Processing Logic to Generate, Compile and Execute multiple Convert Programs
|
Customer Master - a VSAM KSDS
The Customer Master File is a VSAM, KSDS with 512 byte records. The key starts in position 1 and is 12 bytes in length. The following sub-sections of this document describe some of the online transactions and associated programs available to view, update or add records in the Customer Master File.
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Inquire or Read Only (VSAM)
The Customer Master Inquiry Screen contains a prompt for a new Customer Number and the customer information from a previous request. Once a new customer number is entered the Customer Master File is accessed and the new information is displayed. The transaction identifier (or Tran ID) to view the customer master file is "CUI1" and the program name is "CU2INQ".
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
File Update (VSAM)
The update program is a COBOL program that uses command level CICS. The screens are standard BMS screens. This program has the capability to read existing records, update existing records and write new records from/to the Customer Master File. The transaction identifier (or Tran ID) to update the customer master file is "CUU1" and the program name is "CU2UPD".
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Hex-Dump of Records (VSAM)
The dump program (CUDUMP.CBL) is a COBOL program that uses command level CICS. The screens are standard BMS screens. This program is intended for use by support personnel and displays the record contents in hexadecimal format. A possible EBCDIC and ASCII display is also provided. The transaction identifier (or Tran ID) to hex-dump the customer master file is "CUD1" and the program name is "CUDUMP".
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Hex-Patch of Records (VSAM)
The patch program (CUMEND.CBL) is a COBOL program that uses command level CICS. The screens are standard BMS screens. This program is intended for use by support personnel and displays the record contents in hexadecimal format. A possible EBCDIC and ASCII display is also provided. A user may choose to patch (or update) a record. The transaction identifier (or Tran ID) to update the customer master file is "CUM1" and the program name is "CUMEND".
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Customer Table - Relational Data Base
This example uses a suite of COBOL programs and BMS map sets to execute programs that will provide data base inquiry or update functionality for the Customer Table. The programs use embedded EXEC SQL statements to access the Customer Table and display information to a 3270 terminal or terminal emulator. The programs run on an IBM Mainframe System with CICS or a Microsoft Windows System with Micro Focus Server for Mainframe Migration.
Read, Update and Insert Rows
The Customer Table Inquiry Screen contains a prompt for a new Customer Number and the customer information from a previous request. Once a new customer number is entered the Customer Data Base is accessed and the new information is displayed. The transaction identifier (or Tran ID) to update the customer table is "CQU1" and the program name is "CQ2UPD".
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Item Master - a VSAM KSDS
The Item Master File is a VSAM, KSDS with 512 byte records. The key starts in position 1 and is 12 bytes in length. The following sub-sections of this document describe some of the online transactions and associated programs available to view, update or add records in the Item Master File.
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Inquire or Read Only (VSAM)
The Item Master Inquiry Screen contains a prompt for a new Item Number and the item information from a previous request. Once a new item number is entered the Item Master File is accessed and the new information is displayed. The transaction identifier (or Tran ID) to view the customer master file is "ITI1" and the program name is "IT2INQ".
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
File Update (VSAM)
The update program is a COBOL program that uses command level CICS. The screens are standard BMS screens. This program has the capability to read existing records, update existing records and write new records from/to the Item Master File. The transaction identifier (or Tran ID) to update the customer master file is "ITU1" and the program name is "IT2UPD".
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Utility Programs & Reference Material
The following set of programs are provided to assist programmers and support personnel that are involved with the maintenance and support of CICS applications and the associated data.
View File Status Codes
This suite of programs prompts a user for a File Status return code and then provides a brief description of the cause of the return code. The transaction identifier (or Tran ID) to display a file status code is "FSC1" and the program name is "FILERC".
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
The preceding links provide a method for doing look-ups of file status codes from a CICS transaction. The following link provides access to an HTML document with the file status codes.
Explore
The File Status Return Codes
to interpret the results of accessing VSAM data sets and QSAM files.
File Properties Repository
This suite of programs provides access to the File Properties Repository. The repository is a VSAM, KSDS and the key is a fully qualifies MVS Data Set Name (DSN).
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Application Properties Repository
This suite of programs provides access to the Application Properties Repository. The repository is a VSAM, KSDS and the key is the member name. The member name may be the DD name or the filename with an extension.
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Special Requirements
This section will describe programs and techniques that may be considered a bit esoteric but are quite often in the critical path within an application.
Assembler, non-Executable Member
In the CICS environment on the mainframe it was a common practice to use the EXEC CICS LOAD function to load a data table into memory. These data tables were typically created as mainframe assembler source members. The source members were then compiled and linked as non-Executable load members.
This example will describe how to create a non-executable load member from Assembler Source Code for the Micro Focus Studio and Server environments running in EBCDIC or ASCII.
Extract FCT Entries from DFHDRDAT
The resource used by the Micro Focus Enterprise Server, Mainframe Subsystem Support (or ES/MSS) is stored in the resource definitions file (DFHDRDAT). This file is a Micro Focus Key-Sequenced-Data-Set. This utility program provides a batch access to get the FCT information and post this information into an ASCII/Text file.
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Extract PCT Entries from DFHDRDAT
The resource used by the Micro Focus Enterprise Server, Mainframe Subsystem Support (or ES/MSS) is stored in the resource definitions file (DFHDRDAT). This file is a Micro Focus Key-Sequenced-Data-Set. This utility program provides a batch access to get the PCT information and post this information into an ASCII/Text file.
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Submit JCL to INTRDR from CICS
This example uses a COBOL program running under CICS to submit a job (i.e. JCL) to the Internal Reader (or INTRDR). The program uses command level CICS statements (EXEC CICS SPOOL) to access the internal reader. The program will run on an IBM Mainframe System with CICS or a Microsoft Windows System with Micro Focus Server and the Mainframe Sub-System option.
Review the Documentation for this suite of program members.
Link to an Evaluation zPAK Option that includes the program members, documentation and control files.
Summary
The purpose of this document is to assist as a tutorial for new programmers or as a quick reference for experienced programmers that are interested in supporting an application that is dependent on the mainframe CICS architecture. Links to additional documents, programming examples and services are provided.
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.
Downloads and Links
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.
Current Server or Internet Access
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 An Enterprise System Model that describes and demonstrates how Applications that were running on a Mainframe System and non-relational data that was located on the Mainframe System were copied and deployed in a Microsoft Windows environment with Micro Focus Enterprise Server.
Explore the Assembler Connection for more examples of mainframe Assembler programming techniques and sample code.
Explore the COBOL Connection for more examples of COBOL programming techniques and sample code.
Explore the JCL Connection for more examples of JCL functionality with programming techniques and sample code.
Explore the SQL Connection for more examples of how to create, manipulate and delete Relational Data Bases. The COBOL programs are written to compile and execute on a Windows System with SQL Server and Micro Focus Enterprise Server or an IBM Mainframe System with DB2.
Explore the non-Relational Data Connection for more examples of accessing methodologies and coding techniques for Data Files and VSAM Data Sets.
Explore the Numbers Connection for additional information about the structure and processing of numeric data items (or numeric fields).
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.
Internet Access Required
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.
Glossary of Terms
Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.
Contact or Feedback
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.
|
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.
Company Overview
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
Copyright © 1987-2025 SimoTime Technologies and Services All Rights Reserved |
When technology complements business |
http://www.simotime.com |
|