Questions related to the program EDITINTR.CBL
1. |
Explain the IF statement in the B-200-LOOP in detail. Be sure you include what the IF statement causes to happen if the user presses P and the VALID-REC-IND is Y, if the user presses P and the VALID-REC-IND is a N, what happens if the user presses C and what happens if the user presses Q. |
2. |
There are two message areas, one called 01 MESSAGES and the other called 01 ERROR-TO-PRINT-TABLE. Explain the purpose for MESSAGES, when it is used and how it is used. |
3. |
Explain the purpose for ERROR-TO-PRINT-TABLE. When is information put into the table and when is information taken out of the table? |
4. |
What happens when you try to put a message into ERROR-TO-PRINT-TABLE and it is full? |
5. |
Explain the edit checking that is done in this program. |
6. |
If you didn't explain it in #5, explain the editing relationship between the code field and the amount field. |
7. |
Explain the information that is keyed into the screen and the information that is displayed on the screen. |