Programmer's Guide to Writing Programs
Table of Contents
Index
Chapter 15: Integrated Preprocessor Interface
15.1 Overview
15.1.1 Considerations
15.2 Invoking a Preprocessor
15.2.1 Invoking Multiple Preprocessors
15.2.2 Testing a Preprocessor
15.3 Writing a Preprocessor
15.3.1 Definition of the Interface
15.3.1.1 Preprocessor Parameters
15.3.1.2 The Initial Call
15.3.1.3 Subsequent Calls
15.3.2 Preprocessor Response Codes
15.3.2.1 Inserting Source Lines
15.3.2.2 Generating Error Messages
15.3.2.3 Querying Directive Settings
15.3.2.4 Handling COPY Statements
15.3.3 Source Modification
15.3.4 Multiple Preprocessors
15.3.5 Considerations When Writing a Preprocessor
15.3.5.1 Conflicts with User Selected COBOL Dialect
15.3.5.2 Conflicts with Data Names
15.4 The CP Preprocessor
15.4.1 Limitations
15.4.2 Copyfile Expansion
15.4.3 REPLACE Notification
15.4.4 Directives
15.5 CP Errors
15.5.1 Initialization Errors
15.5.2 Main processing errors