Method and apparatus for testing job control language (JCL) members
First Claim
1. A method of automatically generating a test environment for testing control programs in a batch computing environment, the method comprising:
- creating a control program list containing names of control programs to be tested;
specifying custom characteristics of the test environment;
determining whether one or more procedures called by the control programs need to be modified;
incorporating the custom characteristics into the control programs; and
incorporating modifications to the one or more procedures, thereby generating a test scenario in which the control programs in a batch computing environment can be tested.
1 Assignment
0 Petitions
Accused Products
Abstract
Automated generation of a test scenario or environment for testing control programs in a batch computing environment uses various input to produce test libraries, referenced control files, and parameters with reduced manual intervention. User-specified overrides and key specifications are used to customize a test scenario in which the test scenario is based on production control programs, procedures, and parameters. One of the input to the generation tool is a control program list containing the names of control programs that to be tested. Custom characteristics of the test scenario or environment are also specified and entered into the generation tool. It is also determined whether any of the procedures called by the control programs need to be modified. The custom characteristics are incorporated into the control programs and modifications are incorporated into the procedures called by the control programs.
44 Citations
33 Claims
-
1. A method of automatically generating a test environment for testing control programs in a batch computing environment, the method comprising:
-
creating a control program list containing names of control programs to be tested;
specifying custom characteristics of the test environment;
determining whether one or more procedures called by the control programs need to be modified;
incorporating the custom characteristics into the control programs; and
incorporating modifications to the one or more procedures, thereby generating a test scenario in which the control programs in a batch computing environment can be tested. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
incorporating a set of external characteristics into the control programs.
-
-
3. A method as recited in claim 2 wherein the set of external characteristics include currency data and institutional-specific data.
-
4. A method as recited in claim 1 further comprising:
determining errors relating to data set names in the control programs and in the one or more procedures.
-
5. A method as recited in claim 1 wherein creating a control program list further includes:
importing program names from a control program flow diagram.
-
6. A method as recited in claim 1 wherein incorporating modifications to the one or more procedures further comprises:
-
reading the control programs;
identifying the one or more procedures invoked by the control programs;
identifying symbolics in the one or more procedures; and
overriding symbolics in the one or more procedures.
-
-
7. A method as recited in claim 6 further comprising:
matching symbolics in the one or more procedures with symbolics specified by a user.
-
8. A method as recited in claim 1 wherein incorporating the custom characteristics into the control programs further includes reading library concatenations.
-
9. A method as recited in claim 1 further comprising:
overriding one or more variable names in the control programs.
-
10. A method as recited in claim 1 wherein the control programs are job control language programs (JCL).
-
11. A method as recited in claim 1 wherein the batch computing environment operates under the MVS operating system.
-
12. A method as recited in claim 1 wherein the one or more procedures are job control language procedures (PROCs).
-
13. A method as recited in claim 1 further comprising:
-
retrieving a variable name from the control programs;
determining whether the variable name is in a user override file; and
replacing the variable name with an override name.
-
-
14. An automated test job control language (JCL) generation tool for creating a JCL test scenario, the generation tool comprising:
-
JCL code corresponding to a plurality of JCL programs;
a list of procedure libraries used by the plurality of JCL programs;
a list of parameter libraries used by the plurality of JCL programs;
a plurality of external specifications;
a plurality of referenced control files; and
a set of overrides;
wherein a JCL test scenario is created including test JCL libraries, test versions of referenced control files; and
test parameter files.- View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A method of automatically generating a test environment for testing job control language (JCL) programs in a batch computing environment, the method comprising:
-
creating a JCL program list containing names of JCL programs to be tested;
specifying custom characteristics of the test environment;
determining whether one or more JCL procedures invoked by the JCL programs need to be modified;
incorporating the custom characteristics into the JCL programs;
incorporating modifications to the one or more JCL procedures, thereby generating a test scenario in which JCL programs in a batch computing environment can be tested. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33)
reading the JCL programs;
identifying the one or more JCL procedures invoked by the JCL programs;
identifying symbolics in the one or more JCL procedures; and
overriding symbolics in the one or more JCL procedures.
-
-
31. A method as recited in claim 25 further comprising matching symbolics in the one or more JCL procedures with symbolics specified by a user.
-
32. A method as recited in claim 25 wherein incorporating the custom characteristics into the JCL programs further comprises reading library concatenations.
-
33. A method as recited in claim 25 further comprising overriding one or more variable names in the JCL programs.
Specification