Previous Topic: Specify Mismatch OptionsNext Topic: Use Options 8 and 9 with Non-3270 Devices


Mismatch Options

To specify an option, type its number (or the corresponding command) and press Enter, or press the appropriate PF key. The options consist of the following groups:

Option 1:

Displays the rules summary menu for viewing or updating the rules being applied to the input test stream.

Options 2-3:

Displays the previous or next input

Options 4-5:

Skips the original output screen, or the next output/input screen pair

Options 6-7:

Ignore or accept the change; if you accept the change, the output test stream is updated for use in the next edit or run

Option 8:

Displays the screen for you to update

Option 9-10:

Adds a new output/input screen pair, or a new output screen

When you use options 2-3 to display screens, you can use the Format (PF9) command to view the screens in Display, Field, and Hex formats. See the Display, Field, and Hex Screen Formats section later in this chapter for a discussion of screen formats.

To scroll forward through a test stream, use the Next (PF6) command to display the next screen. However, you cannot scroll backward. If you need to see earlier screens, suspend the Run function and use the Browse function to inspect them.

The mismatch options are described next.

1 DISPLAY RULESET SUMMARY

Instructs CA Verify for CICS to display a summary of the rulesets applied during the run. This option allows you to define a new rule or update an existing rule and save your updates to the current ruleset.

If you modify the existing ruleset and specify End (PF3), CA Verify for CICS will repeat the comparison, taking into account your rule specification. If CA Verify for CICS no longer detects a mismatch, it will continue the run; otherwise, it will redisplay the Run Mismatch Options menu. For example, if the run was interrupted because of a discrepancy between the dates on the original and current screens and you identify the date field as a variable field, CA Verify for CICS will continue the run

See the "Rules Function" chapter for instructions on how to define a ruleset and the rules it contains; see the section Adjust Rules During a Run later in this chapter for instructions on how to change or add rules to a ruleset during a run.

2 DISPLAY PREVIOUS INPUT

Instructs CA Verify for CICS to display the last screen sent to the application. Specify End (PF3) to return to the Run Mismatch Options menu.

3 DISPLAY NEXT INPUT

Instructs CA Verify for CICS to display the next screen to be sent to the application. Specify Next (PF6) to display subsequent screens in the input test stream; specify End (PF3) to return to the Run Mismatch Options menu.

4 SKIP ORIGINAL OUTPUT

Use this option when the input test stream has two consecutive output screens but one has been deleted by the application. This option deletes the first output screen so it will not be used the next time the output test stream is run, browsed, or edited. CA Verify for CICS then repeats the comparison, using the next screen in the original test stream and the current screen. If there is no mismatch, the run continues; otherwise, CA Verify for CICS redisplays the Run Mismatch Options menu.

In the previous example, if record 4 was in the test stream but had been eliminated from the application, you would use option 4 to delete it.

5 SKIP ORIGINAL OUTPUT AND INPUT

Use this option when an output and input screen have been deleted from the application. This option deletes the output screen and any input screens up to the next output screen so they will not be used the next time the output test stream is run, browsed, or edited. CA Verify for CICS then repeats the comparison, using the next output screen in the input test stream and the current screen. If there is no mismatch, the run continues; otherwise, CA Verify for CICS redisplays the Run Mismatch Options menu.

In the previous example, if records 2 and 3 were in the test stream but had been eliminated from the application, you would use option 5 to delete them.

6 ACCEPT ORIGINAL OUTPUT

Instructs CA Verify for CICS to retain the original screen in the output test stream and continue the run. Use this option when the output screen generated by the application reflects an error and the original screen is correct.

7 ACCEPT CURRENT OUTPUT

Instructs CA Verify for CICS to replace the original screen with the current screen in the output test stream and continue the run. Use this option when the application has changed and the original screen is no longer correct.

8 CHANGE NEXT INPUT

Select this option when you want to change the next input screen required by the application. This may be necessary when the current output screen changes the location or contents of a field which would be part of the next input screen, or when an input field has been added to the screen. Option 8 ensures that the application receives the data it expects.

For example, suppose your next input screen should select menu item C. However, your application has been updated and what was formerly item C is now item D. Option 8 lets you replace the original input screen with an updated input screen which specifies item D.

When you select option 8, CA Verify for CICS displays the current screen. Type the necessary data and press the appropriate key (attention identifier) required by the application (like Enter or PF1). Whatever key you use will be interpreted according to the application specifications. CA Verify for CICS sends the input to the application and will use this data the next time you run or edit the output test stream.

When you choose option 8, CA Verify for CICS accepts the mismatch on the current screen and continues the run.

Note: Before specifying option 8, you may need to select option 3 to display the next input screen so you know what input the application expects. Use the Format (PF9) command to display the screen in Field format, which shows only the input fields and identifies the AID (attention identifier key). Then return to the Run Mismatch Options menu, select option 8, and type the required input data.

See the section Use Options 8 and 9 With Non-3270 Devices for additional information.

9 INSERT CURRENT OUTPUT AND INPUT

Use this option to insert an output screen and an input screen. CA Verify for CICS displays the current output screen. Type the input data and press the appropriate key as required by the application. CA Verify for CICS will insert the new screen into the test stream and send it to the application. CA Verify for CICS also holds the original screen because CA Verify for CICS assumes it will match the next output screen from the application.

In the previous example, if records 2 and 3 were not in the test stream but had been added to the application, you would use option 9 to insert them.

See the section Use Options 8 and 9 With Non-3270 Devices for additional information.

10 INSERT CURRENT OUTPUT

Use this option to insert the current screen into the output test stream. CA Verify for CICS then repeats the comparison, using the next screen from the application. You can choose this option only if the application has already sent a second output screen.

In the previous example, if record 4 was not in the test stream but had been added to the application, you would use this option to add it.

Note: When new or deleted screens are anticipated, use the Rules function to identify the screens to be added or removed. The Rules function is discussed in the "Rules Function" chapter.