You are on page 1of 10

XPEDITOR

November 29, 2002

Xpediter is an Interactive testing, debugging and analysis tool. Xpediter provides facilities for unit testing of modules and component testing of the programs in the development environment. Steps for Compiling and Running programs in Xpediter: 1) From ISPF Primary Option Menu type V.XP to get into the Xpediter.

Fig. 1 2) Select Option 1 PREPARE PROGRAMS FOR DEBUGGING (Fig 1)

Fig 2 3) Select Option 1 for Compilation CONVERT COMPILE JCL FOR XPEDITER (Fig 2)

Fig 3 4) Give the Dataset Name and Member Name where the compile JCL resides. (Fig 3)

5) The Compile JCL will then be modified to compile with Xpediter. Type SUB and submit the job refer Fig 4

Fig 4 6) This ends the compilation process. To run the Job go to V.XP and then select Option 3 DEBUG PROGRAMS INTERACTIVELY UNDER BATCH (if you are using any file in the program then we need to do step number 10 and 11 before we do step 6)

7) Give the Path of the Run JCl (Refer Fig. 5)

Fig 5

8) When you press Enter in the previous screen. The following screen appears. (Fig 6)

Fig 6

9) Type RUN in the command line and then put an I in front of the PROGRAM. When you press enter the job connects (Refer Fig 7) and then stops at the Procedure Division of the COBOL Program. (Refer and Fig 8). In the source code we can use the following 1. 2. 3. 4. By pressing PF9 we can view step-by-step execution. By pressing PF12 we can execute the complete program. By using Break points we can stop execution at a particular portion of code. By using KEEP command we can display the contents of the variables continuously.

Fig 7

Fig 8

10) If any files are used in the Program then before running the program we have to define them in a script file. Select option V.XP.1.4 EDIT OR CREATE FILE ALLOCATION LISTS (Ref Fig 9)

Fig 9

11) Select the files that have been used in the program by typing an S in front of the File Definition. (Refer Fig 10)

Fig 10 12) Once the script file is defined the User can then follow the process from step 6 onwards to run the Job in Xpediter.

You might also like