Application Inventory by Member Type
Source Member Categorization and Analysis
When technology complements business    Copyright © 1987-2017  SimoTime Enterprises  All Rights Reserved
  Table of Contents  v-13.11.21 - s1load01.htm 
  Introduction
  Architecture
  Architecture, Process Overview Diagram
  Architecture, Directory Structure Diagram
  Execution
  Technical Detail
  The CMD Members
  CMD, The Primary CMD Member
  CMD, BMS Member Processing
  CMD, COBOL Member Processing
  CMD, Assembler Member Processing
  CMD, JCL Member Processing
  CMD, Cross Reference Information
  CMD, Cross Reference Extract
  CMD, Cross Reference Sort
  CMD, Cross Reference Validate
  CMD, Housekeeping and Preparation
  CMD, Create a New Application Properties Repository
  CMD, Create a New Cross Reference File
  CMD, BMS Generation
  CMD, BMS - Create a List of Names
  CMD, BMS - Do the BMS Generations
  CMD, COBOL Compilations
  CMD, CBL - Create Four Lists of Names
  CMD, CBL - Do the COBOL Compiles for Batch without SQL
  CMD, CBL - Do the COBOL Compiles for Batch with SQL
  Record Structures
  Record Structure for the Application Properties Repository (APMASTER)
  Record Structure for the Copy File Cross Reference (COPYXREF)
  Summary
  Software Agreement and Disclaimer
  Downloads and Links to Similar Pages
  Downloads and Links, Internet Access Required
  Glossary of Terms
  Comments, Suggestions or Feedback
  Company Overview
The SimoTime Home Page 

Table of Contents Previous Section Next Section Introduction

This purpose of this document is to focus on the additional requirements after the initial source member typing has been completed.

1 Produce an HTML Document with Summary Totals for Source Member Counts by Category and Lines of Code
2 Provide for optional Detail for sub-Totals of Lines-of-Code, Blank-Lines and Comment-Lines by Individual Source Members
3 Provide for optional Hyperlinks to Individual Source Members
4 Provide for optional Cross Referencing of Program Members and Copy Files
5 Provide for optional WIP
  Summary Report for Application Properties

Table of Contents Previous Section Next Section Architecture

This section will focus on the architecture of the Source Member Categorization and Analysis programs and the Development Environment for managing and unit testing the application programs.

Table of Contents Previous Section Next Section Architecture, Process Overview Diagram

The objective of the "Categorization and Analysis" process is build a repository of information about the parts (i.e. source codes) that make up a business application. This information may then be used when estimating the scope of effort for program changes and creating scripted builds of the application load members or executable members.

The following diagram shows the logic flow for the "Categorization and Analysis" process.

             
APLOADW1
   
   
 
 
 
 
   
   
   
   
call
 
 
   
   
   
ENV1BASE
Set Common Environment Variables
   
   
   
call
 
 
   
   
   
   
   
IDCAMS
 
 
APALOCW1
 
 
APMASTER
Allocate a New APMASTER
   
   
   
call
 
 
   
   
   
   
   
COPY nul
 
 
APXREFW8
 
 
COPYXREF
Allocate a New Cross Reference File
   
   
   
call
 
 
   
   
   
   
   
BMS
 
 
APUBMSW1
 
 
APMASTER
Scan BMS Members
   
   
   
call
 
 
   
   
   
   
   
COBOL
 
 
APUCBLW1
   
   
APMASTER
Scan COBOL Members, create XREFLCSV
   
   
   
   
call
 
 
   
   
   
   
COPYXREF
Create XREFLCSV
   
   
   
HLASM
 
 
APUASMW1
 
 
APMASTER
Scan Assembler Members
   
   
   
call
 
 
   
   
   
   
   
JCL
 
 
APUJCLW1
 
 
APMASTER
Scan JCL Members
   
   
   
call
 
 
   
   
   
   
   
XREFLCSV
 
 
APXREFW1
 
 
XREFRFFL
Convert XREF Info from CSV to Fixed Field
   
   
   
call
 
 
   
   
   
   
   
XREFRFFL
 
 
APXREFW2
 
 
SORTXREF
Sort XREF Info by copy file name
   
   
   
call
 
 
   
   
   
   
   
SORTXREF
   
   
APXREFW3
 
 
SYSOUT
Validate if Copy File exist in Repository
   
   
   
APMASTER
   
   
   
   
   
call
 
 
   
   
   
   
   
APMASTER
 
 
APHTMLW3
 
 
APHML03
Generate HTML with Hyperlinks to Source
   
   
 
 
 
 
   
   
EOJ
This is End-of-Job, refer to Note-2
 
Note-1: Application Asset Repository
Note-2: This is a normal end-of-job
Process Flow for the Application Analysis and Categorization

Table of Contents Previous Section Next Section Architecture, Directory Structure Diagram

The following diagram shows the directory structure used by this sample suite of applications.

               
SIMOSAM1
See Note-1
   
   
 
 
DEVL
See Note-2
   
   
 
 
ADM1
 
 
and MORE
Administrative and Support functions
   
   
 
 
ASM
 
 
and MORE
Mainframe Assembler Source and Sub-Directories
   
   
 
 
BMS
Contains Basic Mapping Support Member
   
   
 
 
COBCPY1
Contains COBOL Copy Members
   
   
 
 
COBCPY6
Contains COBOL Copy Members from a BMS GEN
   
   
 
 
COBOL
Contains COBOL Source Members
   
   
 
 
COBOLUT1
Contains COBOL Source Members, see Note-3
   
   
 
 
COBOLUT2
Contains COBOL Source Members, see Note-4
   
   
 
 
COBOLUT3
Contains COBOL Source Members, see Note-5
   
   
 
 
DATA
Contains the catalog and data files
   
   
   
   
 
 
APPL
Contains non-Relational data files for Application
   
   
   
   
 
 
SPOOL
Contains the JES and SYSOUT files
   
   
   
   
 
 
and MORE
Link to additional sub-Directories
   
   
 
 
DIRS
Contains compiler directives files
   
   
 
 
DOCS
Contains user or application documentation
   
   
 
 
HOLD
 
 
and MORE
Contains new load members from Scripted Builds
   
   
 
 
IMSLIB
Contains the IMS Members for execution-time
   
   
   
   
 
 
DBD
Source Members for the IMS DBD
   
   
   
   
 
 
PSB
Source Members for the IMS PSB
   
   
 
 
JAVA
Contains JAVA Source Members
   
   
 
 
JCL
Contains the JCL Source Members
   
   
 
 
JCLINC
Contains the Include Members for JCL
   
   
 
 
LOADLIB
Contains the executable members
   
   
   
   
 
 
simpacks
Contains Java Class Members
   
   
 
 
LOGS
Contains the log files for the application
   
   
 
 
PARMLIB
Contains the parameter or control files
   
   
 
 
PROCLIB
Contains the Procedures (or PROC's) for JCL
   
   
 
 
REXXLIB
Contains the REXX Program Members
   
   
 
 
SIMOGENS
 
 
and MORE
Contains the Program Generation Members
   
   
 
 
SYS1
Systems directory, not exposed to users
   
   
 
 
CONFIG
System configuration specifications
   
   
 
 
and MORE
Link to additional sub-Directories…
 
Note-1: This is the primary directory for the SimoTime Driver Programs and Test Cases
Note-2: This is the Development, Production or Test directory, for this example it is set to DEVL.
Note-3: Utility programs using a mainframe dialect, not part of application business functions
Note-4: Utility programs using a Micro Focus dialect, not part of application business functions
Note-5: Utility programs with specialized or unique requirements
The Directory Structure used in the in the SimoTime Development Environment

Table of Contents Previous Section Next Section Execution

The Application Repository is a file that contains information about each source member (programs, copy files, etc…) used in a business application. The following command will delete the current application repository file, create a new file and then populate the file with information about each of the source members.

C:\SIMOSAM1\DEVL\Adm1> S1LOADE1.

Table of Contents Previous Section Next Section Technical Detail

WIP

Table of Contents Previous Section Next Section The CMD Members

WIP

Table of Contents Previous Section Next Section CMD, The Primary CMD Member

The following command file (S1LOADE1.cmd) is the command that executes all the other commands required to build a repository of information for the application source members.

@echo OFF
echo * *******************************************************************
echo *               S1LOADE1.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
rem  * This is a multi-step job that will create a new Repository for
rem  * the Application Properties (i.e. source member information).
rem  *
rem  * Once the repository is created the source members will be scanned
rem  * an the information will be saved.
rem  *
rem  * After completing the scans the collected data will be used to
rem  * create Cross Reference reporting and an HTML document with Summary
rem  * and Detail and hyperlinks to the source members.
rem  *
     call ..\Env1Base
     set JobName=S1LOADE1
rem  *
     call SimoNOTE "*******************************************%JobName%.CMD"
     call SimoNOTE "* Starting JobName %JobName%.CMD"
rem  *
     set SimoMODE=BATCH
rem  *
     call SimoNOTE "* Continue - Create a new Application Repository File"
     call S1ALOCE1
rem  *
     call SimoNOTE "* Continue - Create a new Cross Reference File"
     call S1XREFE9
rem  *
     call SimoNOTE "* Continue - Scan the BMS Source Members"
     call S1UBMSE1
rem  *
     call SimoNOTE "* Continue - Scan the COBOL Source Members"
     call S1UCBLE1
rem  *
     call SimoNOTE "* Continue - Scan the Assembler Source Members"
     call S1UASME1
rem  *
     call SimoNOTE "* Continue - Scan the JCL Source Members"
     call S1UJCLE1
rem  *
     call SimoNOTE "* Continue - Process the Cross Reference Information"
     call S1XREFE1
     call S1XREFE2
     call S1XREFE3
rem  *
     call SimoNOTE "* Continue - Create a new HTML File with Hyperlinks"
     call S1HTMLE3
rem  *
     call SimoNOTE "* Finished JobName %JobName%.CMD "
     if not "%SimoMODE%" == "BATCH" pause

Table of Contents Previous Section Next Section CMD, BMS Member Processing

WIP

@echo OFF
     setlocal
     set CmdName=S1UBMSE1
echo * *******************************************************************
echo *               S1UBMSE1.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
echo * This procedure will scan the BMS Source Members.
echo *
     call ..\Env1Base
     set JobStatus=0000
     call SimoNOTE "*******************************************************************%CmdName%.CMD"
     call SimoNOTE "* This job will scan the BMS Source Members and update"
     call SimoNOTE "* the Application Properties Repository (APMASTER)"
rem  * ************************************************************************
rem  * This procedure calls the following Windows Command Files.
rem  * 1. Env1Base.CMD - this provides a single point for setting commonly
rem  *    used environment variables.
rem  * 2. SimoNOTE.CMD - this provides a consistent process for displaying
rem  *    messages to the screen and writing to a journal or log file.
rem  * ************************************************************************
     call SimoNOTE "* Starting JobName %CmdName%.CMD, V09.07.25, User is %USERNAME%"
rem  *
     set SYSIMP1=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP1.TXT
     set SYSIMP2=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP2.TXT
     set APMASTER=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.APMASTER.DAT
     set COPYXREF=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.COPYXREF.CSV
     set SLZCONFG=%BaseLib1%\Adm1\S1C4LYZ1.CFG
rem  *
     echo HOSTNAME SIMOTIME.PDS.BMS          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\BMS\          >>%SYSIMP1%
     dir  %BaseLib1%\BMS\*.BMS /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto :EOJNOK
rem  *
rem  * ************************************************************************
:EOJAOK
     call SimoNOTE "* Complete %CmdName%, RC=%JobStatus% "
     goto :End
rem  *
rem  * ************************************************************************
:EOJNOK
     call SimoNOTE "* ABENDING %CmdName%, RC=%JobStatus%, !!!ABENDING!!!"
     goto :End
rem  *
rem  * ************************************************************************
:End
     if not "%SimoMODE%" == "BATCH" pause

Table of Contents Previous Section Next Section CMD, COBOL Member Processing

WIP

@echo OFF
     setlocal
     set CmdName=S1UCBLE1
echo * *******************************************************************
echo *               S1UCBLE1.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
echo * This procedure will scan the COBOL Source Members.
echo *
rem  * This procedure calls the following Windows Command Files.
rem  * Env1Base.CMD - this provides a single point for setting commonly
rem  *                   used environment variables.
rem  * SimoNOTE.CMD - this provides a consistent process for displaying
rem  *                   messages to the screen and writing to a journal
rem  *                   or log file.
rem  * *******************************************************************
     call ..\Env1Base
     set JobStatus=0000
     call SimoNOTE "*******************************************************************%CmdName%.CMD"
     call SimoNOTE "* This job will scan the COBOL Source Members and update"
     call SimoNOTE "* the Application Properties Repository (APMASTER)"
rem  *
     call SimoNOTE "* Starting JobName %CmdName%.CMD, V09.07.25, User is %USERNAME%"
rem  *
     set SYSIMP1=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP1.TXT
     set SYSIMP2=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP2.TXT
     set APMASTER=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.APMASTER.DAT
     set COPYXREF=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.COPYXREF.CSV
     set SLZCONFG=%BaseLib1%\Adm1\S1C4LYZ1.CFG
rem  *
     echo HOSTNAME SIMOTIME.PDS.COBCPY1          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\COBCPY1\          >>%SYSIMP1%
     dir  %BaseLib1%\COBCPY1\*.CPY /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
     echo HOSTNAME SIMOTIME.PDS.COBCPY6          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\COBCPY6\          >>%SYSIMP1%
     dir  %BaseLib1%\COBCPY6\*.CPY /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
     echo HOSTNAME SIMOTIME.PDS.SIMOLIBR      >%SYSIMP1%
     echo PCDIR    c:\SIMOLIBR\               >>%SYSIMP1%
     dir  c:\SIMOLIBR\*.CPY /B /A-D /ONE      >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
rem  * Scan the Batch COBOL Directory
     echo HOSTNAME SIMOTIME.PDS.COBOL          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\COBOL\          >>%SYSIMP1%
     dir  %BaseLib1%\COBOL\*.CBL /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
rem  * Scan the Batch COBOL with SQL Directory
     echo HOSTNAME SIMOTIME.PDS.COBOLSQ1          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\COBOLSQ1\          >>%SYSIMP1%
     dir  %BaseLib1%\COBOLSQ1\*.CBL /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
rem  * Scan the Online, CICS COBOL without SQL Directory
     echo HOSTNAME SIMOTIME.PDS.COBOLCS1          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\COBOLCS1\          >>%SYSIMP1%
     dir  %BaseLib1%\COBOLCS1\*.CBL /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto :EOJNOK
rem  *
rem  * ************************************************************************
:EOJAOK
     call SimoNOTE "* Complete %CmdName%, RC=%JobStatus% "
     goto :End
rem  *
rem  * ************************************************************************
:EOJNOK
     call SimoNOTE "* ABENDING %CmdName%, RC=%JobStatus%, !!!ABENDING!!!"
     goto :End
rem  *
rem  * ************************************************************************
:End
     if not "%SimoMODE%" == "BATCH" pause

Table of Contents Previous Section Next Section CMD, Assembler Member Processing

WIP

@echo OFF
     setlocal
     set CmdName=S1UASME1
echo * *******************************************************************
echo *               S1UASME1.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
echo * This procedure will scan the Assembler Source Members.
echo *
     call ..\Env1Base
     set JobStatus=0000
     call SimoNOTE "*******************************************************************%CmdName%.CMD"
     call SimoNOTE "* This job will scan the Assembler Source Members and"
     call SimoNOTE "* update the Application Properties Repository (APMASTER)"
rem  * ************************************************************************
rem  * This procedure calls the following Windows Command Files.
rem  * 1. Env1Base.CMD - this provides a single point for setting commonly
rem  *    used environment variables.
rem  * 2. SimoNOTE.CMD - this provides a consistent process for displaying
rem  *    messages to the screen and writing to a journal or log file.
rem  * ************************************************************************
     call SimoNOTE "* Starting JobName %CmdName%.CMD, V09.07.25, User is %USERNAME%"
rem  *
     set SYSIMP1=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP1.TXT
     set SYSIMP2=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP2.TXT
     set APMASTER=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.APMASTER.DAT
     set COPYXREF=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.COPYXREF.CSV
     set SLZCONFG=%BaseLib1%\Adm1\S1C4LYZ1.CFG
rem  *
     echo HOSTNAME SIMOTIME.PDS.ASM          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\ASM\          >>%SYSIMP1%
     dir  %BaseLib1%\ASM\*.MLC /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
     echo HOSTNAME SIMOTIME.PDS.ASMCPY1          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\ASMCPY1\          >>%SYSIMP1%
     dir  %BaseLib1%\ASMCPY1\*.CPY /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
     echo HOSTNAME SIMOTIME.PDS.ASMMAC1          >%SYSIMP1%
     echo PCDIR    %BaseLib1%\ASMMAC1\          >>%SYSIMP1%
     dir  %BaseLib1%\ASMMAC1\*.MAC /B /A-D /ONE  >%SYSIMP2%
     run SimoLYZE ORGANIZE
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto :EOJNOK
rem  *
rem  * ************************************************************************
:EOJAOK
     call SimoNOTE "* Complete %CmdName%, RC=%JobStatus% "
     goto :End
rem  *
rem  * ************************************************************************
:EOJNOK
     call SimoNOTE "* ABENDING %CmdName%, RC=%JobStatus%, !!!ABENDING!!!"
     goto :End
rem  *
rem  * ************************************************************************
:End
     if not "%SimoMODE%" == "BATCH" pause

Table of Contents Previous Section Next Section CMD, JCL Member Processing

WIP

@echo OFF
     setlocal
     set CmdName=S1UJCLE1
echo * *******************************************************************
echo *               S1UJCLE1.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
echo * This procedure will scan the JCL Source Members.
echo *
     call ..\Env1Base
     set JobStatus=0000
     call SimoNOTE "*******************************************************************%CmdName%.CMD"
     call SimoNOTE "* This job will scan the JCL Source Members and update"
     call SimoNOTE "* the Application Properties Repository (APMASTER)"
rem  * ************************************************************************
rem  * This procedure calls the following Windows Command Files.
rem  * 1. Env1Base.CMD - this provides a single point for setting commonly
rem  *    used environment variables.
rem  * 2. SimoNOTE.CMD - this provides a consistent process for displaying
rem  *    messages to the screen and writing to a journal or log file.
rem  * ************************************************************************
rem  *
     call SimoNOTE "* Starting JobName %CmdName%.CMD, V09.07.25, User is %USERNAME%"
rem  *
     set SYSIMP1=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP1.TXT
     set SYSIMP2=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP2.TXT
     set APMASTER=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.APMASTER.DAT
     set COPYXREF=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.COPYXREF.CSV
     set SLZCONFG=%BaseLib1%\Adm1\S1C4LYZ1.CFG
     set SLZMSG1=%BaseLib1%\LOGS\SLZMSG.TXT
     set SYSOUT=%BaseLib1%\LOGS\SYSOUT_APUJCLE1.TXT
rem  *
     echo HOSTNAME SIMOTIME.PDS.PROCLIB         >%SYSIMP1%
     echo PCDIR    %BaseLib1%\PROCLIB\         >>%SYSIMP1%
     dir  %BaseLib1%\PROCLIB\*.PRC /B /A-D /ONE >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
     echo HOSTNAME SIMOTIME.PDS.JCLINCS         >%SYSIMP1%
     echo PCDIR    %BaseLib1%\JCLINCS\         >>%SYSIMP1%
     dir  %BaseLib1%\JCLINCS\*.INC /B /A-D /ONE >%SYSIMP2%
     run SimoLYZE ORGANIZE
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto :EOJNOK
rem  *
     echo HOSTNAME SIMOTIME.PDS.JCL         >%SYSIMP1%
     echo PCDIR    %BaseLib1%\JCL\         >>%SYSIMP1%
     dir  %BaseLib1%\JCL\*.JCL /B /A-D /ONE >%SYSIMP2%
     run SimoLYZE ORGANIZE
rem  *
rem  * ************************************************************************
:EOJAOK
     call SimoNOTE "* Complete %CmdName%, RC=%JobStatus% "
     goto :End
rem  *
rem  * ************************************************************************
:EOJNOK
     call SimoNOTE "* ABENDING %CmdName%, RC=%JobStatus%, !!!ABENDING!!!"
     goto :End
rem  *
rem  * ************************************************************************
:End
     if not "%SimoMODE%" == "BATCH" pause

Table of Contents Previous Section Next Section CMD, Cross Reference Information

WIP

Table of Contents Previous Section Next Section CMD, Cross Reference Extract

WIP

@echo OFF
     set CmdName=X1XREFE1
echo * *******************************************************************
echo *               S1XREFE1.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
echo * This job will read the Cross Reference file (CSV Format) and
echo * create a Cross Reference file (Fixed Field and Record Length).
rem  *
     set JobStatus=0000
     call ..\Env1BASE
     call SimoNOTE "************************************************************%CmdName%.CMD"
     call SimoNOTE "* Starting CmdName %CmdName%, Job Status is %JobStatus%"
     set COPYXREF=%BaseLib1%\Adm1\DATA\Wrk1\SIMOTIME.UTIL.COPYXREF.CSV
rem  *
rem  **************************************************************
rem  * Create new or replace existing COPYXREF File.
rem  *
     set XREFLCSV=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.COPYXREF.CSV
     set XREFRFFL=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.COPYXREF.DAT
     run APXREFC1
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto :EojNOK
rem  *
rem  **************************************************************
rem  * End of Job.
:EojAOK
     call SimoNOTE "* DataMAKE is %COPYXREF%."
     call SimoNOTE "* Finished CmdName %CmdName%, Job Status is %JobStatus%"
     goto :End
:EojNOK
     call SimoNOTE "* ABENDING CmdName %CmdName%, Job Status is %JobStatus% "
     goto :End
:End
     if not "%SimoMODE%" == "BATCH" pause


Table of Contents Previous Section Next Section CMD, Cross Reference Sort

WIP

@echo OFF
     set CmdName=S1XREFE2
echo * *******************************************************************
echo *               S1XREFE2.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
echo * This job will read the Cross Reference file (Fixed-Field Format)
echo * and sort by copy file name.
rem  *
     set JobStatus=0000
     call ..\Env1BASE
     call SimoNOTE "************************************************************%CmdName%.CMD"
     call SimoNOTE "* Starting CmdName %CmdName%, Job Status is %JobStatus%"
rem  *
rem  * Set environment variables that are unique to this job...
     set SORTIN=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.COPYXREF.DAT
     set SORTOUT=%BaseLib1%\Adm1\DATA\Wrk1\SIMOTIME.UTIL.SORTXREF.DAT
rem  * Delete previously created files...
     if exist %SORTOUT% erase %SORTOUT%
rem  *
rem  ******************************************************************
rem  * Sort the test file to be sorted
     echo Start the SORT . . .
     MFSORT SORT FIELDS=(37,32,CH,A) use %SORTIN% RECORD F,512 ORG SQ give %SORTOUT% RECORD F,512 ORG SQ
     if errorlevel = 1 set JobStatus=0016
     echo Job Status after the SORT is = %JobStatus%
     if not "%JobStatus%" == "0000" goto :EOJNOK
rem  *
rem  **************************************************************
rem  * End of Job.
:EojAOK
     call SimoNOTE "* DataTAKE is %SORTIN%."
     call SimoNOTE "* DataMAKE is %SORTOUT%."
     call SimoNOTE "* Finished CmdName %CmdName%, Job Status is %JobStatus%"
     goto :End
:EojNOK
     call SimoNOTE "* DataTAKE is %SORTIN%."
     call SimoNOTE "* ABENDING CmdName %CmdName%, Job Status is %JobStatus% "
     goto :End
:End
     if not "%SimoMODE%" == "BATCH" pause


Table of Contents Previous Section Next Section CMD, Cross Reference Validate

WIP

@echo OFF
     set CmdName=S1XREFE2
echo * *******************************************************************
echo *               S1XREFE3.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
echo * This job will read the Cross Reference file (Fixed-Field Format)
echo * and validate if an entry for the copy file is in the repository.
echo * If not, a message will be posted.
rem  *
     set JobStatus=0000
     call ..\Env1BASE
     call SimoNOTE "************************************************************%CmdName%.CMD"
     call SimoNOTE "* Starting CmdName %CmdName%, Job Status is %JobStatus%"
rem  *
rem  **************************************************************
rem  * Create new or replace existing COPYXREF File.
rem  *
     set XREFRFFL=%BaseLib1%\Adm1\DATA\Wrk1\SIMOTIME.UTIL.SORTXREF.DAT
     set APMASTER=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.APMASTER.DAT
     run APXREFC2
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto :EojNOK
rem  *
rem  **************************************************************
rem  * End of Job.
:EojAOK
     call SimoNOTE "* DataMAKE is %COPYXREF%."
     call SimoNOTE "* Finished CmdName %CmdName%, Job Status is %JobStatus%"
     goto :End
:EojNOK
     call SimoNOTE "* ABENDING CmdName %CmdName%, Job Status is %JobStatus% "
     goto :End
:End
     if not "%SimoMODE%" == "BATCH" pause


Table of Contents Previous Section Next Section CMD, Housekeeping and Preparation

WIP

Table of Contents Previous Section Next Section CMD, Create a New Application Properties Repository

This job will delete an existing Application Properties Repository (APMASTER) and create a new empty file.

@echo OFF
echo * *******************************************************************
echo *               S1ALOCE1.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
rem  * This procedure will create a new Application Repository file
rem  *
     call ..\Env1Base
     set CmdName=S1ALOCE1
rem  *
     call SimoNOTE "*******************************************%CmdName%.CMD"
     call SimoNOTE "* Starting JobName %CmdName%.CMD"
rem  *
     set SLZCONFG=%BaseLib1%\Adm1\S1C4Lyz1.cfg
     set SLZUPD1=%BaseLib1%\Adm1\Data\Wrk1\ALLOCATE.TXT
     echo //ACTION ALLOCATE>%SLZUPD1%
     set APMASTER=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.APMASTER.DAT
     if exist %APMASTER% erase %APMASTER%
     run SIMOLYZE UPDATE
rem  *
     call SimoNOTE "* Finished JobName %CmdName%.CMD "
     if not "%SimoMODE%" == "BATCH" pause

Table of Contents Previous Section Next Section CMD, Create a New Cross Reference File

WIP

@echo OFF
     set CmdName=S1XREFE9
echo * *******************************************************************
echo *               S1XREFE9.CMD - a Windows Command File               *
echo *         This program is provided by SimoTime Technologies         *
echo *           (C) Copyright 1987-2015 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo * *******************************************************************
echo * This job will create an empty COPYXREF File.               *
echo **************************************************************
rem  * Set the required environment variables.
rem  *
     set JobStatus=0000
     call ..\Env1BASE
     call SimoNOTE "************************************************************%CmdName%.CMD"
     call SimoNOTE "* Starting CmdName %CmdName%, Job Status is %JobStatus%"
     set COPYXREF=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.COPYXREF.CSV
rem  *
rem  **************************************************************
rem  * Create new or replace existing COPYXREF File.
rem  *
     if exist %COPYXREF% erase %COPYXREF%
     copy nul %COPYXREF%
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto :EojNOK
rem  *
rem  **************************************************************
rem  * End of Job.
:EojAOK
     call SimoNOTE "* DataMAKE is %COPYXREF%."
     call SimoNOTE "* Finished CmdName %CmdName%, Job Status is %JobStatus%"
     goto :End
:EojNOK
     call SimoNOTE "* ABENDING CmdName %CmdName%, Job Status is %JobStatus% "
     goto :End
:End
     if not "%SimoMODE%" == "BATCH" pause


Table of Contents Previous Section Next Section CMD, BMS Generation

WIP

Table of Contents Previous Section Next Section CMD, BMS - Create a List of Names

WIP

@echo OFF
     set CmdName=BMLISTE3
     call SimoNOTE "Starting CmdName %CmdName%, User is %USERNAME%"
echo *********************************************************************
echo *              BMLISTE3.CMD - a Windows Command File                *
echo *        This program is provided by SimoTime Technologies          *
echo *           (C) Copyright 1987-2016 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo *********************************************************************
rem  * This procedure calls the following Windows Command Files.
rem  * 1. Env1Base.CMD - this provides a single point for setting commonly
rem  *                   used environment variables.
rem  * 2. SimoNOTE.CMD - this provides a consistent process for displaying
rem  *                   messages to the screen and writing to a journal
rem  *                   or log file.
rem  *
     call ..\Env1Base
     set JobStatus=0000
     call SimoNOTE "*******************************************************************%CmdName%.CMD"
     call SimoNOTE "* This job will read the Application Properties Repository"
     call SimoNOTE "* or APMASTER and create a list of BMS Member Names"
     call SimoNOTE "* Starting CmdName %CmdName%.CMD, V09.07.25, User is %USERNAME%"
rem  *
rem  * Set the selection criteria
     set APMEMLANG=370
     set APMEMTYPE=BMS
     set APCICSSTAT=*
     set APSQLSTAT=*
rem  *
rem  **************************************************************
rem  * Run the List function and create the listing file.
rem  *
     set APMASTER=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.APMASTER.DAT
     set APLIST03=%BASELIB1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.BMSMEML1.LST
     if exist %APLIST03% erase %APLIST03%
     call SimoNOTE "* %CmdName% DataTAKE is %APMASTER%."
     call SimoNOTE "* %CmdName% DataMAKE is %APLIST03%."
     run APLISTC3
     if not "%ERRORLEVEL%" == "0" set JobStatus=0020
     if not "%JobStatus%" == "0000" goto EojNOK2
rem  *
rem  **************************************************************
rem  * End of Job.
:EojAOK
     call SimoNOTE "* %CmdName% DataTAKE is %APMASTER%."
     call SimoNOTE "* %CmdName% DataMAKE is %APLIST03%."
     call SimoNOTE "* Finished CmdName %CmdName%, Job Status is %JobStatus% "
     goto :End
:EojNOK1
     call SimoNOTE "* ABENDING CmdName %CmdName%, must run set process "
:EojNOK2
     call SimoNOTE "* %CmdName% is ABENDING>>%BaseLib1%\LOGS\ABENDLOG.TXT"
:EojNOK
     call SimoNOTE "* ABENDING CmdName %CmdName%, Job Status is %JobStatus% "
     goto :End
:End
     if not "%1" == "nopause" pause

Table of Contents Previous Section Next Section CMD, BMS - Do the BMS Generations

WIP

@echo OFF
echo *********************************************************************
echo *              BMGENAE1.cmd - a Windows Command File                *
echo *        This program is provided by SimoTime Technologies          *
echo *           (C) Copyright 1987-2016 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo *********************************************************************
rem  * This procedure calls the following Windows Command Files.
rem  * 1. Env1Base.CMD - this provides a single point for setting the
rem  *                   commonly used environment variables.
rem  * 2. SimoNOTE.CMD - this provides a consistent process for
rem  *                   displaying messages to the screen and writing to
rem  *                   a journal or log file.
rem  * 3. ZBMSGENR.CMD - this will do a generation of a specified member.
rem  * *******************************************************************
     setlocal
     call ..\Env1Base
     set CmdName=BMGENAE1
rem  *
     call SimoNOTE "**********************************************%CmdName%.CMD"
     call SimoNOTE "Starting JobName %CmdName%.CMD"
rem  *
rem  * Read the file containing BMS Member names and pass the contents of each
rem  * record to the command file that does the actual generation. Each record
rem  * in the file contains an eight character member name. The following
rem  * parameters are passed to the called command file.
rem  * Parameter  Description
rem  * ---------  ------------------------------------------------------------
rem  *    1       Name of BMS source member
rem  *    2       Name of BMS source directory relative to BaseLib1
rem  *    3       Name of directory for BMS load member relative to BaseLib1
rem  *
     set AOK_Count=0
     set NOK_Count=0
     set MemberList=%BASELIB1%\ADM1\CNTL\SIMOTIME.ADM1.BMSLIST.lst
     dir /on /b /a-d %BaseLib1%\BMS\*.bms>%MemberList%
     for /F "eol=; tokens=1,2* delims=." %%i in (%MemberList%) do CALL ZBMSGENR %%i BMS HOLD\BMSA
rem  *
     call SimoNOTE "AOKcount Generate Count for AOK is %AOK_Count% "
     call SimoNOTE "NOKcount Generate Count for NOK is %NOK_Count% "
     if %NOK_Count% == 0 goto EOJAOK
     goto EOJNOK
:EOJNOK
     call SimoNOTE "ABENDING JobName %CmdName%.CMD"
     goto EOJEND
:EOJAOK
     call SimoNOTE "Finished JobName %CmdName%.CMD"
:EOJEND
     if not "%SimoGENS%" == "BATCH" pause
     endlocal

Table of Contents Previous Section Next Section CMD, COBOL Compilations

WIP

Table of Contents Previous Section Next Section CMD, CBL - Create Four Lists of Names

WIP

@echo OFF
     set CmdName=CBLISTE4
     call SimoNOTE "Starting CmdName %CmdName%, User is %USERNAME%"
echo *********************************************************************
echo *              CBLISTE4.CMD - a Windows Command File                *
echo *        This program is provided by SimoTime Technologies          *
echo *           (C) Copyright 1987-2016 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo *********************************************************************
rem  *
rem  * This command will read the Application Properties Repository and
rem  * create four list files as follows.
rem  * 1. A list of COBOL batch programs without SQL.
rem  * 2. A list of COBOL batch programs with SQL.
rem  * 3. A list of COBOL online programs with CICS and without SQL.
rem  * 4. A list of COBOL online programs with CICS and with SQL.
rem  *
rem  * This procedure calls the following Windows Command Files.
rem  * 1. Env1Base.CMD - this provides a single point for setting commonly
rem  *                   used environment variables.
rem  * 2. SimoNOTE.CMD - this provides a consistent process for displaying
rem  *                   messages to the screen and writing to a journal
rem  *                   or log file.
rem  *
     call ..\Env1Base
     set JobStatus=0000
     call SimoNOTE "*******************************************************************%CmdName%.CMD"
     call SimoNOTE "* This job will read the Application Properties Repository"
     call SimoNOTE "* or APMASTER and create 4 lists of CBL Member Names"
     call SimoNOTE "* 1. CBLBATL1.LST - List of batch programs without EXEC SQL. *"
     call SimoNOTE "* 2. CBLBSQL1.LST - List of batch programs with EXEC SQL.    *"
     call SimoNOTE "* 3. CBLONLL1.LST - List of CICS programs without EXEC SQL.  *"
     call SimoNOTE "* 4. CBLOSQL1.LST - List of CICS programs with EXEC SQL.     *"
     call SimoNOTE "* Starting CmdName %CmdName%.CMD, V09.07.25, User is %USERNAME%"
rem  *
rem  **************************************************************
rem  * Run the List function and create the listing file.
rem  *
     set APMASTER=%BaseLib1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.APMASTER.DAT
     set CBLBATL1=%BASELIB1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.CBLBATL1.LST
     set CBLBSQL1=%BASELIB1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.CBLBSQL1.LST
     set CBLONLL1=%BASELIB1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.CBLONLL1.LST
     set CBLOSQL1=%BASELIB1%\Adm1\DATA\UTIL\SIMOTIME.UTIL.CBLOSQL1.LST
     run APLISTC4
     if not "%ERRORLEVEL%" == "0" set JobStatus=0020
     if not "%JobStatus%" == "0000" goto EojNOK2
rem  *
rem  **************************************************************
rem  * End of Job.
:EojAOK
     call SimoNOTE "* %CmdName% DataTAKE is %APMASTER%."
     call SimoNOTE "* %CmdName% DataMAKE is %CBLBATL1%."
     call SimoNOTE "* %CmdName% DataMAKE is %CBLBSQL1%."
     call SimoNOTE "* %CmdName% DataMAKE is %CBLONLL1%."
     call SimoNOTE "* %CmdName% DataMAKE is %CBLOSQL1%."
     call SimoNOTE "* Finished CmdName %CmdName%, Job Status is %JobStatus% "
     goto :End
:EojNOK1
     call SimoNOTE "* ABENDING CmdName %CmdName%, must run set process "
:EojNOK2
     call SimoNOTE "* %CmdName% is ABENDING>>%BaseLib1%\LOGS\ABENDLOG.TXT"
:EojNOK
     call SimoNOTE "* ABENDING CmdName %CmdName%, Job Status is %JobStatus% "
     goto :End
:End
     if not "%1" == "nopause" pause

Table of Contents Previous Section Next Section CMD, CBL - Do the COBOL Compiles for Batch without SQL

WIP

@echo OFF
echo *********************************************************************
echo *              CBBATAE1.CMD - a Windows Command File                *
echo *        This program is provided by SimoTime Technologies          *
echo *           (C) Copyright 1987-2016 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo *********************************************************************
rem  *
rem  * This command will read a file that contains a list of COBOL batch
rem  * programs without SQL and call ZCBL2GNT to compile each member.
rem  *
rem  * This procedure calls the following Windows Command Files.
rem  * 1. Env1Base.CMD - this provides a single point for setting commonly
rem  *                   used environment variables.
rem  * 2. SimoNOTE.CMD - this provides a consistent process for displaying
rem  *                   messages to the screen and writing to a journal
rem  *                   or log file.
rem  * 3. ZCBL2GNT.CMD - this will do the compile of the specified program
rem  *
rem  * Note: To specifiy the directory to be used for the IDY files use
rem  *       the COBIDY Compiler Directive and set the COBIDY environment
rem  *       variable.
rem  * *******************************************************************
     setlocal
     call ..\ENV1BASE
     set CmdName=CBBATAE1
rem  *
     call SimoNOTE "*******************************************%CmdName%.CMD"
     call SimoNOTE "Starting JobName %CmdName%.CMD"
rem  *
rem  * Set the environment variable to use the default directives file.
     set DirsLib1=%BaseLib1%\DIRS\ASC1
     set zDIRS=%DirsLib1%\OS390AscCBLBAT.DIR
rem  * The following two statements will set the environment variables to
rem  * a "Y" for Yes or "N" for No. A "Y" will cause the function to be
rem  * performed by the called procedure. An "N" value will not perform the
rem  * function.
     set EraseAfter=N
     set TransferGNT=N
     set EXTFH=%BASESYS%\CONFIG\EXTFHTAB.CFG
rem  *
rem  * Read the ListSam1CobolBatchLessExt.TXT file and pass the contents of each record to the
rem  * command file that does the actual compile. Each record in the file
rem  * contains an eight character program name.
     set AOK_Count=0
     set NOK_Count=0
     set MemberList=%BaseLib1%\ADM1\CNTL\SIMOTIME.ADM1.CBLBATL1.LST
     for /F "eol=; tokens=1,2* delims=." %%i in (%MemberList%) do call zCBL2GNT %%i COBOL HOLD\GNTA
rem  *
     call SimoNOTE "AOKcount Compile Count for AOK is %AOK_Count% "
     call SimoNOTE "NOKcount Compile Count for NOK is %NOK_Count% "
     if %NOK_Count% == 0 goto EOJAOK
     goto EOJNOK
:EOJNOK
     call SimoNOTE "ABENDING JobName %CmdName%.CMD"
     goto EOJEND
:EOJAOK
     call SimoNOTE "Finished JobName %CmdName%.CMD"
:EOJEND
     if not "%SimoGENS%" == "BATCH" pause
     endlocal

Table of Contents Previous Section Next Section CMD, CBL - Do the COBOL Compiles for Batch with SQL

WIP

@echo OFF
echo *********************************************************************
echo *              CBBSQAE1.cmd - a Windows Command File                *
echo *        This program is provided by SimoTime Technologies          *
echo *           (C) Copyright 1987-2016 All Rights Reserved             *
echo *             Web Site URL:   http://www.simotime.com               *
echo *                   e-mail:   helpdesk@simotime.com                 *
echo *********************************************************************
rem  *
rem  * This command will read a file that contains a list of COBOL batch
rem  * programs with SQL and call ZCBL2GNT to compile each member.
rem  *
rem  * ************************************************************************
rem  * This procedure calls the following Windows Command Files.
rem  * 1. ENV1BASE.cmd - this provides a single point for setting commonly
rem  *                   used environment variables.
rem  * 2. SIMONOTE.cmd - this provides a consistent process for displaying
rem  *                   messages to the screen and writing to a journal
rem  *                   or log file.
rem  * 3. ZCBL2GNT.cmd - this will do the compile of the specified program.
rem  *
rem  * Note: To specifiy the directory to be used for the IDY files use
rem  *       the COBIDY Compiler Directive and set the COBIDY environment
rem  *       variable.
rem  * ************************************************************************
     setlocal
     call ..\ENV1BASE
     set CmdName=CBBSQAE1
     set DirsLib1=%BaseLib1%\DIRS\ASC1
rem  *
     call SimoNOTE "****************************************%CmdName%.cmd"
     call SimoNOTE "Starting JobName %CmdName%.cmd"
rem  *
rem  * Set the environment variable to use the default directives file.
     set zDIRS=%DirsLib1%\OS390AscCBLBSQ.DIR
rem  * The following two statements will set the environment variables to
rem  * a "Y" for Yes or "N" for No. A "Y" will cause the function to be
rem  * performed by the called procedure. An "N" value will not perform the
rem  * function.
     set EraseAfter=N
     set TransferGNT=N
     set EXTFH=%BASESYS%\CONFIG\EXTFHTAB.cfg
rem  *
rem  * Read the List-of-Members file and pass the contents of each
rem  * record  to the command file that does the actual compile. Each record
rem  * in the file contains an eight character program name.
rem  * The following parameters are passed to the called command file.
rem  * Parameter  Description
rem  * ---------  ------------------------------------------------------------
rem  *    1       Name of source member
rem  *    2       Name of source directory relative to BaseLib1
rem  *    3       Name of directory for load member relative to BaseLib1
rem  *
     set AOK_Count=0
     set NOK_Count=0
     set MemberList=%BaseLib1%\ADM1\CNTL\SIMOTIME.ADM1.CBLBSQL1.LST
     for /F "eol=; tokens=1,2* delims=." %%i in (%MemberList%) do CALL ZCBL2GNT %%i COBOLsq1 HOLD\GNTA
rem  *
     call SimoNOTE "AOKcount Compile Count for AOK is %AOK_Count% "
     call SimoNOTE "NOKcount Compile Count for NOK is %NOK_Count% "
     call SimoNOTE "Finished JobName %CmdName%.cmd"
     if not "%SimoGENS%" == "BATCH" pause
     endlocal

Table of Contents Previous Section Next Section Record Structures

The output produced by the process to create an application repository is two files. The first file is a VSAM, Key-Sequenced-Data-Set (KSDS) that contains information about the individual source members. The second file is a record sequential file that provides cross reference (or inter-dependent) information about the source members. The following describes the record layouts for each of the files.

Table of Contents Previous Section Next Section Record Structure for the Application Properties Repository (APMASTER)

The following source member (APMASTB1.cpy) is the COBOL copy file that defines the record structure for the repository of information for the application source members.

      *****************************************************************
      *                APMASTB1 is a COBOL Copy File                  *
      *    Copy File for SIMOLYZE Application Properties Repository   *
      *      This is a VSAM Keyed Sequence Data Structure (KSDS)      *
      *              or a Micro Focus Keyed-Index File.               *
      *         Copyright (C) 1987-2018 SimoTime Technologies         *
      *                     All Rights Reserved                       *
      *****************************************************************
      *              Provided by SimoTime Technologies                *
      *        Our e-mail address is: helpdesk@simotime.com           *
      *     Also, visit our Web Site at http://www.simotime.com       *
      *****************************************************************
      *
       01  APMASTER-RECORD.
           05  APMASTER-KEY.
               10  APMASTER-KEY-16             PIC X(16).
               10  APMASTER-RECORD-ID          PIC 9(2).
           05  APMASTER-DATA.
               10  APMASTER-RECORD-STATUS      PIC X.
               10  APMASTER-LAST-ACTIVITY-DATE PIC X(8).
               10  APMASTER-LAST-ACTIVITY-TIME PIC X(8).
               10  APMASTER-MEMBER-DATE        PIC X(8).
               10  APMASTER-MEMBER-TIME        PIC X(8).
               10  APMASTER-LANGUAGE           PIC X(8).
               10  APMASTER-LANGUAGE-USER      PIC X(8).
               10  APMASTER-LANGUAGE-MFA       PIC X(8).
               10  APMASTER-TYPE               PIC X(8).
               10  APMASTER-TYPE-USER          PIC X(8).
               10  APMASTER-TYPE-MFA           PIC X(8).
               10  APMASTER-CICS               PIC X.
               10  APMASTER-CICS-USER          PIC X.
               10  APMASTER-CICS-MFA           PIC X.
               10  APMASTER-SQL                PIC X.
               10  APMASTER-SQL-USER           PIC X.
               10  APMASTER-SQL-MFA            PIC X.
               10  APMASTER-FLAGS.
                   15  APMASTER-FLAG-01        PIC X.
                   15  APMASTER-FLAG-02        PIC X.
                   15  APMASTER-FLAG-03        PIC X.
                   15  APMASTER-FLAG-04        PIC X.
                   15  APMASTER-FLAG-05        PIC X.
                   15  APMASTER-FLAG-06        PIC X.
                   15  APMASTER-FLAG-07        PIC X.
                   15  APMASTER-FLAG-08        PIC X.
               10  APMASTER-FLAGS-USER.
                   15  APMASTER-FLAG-U1        PIC X.
                   15  APMASTER-FLAG-U2        PIC X.
                   15  APMASTER-FLAG-U3        PIC X.
                   15  APMASTER-FLAG-U4        PIC X.
                   15  APMASTER-FLAG-U5        PIC X.
                   15  APMASTER-FLAG-U6        PIC X.
                   15  APMASTER-FLAG-U7        PIC X.
                   15  APMASTER-FLAG-U8        PIC X.
               10  APMASTER-RECORDS            PIC 9(8).
               10  APMASTER-BLANK-LINES        PIC 9(8).
               10  APMASTER-COMMENTS           PIC 9(8).
               10  APMASTER-LINES-OF-CODE      PIC 9(8).
               10  APMASTER-LA-DATE            PIC X(8).
               10  APMASTER-LA-TIME            PIC X(8).
               10  APMASTER-LA-TOKEN           PIC 9(3).
               10  APMASTER-DEPENDENCY-CODE    PIC 9(5).
               10  APMASTER-DEPENDENCY-EXEC    PIC 9(5).
               10  APMASTER-FILLER-00          PIC X(090).
               10  APMASTER-MVS-MEMBER-NAME    PIC X(016).
               10  APMASTER-PCNAME             PIC X(256).
               10  APMASTER-MAKEACTION         PIC X(224).
               10  APMASTER-HOSTNAME           PIC X(256).
      *
      ***  APMASTB1 - End-of-Copy File - - - - - - - - - - - APMASTB1 *
      *****************************************************************
      *

Table of Contents Previous Section Next Section Record Structure for the Copy File Cross Reference (COPYXREF)

The following source member (APXREFB1.cpy) is the COBOL copy file that defines the record structure for the record sequential file that contains the cross reference information.

      *****************************************************************
      *                APXREFB1 is a COBOL Copy File                  *
      *        Copy File for the SIMOLYZE Cross Reference File        *
      *    This is a Record Sequential File with Fixed-Field-Length   *
      *                   and Fixed-Record Length.                    *
      *         Copyright (C) 1987-2018 SimoTime Technologies         *
      *                     All Rights Reserved                       *
      *****************************************************************
      *              Provided by SimoTime Technologies                *
      *        Our e-mail address is: helpdesk@simotime.com           *
      *     Also, visit our Web Site at http://www.simotime.com       *
      *****************************************************************
      *
       01  APXREF-RECORD.
           05  APXREF-REC-ID             pic X(4).
           05  APXREF-MEMBER-TYPE        pic X(8).
           05  APXREF-STMT-TYPE          pic X(8).
           05  APXREF-COPY-NAME          pic X(32).
           05  APXREF-MEMBER-NAME        pic X(16).
           05  APXREF-RECORD-NUMBER      pic 9(7).
           05  APXREF-COMMENT            pic X(32).
           05  APXREF-LOCATION-NAME      pic X(256).
           05  FILLER                    pic X(149).
      *
      ***  APXREFB1 - End-of-Copy File - - - - - - - - - - - APXREFB1 *
      *****************************************************************
      *

Table of Contents Previous Section Next Section Summary

The purpose of this document is 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 choice of alternatives.

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 to Similar Pages

This section includes links to documents with additional information that are beyond the scope and purpose of this document.

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

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 to interpret the results of accessing VSAM data sets and/or QSAM files.

Table of Contents Previous Section Next Section Downloads and Links, 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 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 Comments, Suggestions or Feedback

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: helpdesk@simotime.com

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


Return-to-Top
Application Inventory by Member Type, Source Member Categorization and Analysis
Copyright © 1987-2018
SimoTime Technologies and Services
All Rights Reserved
When technology complements business
http://www.simotime.com