Table of Contents

Search

  1. Preface
  2. PowerExchange Navigator Introduction
  3. Data Maps
  4. Data Maps for Specific Data Sources
  5. Copybooks
  6. Registration Groups and Capture Registrations
  7. Extraction Groups and Extraction Maps
  8. Personal Metadata
  9. Database Row Test
  10. PowerExchange Navigator Examples
  11. Appendix A: PowerExchange Functions for User-Defined Fields
  12. Appendix B: User Access Method Programs
  13. Appendix C: Application Groups and Applications
  14. Appendix D: Data Map Properties
  15. Appendix E: Record, Field, and Table Properties
  16. Appendix F: DTL__CAPXTIMESTAMP Time Stamps
  17. Appendix G: Trace for Creating a Memory Map When Importing a COBOL Copybook

Navigator User Guide

Navigator User Guide

Check Example

Check Example

If a return code of 0, 3, or 4 is an acceptable return code from the Program2 subroutine of the Program1 program, then you might specify the following functions:
CallProgRC=CallProg('Program1','Program2','COBOL','field1','field2') Check(CallProgRC,'Error in Program2','NE',0,3,4)
If the return code from the Program2 subroutine is 1, processing fails and the following message is written to the log:
Error in Program2
If the return code from the Program2 subroutine is 0, processing continues and the specified message is not written to the log.

0 COMMENTS

We’d like to hear from you!