1. A system for generating a test job control language (JCL) file, the system comprising: a processor; a memory device for storing a source JCL file including a plurality of jobs, and instruction files containing instructions for modifying the source JCL file according to a test environment, wherein the instruction files include: a global file containing instructions applicable to all jobs in the source JCL file; and a specific file containing instructions applicable to one of the plurality of jobs in the source JCL file; a JCL generation module executable by the processor and adapted to: determine all procedures that are referenced by the plurality of jobs in the stored source JCL file; open each unique procedure of the determined procedures once; and generate a test JCL file based on the instructions in the instruction files and the opened procedures.
1. A system for generating a test job control language (JCL) file, the system comprising: a processor; a memory device for storing a source JCL file including a plurality of jobs, and instruction files containing instructions for modifying the source JCL file according to a test environment, wherein the instruction files include: a global file containing instructions applicable to all jobs in the source JCL file; and a specific file containing instructions applicable to one of the plurality of jobs in the source JCL file; a JCL generation module executable by the processor and adapted to: determine all procedures that are referenced by the plurality of jobs in the stored source JCL file; open each unique procedure of the determined procedures once; and generate a test JCL file based on the instructions in the instruction files and the opened procedures. 2. The system of claim 1 , wherein the JCL generation module: copies the plurality of jobs into an intermediate file using the instructions in the instruction files; opens each unique procedure based on the intermediate file; converts the intermediate file into the test JCL file based on the instructions in the instruction files and the opened procedures.