AND, OR and XOR Functions Regression Test of Boolean Logic |
The SimoTime Home Page |
This Job Script will describe and demonstrate Boolean Logic Functions using COBOL programs. The test cases are used to perform Logical AND, OR and XOR functions.
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
The following shows the sequencing of events and processing tasks that are used to describe and demonstrate Boolean Logic Functions using COBOL programs.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Objective: This Job Script will execute a series of job steps that perform Boolean Logic Functions using COBOL Programs. |
Test Cases for Logical AND, OR and XOR Functions |
Color Associations: The
The following describes the Job Scripts and Programs that are used to generate, transfer and compile a suite of programs that will accumulate Summary Totals and perform various types of numeric integrity checking and make optional adjustments to numeric values that are stored in a Packed-Decimal format.
1. | Call a Job Script (ENV1BASE.cmd) to set the System Environment Variable. |
2. | Execute Function 01, Logical AND function. |
2.1. | Call a Job Script (LORANDW1.cmd) that will execute a unit test for the Logical AND function. |
2.1.1. | Run LORANDC1.gnt that is a COBOL driver program. |
2.1.1.1. | Call STANDPGM.gnt that is a COBOL program that performs the AND function. |
2.1.2. | Test data is created within the test program. |
2.1.3. | The results are posted to the SYSOUT device. |
3. | Execute Function 02, Logical OR function. |
3.1. | Call a Job Script (LORORRW1.cmd) that will execute a unit test for the Logical OR function. |
3.1.1. | Run LORORRC1.gnt that is a COBOL driver program. |
3.1.1.1. | Call STORRPGM.gnt that is a COBOL program that performs the OR function. |
3.1.2. | Test data is created within the test program. |
3.1.3. | The results are posted to the SYSOUT device. |
4. | Execute Function 03, Logical XOR function. |
4.1. | Call a Job Script (LORXORW0.cmd) that will execute a unit test for the Logical XOR function. |
4.1.1. | Run LORXORC0.gnt that is a COBOL driver program. |
4.1.1.1. | Call AIXC00A1.390 that is an HLASM (IBM Mainframe Assembler) program that performs the XOR function. |
4.1.2. | Test data is created within the test program. |
4.1.3. | The results are posted to the SYSOUT device. |
5. | Execute Function 04, Logical XOR function. |
5.1. | Call a Job Script (LORXORW1.cmd) that will execute a unit test for the Logical XOR function. |
5.1.1. | Run LORXORC1.gnt that is a COBOL driver program. |
5.1.1.1. | Call STORRPGM.gnt that is a COBOL program that performs the XOR function. |
5.1.2. | Test data is created within the test program. |
5.1.3. | The results are posted to the SYSOUT device. |
6. | Execute End of Job Processing. |
The following (RTW008W1.cmd) is the Windows CMD that is used to test the Boolean Logic Functions.
@echo OFF set RtwName=RTW008W1 rem * ******************************************************************* rem * RTW008W1.cmd - a Windows Command File * rem * This Job Script is provided by SimoTime Technologies * rem * (C) Copyright 1987-2019 All Rights Reserved * rem * Web Site URL: http://www.simotime.com * rem * e-mail: helpdesk@simotime.com * rem * ******************************************************************* rem * rem * Text - Regression Test of Boolean Logic using COBOL rem * Author - SimoTime Technologies rem * Date - January 24, 1996 rem * rem * Windows Job Script to execute unit test for Boolean Logic rem * rem * 1. Logical AND function. rem * 2. Logical OR function rem * 3. Logical XOR function. rem * 4. Logical XOR function. rem * rem * ******************************************************************* rem * rem * Prepare the System Environment. call ..\ENV1BASE %RtwName% set SYSOUT_RESTORE=%SYSOUT% set JobStatus=0000 set NOJS=06 set NBRUTASK=06 if "%SYSLOG%" == "" set syslog=c:\SimoLIBR\LOGS\SimoTime.LOG set SIMOMODE=BATCH set AOK_Count=0 set NOK_Count=0 rem * call SIMONOTE "*********************************************************************%RtwName%" call SIMONOTE "* Regression Test Cases of Boolean Logic using COBOL Programs *" rem * call SIMONOTE "* ----------------------------------------------------------------- *PREPARE" call SIMONOTE "* Call the Job Script for the Logical AND function ---------------- *FT01.01" call LORANDW1 nopause IF %ERRORLEVEL% EQU 0 (set /A AOK_Count=%AOK_Count% + 1) ELSE (set /A NOK_Count=%NOK_Count% + 1) call SIMONOTE "* AOKcount Generate Count for AOK is %AOK_Count% " call SIMONOTE "* NOKcount Generate Count for NOK is %NOK_Count% " rem * call SIMONOTE "* ----------------------------------------------------------------- *EXECUTE" call SIMONOTE "* Call the Job Script for the Logical OR function ----------------- *FT02.01" call LORORRW1 nopause IF %ERRORLEVEL% EQU 0 (set /A AOK_Count=%AOK_Count% + 1) ELSE (set /A NOK_Count=%NOK_Count% + 1) call SIMONOTE "* AOKcount Generate Count for AOK is %AOK_Count% " call SIMONOTE "* NOKcount Generate Count for NOK is %NOK_Count% " rem * call SIMONOTE "* ----------------------------------------------------------------- *EXECUTE" call SIMONOTE "* Call the Job Script for a Logical XOR function ------------------ *FT03.01" call LORXORW0 nopause IF %ERRORLEVEL% EQU 0 (set /A AOK_Count=%AOK_Count% + 1) ELSE (set /A NOK_Count=%NOK_Count% + 1) call SIMONOTE "* AOKcount Generate Count for AOK is %AOK_Count% " call SIMONOTE "* NOKcount Generate Count for NOK is %NOK_Count% " rem * call SIMONOTE "* ----------------------------------------------------------------- *EXECUTE" call SIMONOTE "* Call the Job Script for a Logical XOR function ------------------ *FT04.01" call LORXORW1 nopause IF %ERRORLEVEL% EQU 0 (set /A AOK_Count=%AOK_Count% + 1) ELSE (set /A NOK_Count=%NOK_Count% + 1) set SYSOUT=%SYSOUT_RESTORE% call SIMONOTE "* AOKcount Generate Count for AOK is %AOK_Count% " call SIMONOTE "* NOKcount Generate Count for NOK is %NOK_Count% " rem * :Eoj call SIMONOTE "* ----------------------------------------------------------------- *" call SIMONOTE "* End of Job Processing " if "%NOK_Count%" == "0" goto EojAok goto EojNok :EojAok call SIMONOTE "* Finished %RtwName%, Exit Status is 0 " goto :End :EojNok call SIMONOTE "* ABENDING %RtwName%, Exit Status is 16 " :End pause
The following is an overview of the function tests that are performed by this Job Script.
1. | Call a Job Script (LORANDW1.cmd) that will execute a unit test for the Logical AND function. |
2. | Call a Job Script (LORORRW1.cmd) that will execute a unit test for the Logical OR function. |
3. | Call a Job Script (LORXORW1.cmd) that will execute a unit test for the Logical XOR function. |
Note: The following links will describe a suite of job scripts that may be used for Unit Testing and may be executed on demand.
,Call a Job Script (LORANDW1.cmd) that will execute a unit test for the Logical And function.
@echo OFF rem * ******************************************************************* rem * LORANDW1.cmd - a Windows Command File * rem * This program is provided by SimoTime Technologies * rem * (C) Copyright 1987-2019 All Rights Reserved * rem * Web Site URL: http://www.simotime.com * rem * e-mail: helpdesk@simotime.com * rem * ******************************************************************* rem * rem * Text - Test Case for AND Logical Operator Routine. rem * Author - SimoTime Technologies rem * Date - December 15, 2016 rem * rem * This set of programs illustrates the use a COBOL program to do rem * a logical AND function. rem * rem * ************ rem * * LORANDW1 * rem * ********cmd* rem * * rem * * rem * ************ ************ rem * * LORANDC1 *------* SYSOUT * rem * ********cbl* ************ rem * * * rem * * * ************ rem * * *--call--* STANDPGM * rem * * ********cbl* rem * * rem * ************ rem * * EOJ * rem * ************ rem * rem * ******************************************************************* rem * Step 1, Prepare the Environment... rem * set CmdName=LORANDW1 call ..\ENV1BASE %CmdName% if "%SYSLOG%" == "" set syslog=c:\SimoLIBR\LOGS\SimoTime.LOG set JobStatus=0000 rem * call SimoNOTE "*******************************************************%CmdName%" call SimoNOTE "Starting JobName %CmdName%" rem * rem * ******************************************************************* rem * Step 2, Execute the Test Program for a logical AND... call SimoNOTE "Continue JobName %CmdName% Execute the AND Test Program" run LORANDC1 if not ERRORLEVEL = 0 set JobStatus=0010 if not %JobStatus% == 0000 goto :EojNok rem * rem * ******************************************************************* rem * Step 3, End-of-Job Processing... :EojAok call SimoNOTE "Finished JobName %CmdName%, Job Status is %JobStatus%" goto :End :EojNok call SimoNOTE "ABENDING JobName %CmdName%, Job Status is %JobStatus%" :End if not "%1" == "nopause" pause,
Call a Job Script (LORORRW1.cmd) that will execute a unit test for the Logical or function.
@echo OFF rem * ******************************************************************* rem * LORORRW1.cmd - a Windows Command File * rem * This program is provided by SimoTime Technologies * rem * (C) Copyright 1987-2019 All Rights Reserved * rem * Web Site URL: http://www.simotime.com * rem * e-mail: helpdesk@simotime.com * rem * ******************************************************************* rem * rem * Text - Test Case for OR Logical Operator Routine. rem * Author - SimoTime Technologies rem * Date - December 15, 2016 rem * rem * This set of programs illustrates the use a COBOL program to do rem * a logical AND function. rem * rem * ************ rem * * LORORRW1 * rem * ********cmd* rem * * rem * * rem * ************ ************ rem * * LORORRC1 *------* SYSOUT * rem * ********cbl* ************ rem * * * rem * * * ************ rem * * *--call--* STORRPGM * rem * * ********cbl* rem * * rem * ************ rem * * EOJ * rem * ************ rem * rem * ******************************************************************* rem * Step 1, Prepare the Environment... rem * set CmdName=LORORRW1 call ..\ENV1BASE %CmdName% if "%SYSLOG%" == "" set syslog=c:\SimoLIBR\LOGS\SimoTime.LOG set JobStatus=0000 rem * call SimoNOTE "*******************************************************%CmdName%" call SimoNOTE "Starting JobName %CmdName%" rem * rem * ******************************************************************* rem * Step 2, Execute the Test Program for a logical OR... call SimoNOTE "Continue JobName %CmdName% Execute the OR Test Program" run LORORRC1 if not ERRORLEVEL = 0 set JobStatus=0010 if not %JobStatus% == 0000 goto :EojNok rem * rem * ******************************************************************* rem * Step 3, End-of-Job Processing... :EojAok call SimoNOTE "Finished JobName %CmdName%, Job Status is %JobStatus%" goto :End :EojNok call SimoNOTE "ABENDING JobName %CmdName%, Job Status is %JobStatus%" :End if not "%1" == "nopause" pause,
Call a Job Script (LORXORW1.cmd) that will execute a unit test for the Logical xor function.
@echo OFF rem * ******************************************************************* rem * LORXORW1.cmd - a Windows Command File * rem * This program is provided by SimoTime Technologies * rem * (C) Copyright 1987-2019 All Rights Reserved * rem * Web Site URL: http://www.simotime.com * rem * e-mail: helpdesk@simotime.com * rem * ******************************************************************* rem * rem * Text - Test Case for XOR Logical Operator Routine. rem * Author - SimoTime Technologies rem * Date - December 15, 2016 rem * rem * This set of programs illustrates the use a COBOL program to do rem * an Exclusive OR (XOR) function. rem * rem * ************ rem * * LORXORW1 * rem * ********cmd* rem * * rem * * rem * ************ ************ rem * * LORXORC1 *------* SYSOUT * rem * ********cbl* ************ rem * * * rem * * * ************ rem * * *--call--* STXORPGM * rem * * ********cbl* rem * * rem * ************ rem * * EOJ * rem * ************ rem * rem * ******************************************************************* rem * Step 1, Prepare the Environment... rem * set CmdName=LORXORW1 call ..\ENV1BASE %CmdName% if "%SYSLOG%" == "" set syslog=c:\SimoLIBR\LOGS\SimoTime.LOG set JobStatus=0000 rem * call SimoNOTE "*******************************************************%CmdName%" call SimoNOTE "Starting JobName %CmdName%" rem * rem * ******************************************************************* rem * Step 2, Execute the XOR Test Program... call SimoNOTE "Continue JobName %CmdName% Execute the XOR Test Program" set SYSOUT=%BASELIB1%\LOGS\SYSOUT_%CmdName%.txt run LORXORC1 if not ERRORLEVEL = 0 set JobStatus=0010 if not %JobStatus% == 0000 goto :EojNok rem * rem * ******************************************************************* rem * Step 3, End-of-Job Processing... :EojAok call SimoNOTE "Finished JobName %CmdName%, Job Status is %JobStatus%" goto :End :EojNok call SimoNOTE "ABENDING JobName %CmdName%, Job Status is %JobStatus%" :End if not "%1" == "nopause" pause
The following provides an in-depth look at the Job Scripts used by this suite of test cases.
This section provides additional detail about the CMD files and programs that are used to support this set of sample programs.
Explore How to use Common or Shared Routines that perform repetitive tasks in a consistent manner. This link will provide information about setting common environment variables and many other utilitarian tasks.
A command file (ENV1BASE.cmd) is called from other command files to set commonly used environment variables. This provides a single point of definition. The following is a listing of the contents of the command file.
@echo OFF rem * ******************************************************************* rem * ENV1BASE.cmd - a Windows Command File * rem * This program is provided by SimoTime Technologies * rem * (C) Copyright 1987-2021 All Rights Reserved * rem * Web Site URL: http://www.simotime.com * rem * e-mail: helpdesk@simotime.com * rem * ******************************************************************* rem * rem * Text - Provide a single point to set common environment variables. rem * Author - SimoTime Technologies rem * Date - January 24, 1996 rem * rem * Set the commonly used environment variables. This is used to provide rem * a single point for managing the commonly used environment variables. rem * set SimoLIBR=c:\SimoLIBR set BASELIB1=c:\SIMOSAM1\DEVL set BASELIB8=c:\SimoSAM8 set BaseWIP1=c:\SimoSAM1\WIP1 set DATAZERO=c:\SIMODATA\DEVL\DATA\ZERO set BASEAPP=%BaseLib1% set BASESYS=%BaseLib1%\SYS1 set BASECAT=%BaseLib1%\DATA set UMAPALIB=%BASECAT%\ASC1 set UMAPELIB=%BASECAT%\EBC1 set SYSLOG=%BASESYS%\LOGS\SYSLOG_USER.DAT set SYSOUT=%BASEAPP%\LOGS\SYSOUT_SIMSAM01.txt set SLZMSG=%BASEAPP%\LOGS\SLZMSG_USER.TXT set PostNOTE=%BASEAPP%\LOGS\JOBLOG_SIMONOTE.TXT set SIMONOTE=%BASEAPP%\LOGS\JOBLOG_SIMONOTE.txt set USERPOST=%BASEAPP%\LOGS\ASSIGNED_USER_POST_FILE.txt if [%1]==[] goto NO_POST set SYSOUT=%BaseLib1%\LOGS\SYSOUT_%1.txt call SIMONOTE "+ ENV1BASE *" call SIMONOTE "+ ENV1BASE ********************************************************************%1" call SIMONOTE "+ ENV1BASE is preparing the System Environment..." call SIMONOTE "+ SIMOLIBR is %SIMOLIBR%" call SIMONOTE "+ MIFOSYS1 is %MIFOSYS1%" call SIMONOTE "+ BASELIB1 is %BASELIB1%" :NO_POST call SIMONOTE "+ SIMONOTE Job Log File is %SIMONOTE% " rem * set MQBASE=C:\Program Files\IBM\WebSphere MQ rem * rem * Set the location for the Apache-Tomcat Server... set CATALINA_HOME=C:\APACHETC\apache-tomcat-7.0.52 rem set CATALINA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_112 rem * rem * Set the Environment for the Java Environment... rem set JAVABASE=C:\APACHETC\apache-tomcat-7.0.52 set JAVABASE=C:\Program Files (x86)\Java\jdk1.8.0_112 set JAVASDK="%JAVABASE%\bin" set JAVA_HOME=%JAVABASE% set JRE_HOME=%JAVABASE% set SIMOTCAT=%CATALINA_HOME%\webapps\simotcat set SIMPACKS=%CATALINA_HOME%\webapps\simotcat\WEB-INF\classes\simpacks rem * rem * Set the environment for the Micro Focus technology... set MIFOEDEV=C:\Program Files (x86)\Micro Focus\Enterprise Developer set MIFOVCBL=C:\Program Files (x86)\Micro Focus\Visual COBOL Build Tools set MIFOESTU=C:\Program Files (x86)\Micro Focus\Studio Enterprise Edition 6.0 set MIFOEMFE="C:\Program Files (x86)\Micro Focus\Mainframe Express" rem * rem * Large file support, performance tuning and record locking of the File Handler set EXTFH=%BASESYS%\CONFIG\EXTFHBIG.CFG rem * rem * For IMS Support set ES_IMSLIB=%BASEAPP%\IMSLIB set ES_ACBLIB=%BASEAPP%\IMSLIB rem * rem * EZASOKETS Check EZASOKETS Enabled box or set ES_EZASOKET_SUPPORT=YES set EZACONFG=BASESYS1\CONFIG\EZACONFG.dat rem * rem * Resource Allocation and Performance for SORT and non-Relational Data rem set MFJSENGINE=SYNCSORT set SORTSCHEME=1 set SORTSPACE=750000000 set TMP=C:\SORTWORK rem * set ES_ALLOC_OVERRIDE=%BASESYS%\CONFIG\CATMAPA1.cfg rem * For CORE_ON_ERROR function, ABEND Dump rem * set COBCONFIG_=%BASESYS%\CONFIG\diagnose.cfg rem * rem * Consolidated Trace Facility (CTF) rem * set MFTRACE_CONFIG=%BASESYS%\CONFIG\ctf.cfg rem * set MFTRACE_LOGS=c:\ctflogs rem * rem * For Job Restart, ABEND Recovery set MF_UCC11=Y set ES_JES_RESTART=Y rem * rem * Set environment for MFBSI (Micro Focus Batch Scheduling Interface) set ES_EMP_EXIT_1=mfbsiemx set MFBSI_DIR=%BASESYS%\LOGS\%JESSERVERNAME% set MFBSIEOP_CMD=ENABLE set MFBSIEOP_CSV=ENABLE set MFBSIEOP_HTM=ENABLE set MFBSIEOP_XML=ENABLE rem * rem * Set Behavior and Trace Flags for GETJOBDD rem * Position=12345678/12345678 set JDDFLAGS=nnnWnnnn/YYnnnnnn rem * rem * If not already set then set the PATH for Micro Focus Directories if "%SIMOPATH%" == "Y" goto JUMPPATH if "%MIFOSYS1%" == "EDEV" goto JUMPEDEV if "%MIFOSYS1%" == "VCBL" goto JUMPVCBL if "%MIFOSYS1%" == "ESTU" goto JUMPESTU if "%MIFOSYS1%" == "EMFE" goto JUMPEMFE :JUMPEDEV set path=%BASESYS%\LOADLIB;%MIFOEDEV%\bin;%JAVASDK%;%BASEAPP%\JAVA;%PATH%; set CobCpy=%BASEAPP%\CobCpy1;%BASEAPP%\CobCpy2;%BASEAPP%\CobCpy6;%SimoLIBR%;%MIFOEDEV%\CPYLIB set MIFOBASE=%MIFOEDEV% goto JUMPPATH :JUMPVCBL set path=%MIFOVCBL%\bin;%MIFOVCBL%;%JAVASDK%;%BASEAPP%\JAVA;%PATH%; set MIFOBASE=%MIFOVCBL% goto JUMPPATH :JUMPESTU set MIFOBASE=%MIFOESTU%\Base set MIFOBIN=%MIFOBASE%\bin set path=%BASESYS%\LOADLIB;%MIFOBASE%;%MIFOBIN%;%JAVASDK%;%BASEAPP%\JAVA;%PATH%; set CobCpy=%BASEAPP%\CobCpy1;%BASEAPP%\CobCpy2;%BASEAPP%\CobCpy6;%SimoLIBR%;%MIFOBASE%\SOURCE goto JUMPPATH :JUMPEMFE set MIFOBASE=%MIFOEMFE%\Base set MIFOBIN=%MIFOBASE%\bin set path=%BASESYS%\LOADLIB;%MIFOBASE%;%MIFOBIN%;%JAVASDK%;%BASEAPP%\JAVA;%PATH%; set CobCpy=%BASEAPP%\CobCpy1;%BASEAPP%\CobCpy2;%BASEAPP%\CobCpy6;%SimoLIBR%;%MIFOBASE%\SOURCE goto JUMPPATH rem * :JUMPPATH set SIMOPATH=Y rem * set MAINFRAME_FLOATING_POINT=true set COBIDY=%BASEAPP%\COBIDY set COBPATH=.;%BASEAPP%\LOADLIB;%BASEAPP%\LOADLIB\GNTS;%BASESYS%\LOADLIB;%SimoLIBR% set LIBPATH=.;%BASEAPP%\LOADLIB;%BASEAPP%\LOADLIB\GNTS;%BASESYS%\LOADLIB;%SimoLIBR% set TXDIR=%BASESYS%\LOADLIB;%MIFOBASE% set CobCpy=%BASEAPP%\CobCpy1;%BASEAPP%\CobCpy2;%BASEAPP%\CobCpy6;%SimoLIBR% rem * set USERCLASS=%BASELIB1%\LOADLIB set CLASSPATH=. set CLASSPATH=%CLASSPATH%;%JAVABASE% set CLASSPATH=%CLASSPATH%;%JAVABASE%\lib set CLASSPATH=%CLASSPATH%;\%USERCLASS%\simpacks set CLASSPATH=%CLASSPATH%;C:\APACHETC\apache-tomcat-7.0.52\webapps\simotcat\WEB-INF\classes set CLASSPATH=%CLASSPATH%;C:\APACHETC\apache-tomcat-7.0.52\webapps\simotcat\WEB-INF\classes\simpacks rem * if "%MIFOSYS1%" == "ESTU" set CLASSPATH=%CLASSPATH%;%MIFOBIN% if "%MIFOSYS1%" == "EDEV" set CLASSPATH=%CLASSPATH%;%MIFOEDEV% if "%MIFOSYS1%" == "VCBL" set CLASSPATH=%CLASSPATH%;%MIFOVCBL% if "%MIFOSYS1%" == "VCBL" set CLASSPATH=%CLASSPATH%;%MIFOVCBL%\bin\mfcobol.jar rem * set JobStatus=0000 call SIMONOTE "+ ENV1BASE is returning to caller"
A command file (SIMONOTE.cmd) is called from other command files to display and write messages to a log file. The following is a listing of the contents of the command file.
@echo OFF rem * ******************************************************************* rem * SIMONOTE.cmd - a Windows Command File * rem * This program is provided by SimoTime Technologies * rem * (C) Copyright 1987-2019 All Rights Reserved * rem * Web Site URL: http://www.simotime.com * rem * e-mail: helpdesk@simotime.com * rem * ******************************************************************* rem * rem * Text - Display message on screen and write to a log file. rem * Author - SimoTime Technologies rem * rem * This script may be called from other scripts and expects a single rem * parameter enclosed in double quotes. The double quotes will be rem * removed. Before writing to the log file a date and time stamp rem * will be inserted in front of the message text. rem * rem * Note: The tilde (~) removes leading/trailing double-quotes. rem * if "%SimoNOTE%" == "" set SimoNOTE=c:\SimoLIBR\LOGS\SimoTime.LOG echo %date% %time% %~1>> %SimoNOTE% echo %~1
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.
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.
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.
Explore How to do Regression Testing for Batch Processing on a Windows System. This document will describe and demonstrate how to prepare test data, execute a regression test and review the results.
Explore how to process non-Numeric Values stored in a Packed-Decimal format. This document will use examples to show how to manage a situation where non-numeric values (such as Space Characters) are placed in a Packed-Decimal field and then managed to avoid a S0C7 or RTS 163 error message and an abnormal termination of the program.
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 connection.
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 |
Execute Boolean Logic |
Copyright © 1987-2025 SimoTime Technologies and Services All Rights Reserved |
When technology complements business |
http://www.simotime.com |