Exporting data

Exported data is represented as a PR or LD type ESD record with the binding scope set to Import-Export. IBM® recommends using a PR type ESD item for compatibility with Language Environment®. If using a PR ESD record, ensure the record length is greater than zero and set the name space ID to 3. If using an LD ESD record, you must set the 'executable' bit to 'not executable'. If you intend to reference the data in 64 bit addressing mode, set the addressing mode to AMODE(64). The 'linkage type' field must also match that of the referencing program.