|
Application Repository Populate with Source Information |
![]() |
| The SimoTime Home Page |
The suite of programs provides the capability of creating and managing a repository of information (or Application Properties Repository) about the source code used by a mainframe application or group of applications. The 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 |
Note: The source member typing software provides the information that is used to create the Application Properties Repository
Explore How to do Source Member Typing by scanning a library of source members. The SimoLYZE software will scan a source member and determine the appropriate file extension that is required (CBL, CPY, JCL, PRC, BMS, MLC, MAC, MFS, PSB, DBD, etc...).
We have made a significant effort to ensure the documents and software technologies are correct and accurate. We reserve the right to make changes without notice at any time. The function delivered in this version is based upon the enhancement requests from a specific group of users. The intent is to provide changes as the need arises and in a timeframe that is dependent upon the availability of resources.
Copyright © 1987-2025
SimoTime Technologies and Services
All Rights Reserved
This 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.
The following shows the sequence of processing and the steps to be performed when creating a new SimoTime Repository of Application Properties. The final step produces an HTML document with properties for each member and a summary with totals of members by category.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Note-1: Application Asset Repository | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Note-2: This is a normal end-of-job |
| Process Flow for the Application Analysis and Categorization |
Color Associations: The
The following shows a model directory structure that is used by this suite of programs.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 |
Color Associations: The
WIP
WIP
This section will focus on the commands used to build the SimoTime Repository for Application Properties and produce various reports and listing files.
The following command (APLOADW1.cmd) will perform all the steps required to create a new SimoTime Repository for Application Properties.
@echo OFF
set JobName=A1LOADW1
echo * *******************************************************************
echo * This Job Script is a Windows Command File *
rem * SimoTime Technologies and Services *
echo * (C) Copyright 1987-2023 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 * and 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
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 APALOCW1
rem *
call SimoNOTE "* Continue - Create a new Cross Reference File"
call APXREFW8
rem *
call SimoNOTE "* Continue - Scan the BMS Source Members"
call APUBMSW1
rem *
call SimoNOTE "* Continue - Scan the COBOL Source Members"
call APUCBLW1
rem *
call SimoNOTE "* Continue - Scan the Assembler Source Members"
call APUASMW1
rem *
call SimoNOTE "* Continue - Scan the JCL Source Members"
call APUJCLW1
rem *
call SimoNOTE "* Continue - Process the Cross Reference Information"
call APXREFW1
call APXREFW2
call APXREFW3
rem *
call SimoNOTE "* Continue - Create a new HTML File with Hyperlinks"
call APHTMLW3
rem *
call SimoNOTE "* Finished JobName %JobName%.CMD "
if not "%SimoMODE%" == "BATCH" pause
This section will describe how to run each step of the multi-step job.
This following command (APALOCW1.cmd) will allocate a new repository.
@echo OFF
set CmdName=APALOCW1
rem * *******************************************************************
rem * This Job Script is a Windows Command File *
rem * SimoTime Technologies and Services *
rem * (C) Copyright 1987-2023 All Rights Reserved *
rem * Web Site URL: http://www.simotime.com *
rem * e-mail: helpdesk@simotime.com *
rem * *******************************************************************
rem * This procedure will create a new Application Repository file
rem *
rem * ********************************************************************
rem * Step 1 of 3, Prepare the System and Job environment ...
rem *
call ..\ENV1BASE
set JobStatus=0
rem *
call SimoNOTE "*******************************************%CmdName%.cmd"
call SimoNOTE "* Starting JobName %CmdName%.CMD"
rem *
set SLZCONFG=%BaseLib1%\Adm1\APC4Lyz1.cfg
set SLZUPD1=%BaseLib1%\Adm1\Data\Wrk1\ALLOCATE.TXT
echo //ACTION ALLOCATE>%SLZUPD1%
set APMASTER=%BaseLib1%\Adm1\DATA\APPL\SIMOTIME.SAM1.APMASTER.dat
if exist %APMASTER% erase %APMASTER%
rem * ********************************************************************
rem * Step 2 of 3, Allocate a new Source Code Repository...
rem *
run SIMOLYZE UPDATE
if not "%ERRORLEVEL%" == "0" set JobStatus=0010
rem * ********************************************************************
rem * Step 3 of 3, End of Job Processing...
rem *
if not "%JobStatus%" == "0" goto :EojNOK
:EojAOK
call SimoNOTE "* Finished CmdName %CmdName%, Job Status is %JobStatus% "
goto :End
:EojNOK
call SimoNOTE "* ABENDING CmdName %CmdName%, Job Status is %JobStatus% "
goto :End
:End
call SimoNOTE "* Conclude SYSOUT is %SYSOUT%"
if not "%1" == "nopause" pause
if not "%SimoMODE%" == "BATCH" pause
This following command (APUBMSW1.cmd) will scan all the source members in the BMS directory and update the SimoTime Repository of Application Properties.
@echo OFF
setlocal
set CmdName=APUBMSW1
echo * *******************************************************************
echo * APUBMSW1.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2018 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. The source code
echo * that is validated are the *.BMS members from the ASM sub-directory
echo * for the development environment.
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\APPL\SIMOTIME.SAM1.APMASTER.DAT
set COPYXREF=%BaseLib1%\Adm1\DATA\TXT1\SIMOTIME.SAM1.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
WIP
@echo OFF
setlocal
set CmdName=APUCBLW1
echo * *******************************************************************
echo * APUCBLW1.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2020 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. The source
echo * code that is validated are the *.CBL and *.CPY members from the
echo * COBOL and COBCPY sub-directories for the development environment.
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"
rem *
call SimoNOTE "* JOB_Step 01 of 09, Preparing the System and Job Environments "
call SimoNOTE "* This job will scan the COBOL Source Members and update"
call SimoNOTE "* the Application Properties Repository (APMASTER)"
rem *
set SYSIMP1=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP1.TXT
set SYSIMP2=%BaseLib1%\Adm1\Data\Wrk1\SYSTEMP2.TXT
set APMASTER=%BaseLib1%\Adm1\DATA\APPL\SIMOTIME.SAM1.APMASTER.DAT
set COPYXREF=%BaseLib1%\Adm1\DATA\TXT1\SIMOTIME.SAM1.COPYXREF.CSV
set SLZCONFG=%BaseLib1%\Adm1\S1C4LYZ1.CFG
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 02 of 09, Update APMASTER with SAM1\COBCPY1 Members"
echo HOSTNAME SIMOTIME.PDS.COBCPY1 >%SYSIMP1%
echo PCDIR %BaseLib1%\COBCPY1 >>%SYSIMP1%
dir %BaseLib1%\COBCPY1\*.CPY /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 03 of 09, Update APMASTER with SAM1\COBCPY6 Members"
echo HOSTNAME SIMOTIME.PDS.COBCPY6 >%SYSIMP1%
echo PCDIR %BaseLib1%\COBCPY6 >>%SYSIMP1%
dir %BaseLib1%\COBCPY6\*.CPY /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 04 of 09, Update APMASTER with SIMOLIBR\*.cpy Members"
echo HOSTNAME SIMOTIME.PDS.SIMOLIBR >%SYSIMP1%
echo PCDIR c:\SIMOLIBR >>%SYSIMP1%
dir c:\SIMOLIBR\*.CPY /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 05 of 09, Update APMASTER with SAM1\COBOL Members"
echo HOSTNAME SIMOTIME.PDS.COBOL >%SYSIMP1%
echo PCDIR %BaseLib1%\COBOL >>%SYSIMP1%
dir %BaseLib1%\COBOL\*.CBL /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 06 of 09, Update APMASTER with SAM1\COBOLSQ1 Members"
echo HOSTNAME SIMOTIME.PDS.COBOLSQ1 >%SYSIMP1%
echo PCDIR %BaseLib1%\COBOLSQ1 >>%SYSIMP1%
dir %BaseLib1%\COBOLSQ1\*.CBL /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 07 of 09, Update APMASTER with SAM1\COBOLCS1 Members"
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 *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 07 of 09, Update APMASTER with SAM1\COBOLUT1 Members"
echo HOSTNAME SIMOTIME.PDS.COBOLUT1 >%SYSIMP1%
echo PCDIR %BaseLib1%\COBOLUT1 >>%SYSIMP1%
dir %BaseLib1%\COBOLUT1\*.CBL /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
if not "%ERRORLEVEL%" == "0" set JobStatus=0010
if not "%JobStatus%" == "0000" goto :EOJNOK
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 08 of 09, Update APMASTER with SAM1\COBOLUT2 Members"
echo HOSTNAME SIMOTIME.PDS.COBOLUT2 >%SYSIMP1%
echo PCDIR %BaseLib1%\COBOLUT2 >>%SYSIMP1%
dir %BaseLib1%\COBOLUT2\*.CBL /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
if not "%ERRORLEVEL%" == "0" set JobStatus=0010
if not "%JobStatus%" == "0000" goto :EOJNOK
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step XX of XX, Update APMASTER with MODS\DEVL\COBOL Members"
echo HOSTNAME UNKNOWN.UNKNOWN.UNKNOWN >%SYSIMP1%
echo PCDIR c:\DEVOTEK1\MODS\DEVL\COBOL >>%SYSIMP1%
dir c:\DEVOTEK1\MODS\DEVL\COBOL\*.CBL /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
if not "%ERRORLEVEL%" == "0" set JobStatus=0010
if not "%JobStatus%" == "0000" goto :EOJNOK
rem *
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step YY of YY, Update APMASTER with UTIL\DEVL\COBOL Members"
echo HOSTNAME UNKNOWN.UNKNOWN.UNKNOWN >%SYSIMP1%
echo PCDIR c:\DEVOTEK1\UTIL\DEVL\COBOL >>%SYSIMP1%
dir c:\DEVOTEK1\UTIL\DEVL\COBOL\*.CBL /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
if not "%ERRORLEVEL%" == "0" set JobStatus=0010
if not "%JobStatus%" == "0000" goto :EOJNOK
rem *
:EOJTAG
call SIMONOTE "* --------------------------------------------------------------------------- *
call SIMONOTE "* JOB_Step 09 of 09, End of Job Processing"
if not "%JobStatus%" == "0000" goto :EOJNOK
:EOJAOK
call SimoNOTE "* Complete %CmdName%, RC=%JobStatus% "
goto :EOJEND
rem *
rem * ************************************************************************
:EOJNOK
call SimoNOTE "* ABENDING %CmdName%, RC=%JobStatus%, !!!ABENDING!!!"
goto :EOJEND
rem *
rem * ************************************************************************
:EOJEND
if not "%SimoMODE%" == "BATCH" pause
WIP
@echo OFF
setlocal
set CmdName=APUASMW1
echo * *******************************************************************
echo * APUASMW1.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2018 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. The source
echo * code that is validated are the *.MLC, *.CPY and *.MAC members from
echo * the ASM sub-directory for the development environment.
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\APPL\SIMOTIME.SAM1.APMASTER.DAT
set COPYXREF=%BaseLib1%\Adm1\DATA\TXT1\SIMOTIME.SAM1.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%\ASM\ASMCPY1 >>%SYSIMP1%
dir %BaseLib1%\ASM\ASMCPY1\*.CPY /B /A-D /ONE >%SYSIMP2%
run SimoLYZE ORGANIZE
rem *
echo HOSTNAME SIMOTIME.PDS.ASMMAC1 >%SYSIMP1%
echo PCDIR %BaseLib1%\ASM\ASMMAC1 >>%SYSIMP1%
dir %BaseLib1%\ASM\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
WIP
@echo OFF
setlocal
set CmdName=APUJCLW1
echo * *******************************************************************
echo * APUJCLW1.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2018 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. The source code
echo * that is validated are the *.JCL, *.PRC and *.INC members from the
echo * JCL, PROCLIB and JCLINCS sub-directories for the development
echo * environment.
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\APPL\SIMOTIME.SAM1.APMASTER.dat
set COPYXREF=%BaseLib1%\Adm1\DATA\TXT1\SIMOTIME.SAM1.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
WIP
WIP
@echo OFF
set CmdName=APXREFW1
echo * *******************************************************************
echo * APXREFW1.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2018 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\TXT1\SIMOTIME.SAM1.COPYXREF.CSV
rem *
rem **************************************************************
rem * Create new or replace existing COPYXREF File.
rem *
set XREFLCSV=%BaseLib1%\Adm1\DATA\TXT1\SIMOTIME.SAM1.COPYXREF.CSV
set XREFRFFL=%BaseLib1%\Adm1\DATA\APPL\SIMOTIME.SAM1.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
WIP
@echo OFF
set CmdName=APXREFW2
echo * *******************************************************************
echo * APXREFW2.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2018 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\APPL\SIMOTIME.SAM1.COPYXREF.DAT
set SORTOUT=%BaseLib1%\Adm1\DATA\Wrk1\SIMOTIME.SAM1.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
WIP
@echo OFF
set CmdName=APXREFW3
echo * *******************************************************************
echo * APXREFW3.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2018 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 to SYSOUT.
echo * Note: the SYSOUT device is defined by a DD statement in JCL or an
echo * environment setting in a Windows command file.
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.SAM1.SORTXREF.DAT
set APMASTER=%BaseLib1%\Adm1\DATA\APPL\SIMOTIME.SAM1.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
WIP
This job (APALOCW1.cmd) is a Windows Command File that will delete an existing Application Properties Repository (APMASTER) and create a new empty file.
@echo OFF
set CmdName=APALOCW1
rem * *******************************************************************
rem * This Job Script is a Windows Command File *
rem * SimoTime Technologies and Services *
rem * (C) Copyright 1987-2023 All Rights Reserved *
rem * Web Site URL: http://www.simotime.com *
rem * e-mail: helpdesk@simotime.com *
rem * *******************************************************************
rem * This procedure will create a new Application Repository file
rem *
rem * ********************************************************************
rem * Step 1 of 3, Prepare the System and Job environment ...
rem *
call ..\ENV1BASE
set JobStatus=0
rem *
call SimoNOTE "*******************************************%CmdName%.cmd"
call SimoNOTE "* Starting JobName %CmdName%.CMD"
rem *
set SLZCONFG=%BaseLib1%\Adm1\APC4Lyz1.cfg
set SLZUPD1=%BaseLib1%\Adm1\Data\Wrk1\ALLOCATE.TXT
echo //ACTION ALLOCATE>%SLZUPD1%
set APMASTER=%BaseLib1%\Adm1\DATA\APPL\SIMOTIME.SAM1.APMASTER.dat
if exist %APMASTER% erase %APMASTER%
rem * ********************************************************************
rem * Step 2 of 3, Allocate a new Source Code Repository...
rem *
run SIMOLYZE UPDATE
if not "%ERRORLEVEL%" == "0" set JobStatus=0010
rem * ********************************************************************
rem * Step 3 of 3, End of Job Processing...
rem *
if not "%JobStatus%" == "0" goto :EojNOK
:EojAOK
call SimoNOTE "* Finished CmdName %CmdName%, Job Status is %JobStatus% "
goto :End
:EojNOK
call SimoNOTE "* ABENDING CmdName %CmdName%, Job Status is %JobStatus% "
goto :End
:End
call SimoNOTE "* Conclude SYSOUT is %SYSOUT%"
if not "%1" == "nopause" pause
if not "%SimoMODE%" == "BATCH" pause
This job (APXREFW8.cmd) is a Windows Command File that will create a new cross reference file.
@echo OFF
set CmdName=APXREFW8
echo * *******************************************************************
echo * APXREFW8.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2018 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\TXT1\SIMOTIME.SAM1.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
WIP
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
WIP
@echo OFF
set CmdName=BMGENAE1
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
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
WIP
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
WIP
@echo OFF
set CmdName=CBBATAE1
echo *********************************************************************
echo * CBBATAE1.CMD - a Windows Command File *
echo * This program is provided by SimoTime Technologies *
echo * (C) Copyright 1987-2023 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 %CmdName%
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
rem set zDIRS=%DirsLib1%\OS390AscCBLBAT.DIR
set zDIRS=%DirsLib1%\ENTCOBOLASCCBLBAT.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
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
WIP
WIP
*****************************************************************
* 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-2023 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 *
*****************************************************************
*
WIP
*****************************************************************
* APXREFB1.CPY is a COBOL Copy 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 *
*****************************************************************
* Application Properties, Cross Reference Identification.
* Copy File the APXREFID File with Fixed Field Format.
01 APXREFF1-REC.
05 APXREFF1-DATA-01.
10 APXREFF1-MEMBER-TYPE PIC X(3).
10 APXREFF1-MEMBER-NAME PIC X(12).
10 APXREFF1-SCANNED-TYPE PIC X(4).
10 APXREFF1-EXEC-PGM-NAME PIC X(8).
10 APXREFF1-STMT-NUMBER PIC 9(9).
10 APXREFF1-MEMBER-STATUS PIC 9(2).
10 APXREFF1-MEMBER-COMMENT PIC X(128).
10 FILLER PIC X(346).
*** APXREFB1 - End-of-Copy File - - - - - - - - - - - APXREFB1 *
*****************************************************************
*
The suite of programs provides the capability of creating and managing a repository of information (or Application Properties Repository) about the source code used by a mainframe application or group of applications. This document may be used 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 documentation and software were developed and tested on systems that are configured for a SIMOTIME environment based on the hardware, operating systems, user requirements and security requirements. Therefore, adjustments may be needed to execute the jobs and programs when transferred to a system of a different architecture or configuration.
SIMOTIME Services has experience in moving or sharing data or application processing across a variety of systems. For additional information about SIMOTIME Services or Technologies please contact us using the information in the Contact or Feedback section of this document.
Software Agreement and Disclaimer
Permission to use, copy, modify and distribute this software, documentation or training material for any purpose requires a fee to be paid to SimoTime Technologies. Once the fee is received by SimoTime the latest version of the software, documentation or training material will be delivered and a license will be granted for use within an enterprise, provided the SimoTime copyright notice appear on all copies of the software. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Technologies.
SimoTime Technologies makes no warranty or representations about the suitability of the software, documentation or learning material for any purpose. It is provided "AS IS" without any expressed or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. SimoTime Technologies shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, arising out of or in connection with the use or performance of this software, documentation or training material.
This section includes links to documents with additional information that are beyond the scope and purpose of this document. The first group of documents may be available from a local system or via an internet connection, the second group of documents will require an internet connection.
Note: A SimoTime License is required for the items to be made available on a local system or server.
The following links may be to the current server or to the Internet.
Note: The latest versions of the SimoTime Documents and Program Suites are available on the Internet and may be accessed using the
icon. If a user has a SimoTime Enterprise License the Documents and Program Suites may be available on a local server and accessed using the
icon.
Explore how to manage a repository of Application Assets that uses a VSAM, Key-Sequenced-Data-Set (a KSDS named APMASTER). The repository includes information about the program source members used for batch and transactional processing.
Explore a List of Application Assets that uses the Application Repository (APMASTER) as input. The repository includes information about the program source members used for batch and transaction processing. This is an HTML document and may be viewed with a browser of choice.
Explore a CICS Sample Program for accessing the APMASTER File. The APMASTER File contains information (or properties) about the application source members used for batch and transactional processing.
Explore The ASCII and EBCDIC Translation Tables. These tables are provided for individuals that need to better understand the bit structures and differences of the encoding formats.
Explore The File Status Return Codes that are used to interpret the results of accessing VSAM data sets and/or QSAM files.
The following links will require an internet connect.
A good place to start is The SimoTime Home Page for access to white papers, program examples and product information. This link requires an Internet Connection
Explore The Micro Focus Web Site for more information about products (including Micro Focus COBOL) and services available from Micro Focus. This link requires an Internet Connection.
Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.
This document was created and is maintained by SimoTime Technologies. If you have any questions, suggestions, comments or feedback please use the following contact information.
| 1. | Send an e-mail to our helpdesk. |
| 1.1. | helpdesk@simotime.com. |
| 2. | Our telephone numbers are as follows. |
| 2.1. | 1 415 763-9430 office-helpdesk |
| 2.2. | 1 415 827-7045 mobile |
We appreciate hearing from you.
SimoTime Technologies was founded in 1987 and is a privately owned company. We specialize in the creation and deployment of business applications using new or existing technologies and services. We have a team of individuals that understand the broad range of technologies being used in today's environments. Our customers include small businesses using Internet technologies to corporations using very large mainframe systems.
Quite often, to reach larger markets or provide a higher level of service to existing customers it requires the newer Internet technologies to work in a complementary manner with existing corporate mainframe systems. We specialize in preparing applications and the associated data that are currently residing on a single platform to be distributed across a variety of platforms.
Preparing the application programs will require the transfer of source members that will be compiled and deployed on the target platform. The data will need to be transferred between the systems and may need to be converted and validated at various stages within the process. SimoTime has the technology, services and experience to assist in the application and data management tasks involved with doing business in a multi-system environment.
Whether you want to use the Internet to expand into new market segments or as a delivery vehicle for existing business functions simply give us a call or check the web site at http://www.simotime.com
| Return-to-Top |
| Define an Application Properties Repository, Populate with Validated Source Information |
| Copyright © 1987-2025 SimoTime Technologies and Services All Rights Reserved |
| When technology complements business |
| http://www.simotime.com |