Escolar Documentos
Profissional Documentos
Cultura Documentos
CICS, C6
Slide 1
Objectives
1. Describe the four types of testing mentioned in this chapter. 2. Explain how using top-down testing can improve the testing process. 3. Given the specifications for a CICS program, develop a test plan for it. 4. Use the CEMT transaction to perform the following functions: a. update the working copy of a CICS program b. open and close a file c. disable and enable a transaction or program 5. Use the CECI transaction to execute CICS commands interactively.
CICS, C6
Slide 2
CICS, C6
Slide 3
CICS, C6
Slide 4
Description
The JCL for preparing a CICS program executes a cataloged procedure named DFHYITVL. This procedure contains steps to translate (TRN), compile (COB), and link-edit (LKED) the program.
CICS, C6
Slide 5
CICS, C6
Slide 6
2 3
4 5 6
CICS, C6
Slide 7
CICS, C6
Slide 8
CICS, C6
Slide 9
CICS, C6
Slide 10
CICS, C6
Slide 11
CICS, C6
Slide 12
CICS, C6
Slide 13
CICS, C6
Slide 14
CICS, C6
Slide 15
Description
The CESN command signs you on to CICS. The CESF command signs you off. Depending on how CICS is set up, you may or may not need to use these commands.
CICS, C6
Slide 16
Description
To use CEMT, type the CEMT trans-id followed by a CEMT command. You can also enter CEMT without a command and CEMT will help you construct the command.
CICS, C6
Slide 17
A command that displays the status of all files that start with the letter C
CEMT I FI(C*)
CICS, C6
Slide 18
CICS, C6
Slide 19
A CECI command that reads a record from the customer master file
CECI READ FILE(CUSTMAS) RIDFLD(123456)
Description
To invoke CECI, enter the CECI trans-id followed by a CICS command. You can also enter CECI without a CICS command and CECI will list the commands you can issue. Before CECI executes a command, it checks the syntax of the command. You can use the CECS trans-id to restrict the functionality of CECI so that it only checks the syntax of the command you specify. When you issue a command from CECI, you dont have to bracket the command with EXEC CICS and END-EXEC, and you dont have to use apostrophes to identify literals.
CICS, C6
Slide 20
Screen 1
To add variables for use within CECI, press PF5 from the start-up panel to display the Variables panel. Then, enter a name (starting with an ampersand (&)) and length for each variable below the pre-defined variables and press the Enter key.
CICS, C6
Slide 21
Screen 2
CECI confirms that the variables have been defined. Then, you can enter initial values for the variables and press the Enter key to return to the start-up screen.
CICS, C6
Slide 22
Screen 3
Enter the READ command you want to execute and then press the Enter key. (If a syntax error is detected, you can press PF9 to display the error message. Then, you can correct the command and issue it again.)
CICS, C6
Slide 23
Screen 4
Before it executes the command, CECI verifies the option values. To execute the command, press the Enter key.
CICS, C6
Slide 24
Screen 5
CECI executes the READ command and displays the result.
CICS, C6
Slide 25
Screen 6
To update the record just read, type a REWRITE command over the READ command and press the Enter key.
CICS, C6
Slide 26
Screen 7
When CECI confirms the command, change the data to be rewritten and press the Enter key. CECI confirms the command again. Press the Enter key to execute the command.
CICS, C6
Slide 27
Screen 8
CECI executes the REWRITE command and displays the results. To end CECI, press PF3.
CICS, C6
Slide 28