Exporting code

Exported code is represented as a PR or LD type ESD record with the binding scope set to Import-Export. IBM® recommends using an LD type ESD item for compatibility with Language Environment®. When using a PR record, you must set the 'executable' bit to 'executable' and the name space ID to 3. The addressing mode and linkage type fields must match that of the referencing program.