@@ -2814,19 +2814,19 @@ Understand how case sensitivity in COBOL string comparisons can cause logical er
2814
2814
2815
2815
** Required Files:**
2816
2816
2817
- - ` CBL0066.cbl ` - COBOL program source
2818
- - ` CBL0066J .jcl` - JCL job to compile and execute
2817
+ - ` CBL006A.cobol ` - COBOL program source
2818
+ - ` CBL006AJ .jcl` - JCL job to compile and execute
2819
2819
- ` id.DATA ` - Input data file
2820
2820
2821
2821
All files are available in your VS Code Zowe Explorer.
2822
2822
2823
2823
### Instructions
2824
2824
2825
- 1 . Open ` CBL0066.cbl ` from your VS Code Zowe Explorer.
2825
+ 1 . Open ` CBL006A.cobol ` from your VS Code Zowe Explorer.
2826
2826
2827
2827
This program reads account records and counts how many clients are from ` "New York" ` .
2828
2828
2829
- 2 . Submit the JCL job ` CBL0066J .jcl` . View the job output from the JOBS section.
2829
+ 2 . Submit the JCL job ` CBL006AJ .jcl` . View the job output from the JOBS section.
2830
2830
- Confirm that no syntax or runtime errors occurred.
2831
2831
- Now carefully read the final line of the report. ` New York Clients = 000 `
2832
2832
@@ -2836,10 +2836,10 @@ Ask yourself: *Is this the number of New York clients you expected?*
2836
2836
2837
2837
3 . Based on your understanding, where do you think the bug lies?
2838
2838
- Consider the case format of both the ** comparison string** and the ** actual data** from the file (id.DATA).
2839
- 4 . Go and update the source code CBL0066.cbl .
2839
+ 4 . Go and update the source code ` CBL006A.cobol ` .
2840
2840
- Modify the string literal in the IF condition to match the exact case format found in the data file
2841
- 5 . Save your changes to ` CBL0066.cbl `
2842
- 6 . Recompile and resubmit the job ` CBL0006J .jcl`
2841
+ 5 . Save your changes to ` CBL006A.cobol `
2842
+ 6 . Recompile and resubmit the job ` CBL006AJ .jcl`
2843
2843
7 . Verify that the report now correctly shows: ` New York Clients = 005 `
2844
2844
2845
2845
![ ] ( Images/image072.png )
0 commit comments