The following information applies to OnDemand for Multiplatforms. IBM Content Manager OnDemand, Version 9.5

Using the user input record exits (Multiplatform)

The apka2e input record exit program translates data that is encoded in ASCII (code set IBM-850) into EBCDIC (code set IBM-037) encoded data. You should use this exit when the print data requires fonts such as GT12, which has only EBCDIC code points defined.

To execute the apka2e input record exit program, specify these parameters using either the Keyboard Edit function of the administrative client or the graphical indexer.
inpexit=apka2e
cc=yes
cctype=a
Also, make sure that the directory where the apka2e input record exit program resides is included in the INPEXIT parameter (specify the full path name) or if running ACIF from the command line, in the PATH environment variable (or specify the full path name).

The asciinp input record exit program transforms an ASCII data stream into a record format that contains a carriage control character in byte 0 of every record. If byte 0 of the input record is an ASCII carriage return (X'0D'), byte 0 is transformed into an ASCII space (X'20') that causes a data stream to return and advance one line; no character is inserted. If byte 0 of the input record is an ASCII form feed character (X'0C'), byte 0 is transformed into an ANSI skip to channel 1 command (X'31') that serves as a form feed in the carriage control byte. If the data contains the ASCII form feed character (X'0C') the asciinp exit must be used to insert ANSI carriage controls so that the data can be loaded into Content Manager OnDemand.

To execute the asciinp input record exit program, specify these parameters using either the Keyboard Edit function of the administrative client or the graphical indexer.
inpexit=asciinp
cc=yes
cctype=z
fileformat = stream,(newline=X'0A')
Also, make sure that the directory where the asciinp input record exit program resides is included in the INPEXIT parameter (specify the full path name) or if running ACIF from the command line, in the PATH environment variable (or specify the full path name).
Note: If the indexing parameters were created before asciinp processed the file, the following change must be made to the TRIGGER and FIELD parameters: All column offsets must be increased by 1 to account for the fact that the asciinp exit inserts an extra byte at the beginning of each record.
The asciinpe input record exit program combines both user input record exits described above. If the data contains the ASCII form feed character (X'0C'), the asciinpe exit must be used to insert ANSI carriage controls so that the data can be loaded into Content Manager OnDemand. If you are running ACIF with CONVERT=YES, set cctype=z. If you are running ACIF with CONVERT=NO, set cctype=a. To execute, set the following parameters in your ACIF parameter file:
inpexit=asciinpe
cc=yes
cctype=z
cpgid=500
fileformat = stream,(newline=X'0A')

Also, make sure that the directory where the asciinpe input record exit program resides is included in the INPEXIT parameter (specify the full path name) or if running ACIF from the command line, in the PATH environment variable (or specify the full path name).

While the asciinp and asciinpe input record exits do not recognize other ASCII printer commands, you can modify these exits to account for the following commands:
For more information on using and modifying these programs, refer to the comments at the beginning of the asciinp.c source file, which is provided with OnDemand.
Note: If the indexing parameters were created before asciinpe processed the file, the following changes must be made to the TRIGGER, FIELD, and INDEX parameters:
  1. All column offsets must be increased by 1 to account for the fact that the asciinpe exit inserts an extra byte at the beginning of each record.
  2. All TRIGGER values, constant FIELD values, and INDEX names must be encoded in EBCDIC.