Application Support
Programs, Procedures & System Options
  Table of Contents  v-24.01.01 - applsupp.htm 
  Introduction
  Overview, Support Scripts
  Support Scripts & Procedures (Linux)
  IMS Information within Enterprise Server
  IMS Info, Summary Overview of IMS Queues
  Housekeeping
  Housekeeping, Orphaned Processes (Linux)
  Diagnostic Procedures
  Micro Focus, CORE_ON_ERROR
  Micro Focus, Consolidated Trace Facility (CTF)
  Upper & Lower Case Dependencies
  Profiler, Run Time Performance of a COBOL Program
  Utility Programs - New or Replacements
  Utility Program - ILBOABN0
  Utility Program - DTSYSCON
  Summary
  Software Agreement and Disclaimer
  Downloads and Links
  Current Server or Internet Access
  Internet Access Required
  Glossary of Terms
  Contact or Feedback
  Company Overview
The SimoTime Home Page 

Table of Contents Previous Section Next Section Introduction

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-2025
SimoTime Technologies and Services
All Rights Reserved

Table of Contents Previous Section Next Section Overview, Support Scripts

WIP

Table of Contents Previous Section Next Section Support Scripts & Procedures (Linux)

WIP

Script-Name Description
ds_maint Basic script to start and stop mfds
ds_maint SERVER=servername TYPE=start
es_full_stop This script will terminate all processes associated with the named region.
es_full_stop regionname
es_maint Basic script to start and stop REGIONS
es_maint SERVER=servername TYPE=start
setenv Basic script to set environment
./setenv 
  Table 01: Overview of Scripts for Application and System Support

Table of Contents Previous Section Next Section IMS Information within Enterprise Server

WIP

Table of Contents Previous Section Next Section IMS Info, Summary Overview of IMS Queues

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.

Table of Contents Previous Section Next Section Housekeeping

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.

Table of Contents Previous Section Next Section Housekeeping, Orphaned Processes (Linux)

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.

Script-Name Description
mfmemclean This can be passed the name of a Server, and will remove all shared memory, semaphore allocations, and message queues relating to it before killing the CAS processes. This should be used when mfds shows no servers started but CAS processes still exist from a previous mfds that has not been shutdown adequately, rather than killing the CAS processes from the command line.
  (e.g. mfmemclean ESDEMO)
mfmemlist This can be passed the name of a server and will list all shared memory, semaphores and message queue allocations relating to it. It can be used to monitor shared memory usage by servers and incorporated into tests.
  (e.g. mfmemlist ESDEMO)
  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.

Script-Name Description
mfmempurge This script will remove semaphores and shared memory that no longer have a valid process attached. This script can be used to clear redundant shared memory and semaphores where the CAS processes have died. The script only removes allocations for the login currently set by the environment variable $LOGNAME. The purge will not affect any currently running servers that still have valid CAS processes running for each shared memory and semaphore allocation.
  (e.g. mfmempurge , then answer “y” to the warning question)
mfmemtrash Will remove all shared memory, semaphores and message queues relating to your login id. This is to be used when both mfds and the CAS processes relating to a server have been stopped and only the shared memory, semaphores and message queues remain.
  (e.g. mfmemtrash, then answer “y” to the warning question)
  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!

Table of Contents Previous Section Next Section Diagnostic Procedures

This section will focus on the trace functions that are available within Enterprise Server and used during the Proof-of-Concept effort.

Table of Contents Previous Section Next Section Micro Focus, CORE_ON_ERROR

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.

set COBCONFIG_=$ESROOT\ES\cfg\Diagnose.CFG

Note:  For the Linux environment the COBCONFIG_ is COBCONFIG without the trailing underscore. The following environment variables need to be set to enable CTF.

Table of Contents Previous Section Next Section Micro Focus, Consolidated Trace Facility (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

set MFTRACE_CONFIG=$ESROOT\ES\cfg\ctf.cfg

set MFTRACE_LOGS=$ESROOT\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.

Table of Contents Previous Section Next Section Upper & Lower Case Dependencies

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.

chcase UL

Table of Contents Previous Section Next Section Profiler, Run Time Performance of a COBOL Program

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:

program-name.ipf

To run Profiler on UNIX or Linux, enter a command line of the form:

cobprof filenames directives

for example

cobprof programname.ipf +LIST

To run Profiler on Windows, enter a command line of the form:

profiler filenames directives

for example

profiler programname.ipf +LIST

Table of Contents Previous Section Next Section Utility Programs - New or Replacements

WIP

Table of Contents Previous Section Next Section Utility Program - ILBOABN0

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.

Link to Internet   Link to Server   Explore a User Defined ABEND Capability that provides call stack information using a call from a COBOL program.

Table of Contents Previous Section Next Section Utility Program - DTSYSCON

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.

Link to Internet   Link to 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.

Table of Contents Previous Section Next Section Summary

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 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.

Table of Contents Previous Section Next Section 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.

Table of Contents Previous Section Next Section 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.

Table of Contents Previous Section Next Section 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 Link to Internet 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 Link to Server icon.

Link to Internet   Link to Server   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.

Link to Internet   Link to Server   Explore The File Status Return Codes that are used to interpret the results of accessing VSAM data sets and/or QSAM files.

Table of Contents Previous Section Next Section Internet Access Required

The following links will require an internet connect.

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.

Table of Contents Previous Section Next Section Glossary of Terms

Link to Internet   Link to Server   Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.

Table of Contents Previous Section Next Section 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.
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.

Table of Contents Previous Section Next Section 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


Return-to-Top
Application and System Support, Programs and Procedures
Copyright © 1987-2025
SimoTime Technologies and Services
All Rights Reserved
When technology complements business
http://www.simotime.com