asciinpe.c

Converts unformatted ASCII data into a record format just as asciinp.c does, and then converts the ASCII stream data to EBCDIC stream data.
install_path\exits\acif\asciinpe.c

The asciinpe input-record exit program combines both of the user input-record exits described above. To execute, specify inpexit=install_path\bin\asciinpe.dll as the exit program in the keyword file and follow the directions specified for both apka2e and asciinp.

The asciinpe.c input-record exit program translates data that is encoded in one code character set (CCSID) to another. You should use this exit when your job uses fonts such as GT12, which has code points that are different from your data file. The default translation is from ASCII (code set 00850) to EBCDIC (code set 00037) if the INPCCSID and OUTCCSID parameters are not specified on the line2afp command. INPCCSID specifies the input code page, and OUTCCSID specifies the output code page.

While the asciinp and asciinpe input-record exits do not recognize other ASCII printer commands, you can modify these exits to account for these:

  • backspacing (X'08')
  • horizontal tabs (X'09')
  • vertical tabs (X'0B')

In addition to the information above, see the prolog of the asciinp.c source file that is provided with InfoPrint Manager in the install_path\exits\acif directory for more information about using and modifying these programs.

The C language header file for all ACIF exit programs is provided in install_path\exits\acif\apkexits.h along with the build rules for the ACIF user exits in install_path\exits\acif\Makefile.

To build the executable program, you must use the Microsoft Visual Studio 2017 Program, pull-down menu.