How may I get mainframe-formatted records on CA Easytrieve for Unix programs?

Document ID : KB000012258
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How may I get mainframe-formatted records on CA Easytrieve for Unix programs?

Environment:
CA Easytrieve for Unix
Answer:

Mainframe-formatted records are not the default when using ASCII printer control characters.

Add ASA to the FILE statement.
ex. FILE PERSNL FB(150 1800) ASA

MVS and UNIX only: For MVS, the optional ASA parameter sets the DCB A option for RECFM.
ASA is ignored on the workstation.

For UNIX, the optional ASA parameter causes output records to be written using the set of mainframe ASA characters in column one.

Without ASA, all records are formatted using ASCII printer control characters.