CL Programming


Controlling Flow and Communicating between Programs and Procedures

You can use the CALL, CALLPRC, and RETURN commands to pass control back and forth between programs and procedures. Each command has slightly different characteristics. Information may be passed to called programs and procedures as parameters when control is passed.

Special attention should be given to programs created with USRPRF(*OWNER) that run CALL or CALLPRC commands. Security characteristics of these commands differ when they are processed in programs running under an owner's user profile. See the Security - Reference Link to PDF book for more information about user profiles.

This chapter includes General-Use Programming Interfaces (GUPI), made available by IBM for use in customer-written programs.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]