You are going to explore some of the COBOL editing features using the ZBNKPRT1.cbl program which produces a report from a sequential data file.
This opens the file in the COBOL editor in Visual Studio.
This expands the copybook directly in the code of ZBNKPRT1.cbl.
This automatically outputs messages in the Error List window about problems that occurred in the code. You can sort the list by file name. Double-clicking the line for an error in the Error List window positions you on the line in the copybook in the expanded view which causes the error.
The changes you made to the expanded view were applied to the source of the copybook so now you are prompted to save the file - click No.
If this window is closed, you can open it from
.
This provides you with details of the location, the size, the format, and the number of times the field is used in the program.
This positions the cursor on the line of code where the data item is defined.
This opens a small window embedded in the editor with the definition of the data item.
You can type in the window, or peek the definition of another data item in it.
This opens the Find Symbol Results window with a list of all occurrences of the data item in the code.
The results are displayed in the Find Results 1 window.