Previous Topic: User Source ConsiderationsNext Topic: Compatible Names Between HLLs


User Source in Same HLL as Calling Function

An Execute User Source (EXCUSRSRC) function must be the same HLL source type as the function that calls it. For example, the EXCUSRSRC included in a COBOL function must also be COBOL. If you are converting an RPG application to COBOL, you must convert the EXCUSRSRC functions to COBOL.

Note: If the EXCUSRSRC you are converting accesses a data area, be aware that COBOL has no equivalent to the IN and OUT statements in RPG, since COBOL does not support direct access to data areas.