Programs, Procedures & System Options
|The SimoTime Home Page|
This document will describe the utility programs and procedures that are used in support of the system and application environments. This document is intended for individuals that will be doing the system management and application testing. The programs and procedures are not part of the application but may be used to meet the service level objectives and system availability requirements of the business.
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-2019
SimoTime Technologies and Services
All Rights Reserved
|Table 01: Overview of Scripts for Application and System Support|
You can look at lots of useful information about the IMS Message Queue, including the amount of free space, by going into ESMAC, choosing IMS in the combobox on the left hand side and then going to the Control page.
From there you can press a pushbutton that Displays the Summary Overview of IMS Queues. You will see the amount of free space in the Free Space Array. The following is an example.
Free space array: 2,048 (Block number: Maximum number of free segments if less than max) -------------------------------- 0:113 20:252 25:161 33: 89 34: 29 35: 26 36: 20 37: 1 38: 2 39: 0 40: 3 41: 0 42: 3 43: 1 44: 1 45: 3 46: 16 47: 17 48: 1 49: 29 50: 49 51: 18 52: 42 53: 25 54: 27 55: 41 56: 16 57: 17 58: 44 59: 81 60: 35 61:190 62:133
This message queue has 2048 64K blocks allocated. Blocks 39 and 41 are full. Another 31 blocks are partially used. The rest of the message queue is unused and available.
During the initial stages of an application migration effort jobs may terminate abnormally or will be cancelled and leave files or processes in an incomplete status. This section will focus on the programs and procedures used to correct these conditions.
ES servers can sometimes be left running on machines with the shared memory and semaphores that they utilize when the mfds which they were started from has been shutdown. Four (4) scripts have been created to allow users to tidy up redundant CAS processes and memory allocation when these instances occur. The following tables provide a brief description of the scripts.
|Table 01: Overview of Scripts to Manage Orphaned Processes|
The following two scripts use a COBOL API to extract the id of the message queue to be removed and therefore requires an executable copy of mfmemqlist.int, mfmemqlist40.int and the environment configured to point to a valid COBOL product in order to execute fully. It is also recommended that CODIR is pointing to the same COBOL product used to start the mfds utility when running these scripts.
|Table 02: Overview of Scripts to Manage Orphaned Processes|
WARNING! memtrash should only be used as a last resort to remove redundant memory segments as there is no recovery process!
This section will focus on the trace functions that are available within Enterprise Server and used during the Proof-of-Concept effort.
The CORE_ON_ERROR function provides "after-the-fact" dump information when a system ABEND (such as a S0C7 or RTS-163) occurs.
The following shows the content of the DIAGNOSE.cfg configuration file that may be used to enable or disable the CORE_ON_ERROR function for a Windows System.
set CORE_ON_ERROR=131 set CORE_FILENAME="core.%p@%t_%d"
The following shows the content of the DIAGNOSE.cfg configuration file that may be used to enable or disable the CORE_ON_ERROR function for a Linux System.
set CORE_ON_ERROR=3 set CORE_FILENAME="core.%p@%t_%d"
Note: For the Linux environment the CORE_ON_ERROR=3 is not supported. Documentation is incorrect???
The location of the DIAGNOSE.cfg file is defined by using the COBCONFIG_ environment variable. The following is an example.
Note: For the Linux environment the COBCONFIG_ is COBCONFIG without the trailing underscore. The following environment variables need to be set to enable CTF.
The Consolidated Trace Facility (CTF) provides the ability to track program execution or program behavior at execution time.
set mftrace.emitter.textfile#location = D:\MFPOC\Sources\work\es\ctflogs
For detailed information about the Content of the CTF Configuration File refer to the System Preparation document that is included in this suite of documents.
The chcase script will convert the member name to upper/lower case based on the first letter of the two-character parameter. It will convert the file extension to upper/lower case based on the second letter of the two-character parameter.
The COBOL Profiler is a facility that enables you to obtain detailed statistics on the run-time performance of a COBOL program. The program will need to be compiled with the PROFILE compiler option.
The performance statistics produced using the PROFILE Compiler directive for that run of the program are contained in a file called:
To run Profiler on UNIX or Linux, enter a command line of the form:
cobprof filenames directives
cobprof programname.ipf +LIST
To run Profiler on Windows, enter a command line of the form:
profiler filenames directives
profiler programname.ipf +LIST
ILBOABN0 was replaced with a program that dumps the Micro Focus call stack to the Enterprise Server Console. This can be done by using an alias or making a copy of the SIMOABN0 with the ILBOABN0 name.
Explore a User Defined ABEND Capability that provides call stack information using a call from a COBOL program.
This is a new program that provides the application programmer with the ability to write to display a test string to the system console. The information is displayed in a hex-dump format and may be called from a batch or online program running under Micro Focus Enterprise Server.
Explore How to Dump the Content of a User Data String to the System Console Log. The dump information will be in hexadecimal format with a possible ASCII and EBCDIC translation.
This document will describe the utility programs and procedures that are used in support of the system and application environments. This document is intended for individuals that will be doing the system management and application testing. 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 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 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 to interpret the results of accessing VSAM data sets and/or QSAM files.
The following links will require an internet connect.
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 at 1 415 827-7045 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 simply give us a call or check the web site at http://www.simotime.com
|Application and System Support, Programs and Procedures|
|Copyright © 1987-2019
SimoTime Technologies and Services
All Rights Reserved
|When technology complements business|