|
An Introduction to RM/Cobol-85 for Microcomputers |
|
|
1 | (6) |
|
Introduction to the Educational Version of RM/Cobol-85 |
|
|
2 | (1) |
|
Limitations of This Educational Version |
|
|
2 | (2) |
|
Why a Separate RM/Cobol-85 Guide? |
|
|
4 | (1) |
|
Microcomputer and Mainframe Applications Differ |
|
|
4 | (1) |
|
Methods of Entering Programs Differ between Microcomputers and Mainframes |
|
|
5 | (1) |
|
RM/Cobol-85 Is Ideally Suited to PC Applications |
|
|
5 | (1) |
|
You Need to Know Some Microcomputer Concepts |
|
|
5 | (1) |
|
RM/Cobol-85 Has its Own Interactive Debugger |
|
|
5 | (1) |
|
RM/Cobol-85 Has its Own Unique Error Messages |
|
|
6 | (1) |
|
Incompatibility with Prior Versions |
|
|
6 | (1) |
|
|
|
6 | (1) |
|
Installing RM/Cobol-85 On Your Microcomputer |
|
|
7 | (12) |
|
Equipment You Need to Use RM/Cobol-85 |
|
|
8 | (1) |
|
Diskettes Supplied with This Guide |
|
|
8 | (1) |
|
Files on Diskette 1 (RM/Cobol-85 Educational Version) |
|
|
8 | (1) |
|
Making a Backup Copy of the RM/Cobol-85 Diskette |
|
|
9 | (1) |
|
Copying RM/Cobol-85 to Your Hard Disk |
|
|
10 | (1) |
|
Testing Your Software Installation |
|
|
10 | (2) |
|
Using a Two-Diskette Computer System (No Hard Disk) |
|
|
12 | (3) |
|
|
|
15 | (1) |
|
An Overview of SELECT Statements |
|
|
16 | (1) |
|
A Special Note on Printing Files |
|
|
17 | (2) |
|
Using RM/Cobol-85 With RM/CO* |
|
|
19 | (50) |
|
|
|
20 | (1) |
|
|
|
20 | (1) |
|
DOS Files and RM/CO* File Naming Conventions |
|
|
21 | (1) |
|
Learning RM/CO* By Using It |
|
|
21 | (1) |
|
RM/CO* Tutorial 1: Creating a Project and Adding Members |
|
|
21 | (7) |
|
RM/CO* Tutorial 2: Compiling and Running Programs |
|
|
28 | (7) |
|
RM/CO* Tutorial 3: Text Editing to Correct Errors |
|
|
35 | (8) |
|
RM/CO* Tutorial 4: Creating a New Program |
|
|
43 | (6) |
|
RM/CO* Tutorial 5: Using Advanced Editing Features and Help |
|
|
49 | (15) |
|
RM/CO* Tutorial 6: Setting Compiler and RM/CO* Options |
|
|
64 | (5) |
|
Using RM/Cobol-85 From the DOS Prompt |
|
|
69 | (20) |
|
Creating Programs and Data as ASCII Files |
|
|
70 | (1) |
|
Differences between ASCII and Word Processed Files |
|
|
70 | (1) |
|
Demonstrating What an ASCII File Is |
|
|
71 | (1) |
|
Converting a Non-ASCII File to an ASCII File |
|
|
71 | (1) |
|
RM/Cobol-85 File Naming Conventions |
|
|
71 | (1) |
|
Column Usage in RM/Cobol-85 |
|
|
72 | (1) |
|
Compiling RM/Cobol-85 from DOS |
|
|
73 | (1) |
|
Producing a Source Code Listing |
|
|
74 | (1) |
|
Printing a Source Code Listing |
|
|
74 | (2) |
|
|
|
76 | (1) |
|
Source Code (Compile) Errors |
|
|
76 | (2) |
|
Running RM/Cobol-85 Programs from DOS |
|
|
78 | (1) |
|
|
|
79 | (1) |
|
|
|
80 | (1) |
|
Viewing Output Disk Files |
|
|
80 | (4) |
|
Hints and Suggestions for Coding Productivity |
|
|
84 | (5) |
|
File Input and Output: The SELECT Statement |
|
|
89 | (10) |
|
Input and Output Using RM/Cobol-85 |
|
|
90 | (1) |
|
The SELECT Statement for Input and Output Files |
|
|
90 | (3) |
|
The SELECT Statement for Direct Printing |
|
|
93 | (1) |
|
The SELECT Statement for Printing to a Disk File |
|
|
94 | (1) |
|
|
|
94 | (1) |
|
The SELECT Statement for Relative Files |
|
|
95 | (1) |
|
The SELECT Statement for Indexed Files |
|
|
95 | (1) |
|
Obtaining the DOS File Name Interactively |
|
|
96 | (3) |
|
|
|
97 | (1) |
|
|
|
97 | (2) |
|
ACCEPT and DISPLAY for Interactive Processing |
|
|
99 | (102) |
|
ACCEPT and DISPLAY Statements |
|
|
100 | (1) |
|
A Simple Interactive Program |
|
|
100 | (2) |
|
ACCEPT Terminal I/O Language Extensions |
|
|
102 | (2) |
|
DISPLAY Terminal I/O Language Extensions |
|
|
104 | (1) |
|
An Example of ACCEPT/DISPLAY Language Extension Usage |
|
|
105 | (1) |
|
Practical Choices in ACCEPT/DISPLAY Options |
|
|
105 | (4) |
|
|
|
109 | (5) |
|
SCREEN SECTION Automatic Data Validation |
|
|
114 | (1) |
|
In-Line versus Structured Program Logic |
|
|
114 | (4) |
|
Categories of Screen in the SCREEN SECTION |
|
|
118 | (1) |
|
Overview of Screen Section Coding Options |
|
|
119 | (1) |
|
Screen Section Coding Reference |
|
|
120 | (2) |
|
Control: Terminal I/O Use of Color |
|
|
122 | (1) |
|
Control, Dynamic Option Lists, and Upper |
|
|
123 | (1) |
|
Coding Restrictions of Dynamic Option Lists |
|
|
123 | (3) |
|
Putting it Together: An Interactive File Update Example |
|
|
126 | (4) |
|
UPDATE1 Program Annotations |
|
|
130 | (6) |
|
Verifying File Names Using ACCEPT and DISPLAY |
|
|
136 | (1) |
| Appendixes |
|
|
A A Microcomputer Primer for Newcomers |
|
|
137 | (16) |
|
A.1 An Overview of PC Hardware |
|
|
138 | (1) |
|
|
|
139 | (3) |
|
|
|
142 | (1) |
|
|
|
142 | (1) |
|
A.5 Diskette and Disk Drives |
|
|
143 | (2) |
|
|
|
145 | (1) |
|
A.7 Turning on Your Computer |
|
|
146 | (1) |
|
A.8 Activating the DOS Operating System |
|
|
147 | (1) |
|
A.9 Rebooting or Restarting the Computer |
|
|
148 | (1) |
|
A.10 Summary of DOS Commands |
|
|
148 | (2) |
|
A.11 Using an AUTOEXEC.BAT File with RM/Cobol-85 |
|
|
150 | (1) |
|
A.12 Deactivating the NUMLOCK Key |
|
|
151 | (1) |
|
|
|
151 | (1) |
|
|
|
152 | (1) |
|
B RM/Cobol-85 Enhancements to the COBOL 85 Standard |
|
|
153 | (8) |
|
B.1 Delimiting Literal Characters |
|
|
154 | (1) |
|
B.2 LINAGE Clause of the FD |
|
|
154 | (1) |
|
B.3 Length of Nonnumeric Literals |
|
|
154 | (1) |
|
B.4 Internal Sorting (SORT) and Abandoning SECTIONs |
|
|
154 | (2) |
|
B.5 Setting Flag Values (Switches) |
|
|
156 | (1) |
|
|
|
156 | (1) |
|
|
|
156 | (1) |
|
B.8 Extensions to the COBOL 1985 Standard |
|
|
156 | (2) |
|
B.9 Other RM/Cobol-85 Considerations |
|
|
158 | (3) |
|
C Compiler and Runtime Options |
|
|
161 | (14) |
|
C.1 Compiler Options Overview |
|
|
162 | (1) |
|
C.2 Compiler Options Documentation |
|
|
163 | (6) |
|
C.3 Runtime Options Overview |
|
|
169 | (1) |
|
C.4 Runtime Options Documentation |
|
|
170 | (5) |
|
D Using the Interactive Debugger |
|
|
175 | (8) |
|
D.1 What Is an Interactive Debugger? |
|
|
176 | (1) |
|
D.2 Compiling with the ``Y'' Option |
|
|
176 | (1) |
|
D.3 Same Debugger for RM/CO* and DOS Compiling |
|
|
177 | (1) |
|
|
|
177 | (3) |
|
D.5 Overview of Debugging Commands |
|
|
180 | (2) |
|
D.6 A Sample Debugging Session |
|
|
182 | (1) |
|
E RM/Cobol-85 Compiler and Runtime Messages |
|
|
183 | (14) |
|
|
|
184 | (2) |
|
|
|
186 | (1) |
|
E.3 Runtime Initialization Error Messages |
|
|
186 | (1) |
|
E.4 Abnormal Program Ending Messages |
|
|
187 | (9) |
|
E.5 Normal Program Ending Messages |
|
|
196 | (1) |
|
F Troubleshooting Common Problems |
|
|
197 | (4) |
|
|
|
198 | (1) |
|
F.2 Compiler or Program Run Fails; System Locks Up |
|
|
198 | (1) |
|
F.3 Compiler Cannot Process a Program |
|
|
198 | (1) |
|
F.4 Unresolvable Compiler Errors in Source Code |
|
|
198 | (1) |
|
F.5 Runtime System Can't Locate Subprogram Modules |
|
|
199 | (1) |
|
F.6 Fields Out of Place in Data Read by a Program |
|
|
199 | (1) |
|
F.7 Data Read by Program Contains Spurious Characters |
|
|
200 | (1) |
|
F.8 Subprograms Fail to Execute |
|
|
200 | (1) |
|
F.9 Illegal Characters in LINE SEQUENTIAL File (97, 01) |
|
|
200 | (1) |
| Index |
|
201 | |