Programmer's Guide to Writing Programs
Table of Contents
Index
Chapter 16: Integrated Preprocessor Interface
16.1 Overview
16.1.1 Considerations
16.2 Invoking a Preprocessor
16.2.1 Invoking Multiple Preprocessors
16.2.2 Testing a Preprocessor
16.3 Writing a Preprocessor
16.3.1 Definition of the Interface
16.3.1.1 Preprocessor Parameters
16.3.1.2 The Initial Call
16.3.1.3 Subsequent Calls
16.3.2 Preprocessor Response Codes
16.3.2.1 Inserting Source Lines
16.3.2.2 Generating Error Messages
16.3.2.3 Querying Directive Settings
16.3.2.4 Handling COPY Statements
16.3.3 Source Modification
16.3.4 Multiple Preprocessors
16.3.5 Considerations When Writing a Preprocessor
16.3.5.1 Conflicts with User Selected COBOL Dialect
16.3.5.2 Conflicts with Data Names
16.4 The CP Preprocessor
16.4.1 Limitations
16.4.2 Copyfile Expansion
16.4.3 REPLACE Notification
16.4.4 Directives
16.5 CP Errors
16.5.1 Initialization Errors
16.5.2 Main processing errors