Cobol subprograms which can be used for certain HLASM instructions. For example, to replace an ASM program.
In this project, Cobol subroutines are bundled, which can perform HLASM (Assembler) instructions in Cobol. These programs are used to support the replacement of assembler programs.
The TSTPRG program serves as the main program for testing subprograms. It reads an input file containing test cases for the subprograms and their expected results.
The input file TSTIN contains test cases for the TSTPRG program. Each test case begins with a function identifier (FUNC) and is followed by fields specific to the subprogram being tested. The structure of the input data can vary depending on the subprogram, but the FUNC field remains consistent across all test cases.
* Test cases for TSTPRG
*
* Test for BITOPS:
*FUNC|INPUT |MASK HEX|RESULT HEX
OI A1 E0 E1
NI 7C 6E 6C
NI 1234 5678 1230
NI 1234 E0 0020
FUNC: The function to be tested (e.g., OI for Or Immediate, NI for And Immediate). Subprogram-Specific Fields: Additional fields required for the subprogram being tested. These fields can vary depending on the subprogram.
The JCL script, named TSTJCL, is used to compile and run the TSTPRG program and its subprograms. The script is designed to run on an IBM test system.
Contributors names and contact info
- 0.1
- Initial Release
This project has no license and is freely available - see the LICENSE.md file for details
Inspiration, code snippets, etc.