PRMODE

If the input data contains shift-in and shift-out codes, determines how ACIF processes them.

Required
No
Default Value
(None)
Data Type
Line, SCS, and Global DJDE

Shift-in and shift-out codes (X'0E' and X'0F') indicate where the code points in a record change from single byte to double byte or double byte to single byte.

Syntax

PRMODE=value

The PRMODE parameter also supports specifying an eight-byte alphanumeric string. The value is supplied to all of the ACIF user exits. Usage: PRMODE=aaaaaaaa, where aaaaaaaa is the alphanumeric string.

Options and values

The value can be:

  • SOSI1

    ACIF converts each shift-out and shift-in code to a blank character and a Set Coded Font Local text control. For the SOSI1 process to work correctly, the first font specified in the CHARS parameter (or in a font list in a page definition) must be a single byte font and the second font must be a double byte font.

  • SOSI2

    ACIF converts each shift-out and shift-in code to a Set Coded Font Local text control.

  • SOSI3

    ACIF converts each shift-out code to a Set Coded Font Local text control. ACIF converts each shift-in code to a Set Coded Font Local Text control and two blank characters. The SOSI3 data conversion is the same as the SOSI3 data conversion performed by PSF.

  • SOSI4

    SOSI4 is intended for use on workstation platforms where the user has DBCS text being converted from ASCII to EBCDIC, and is also using a PAGEDEF to convert the data to AFP. SOSI4 processing is similar to SOSI2, with the following difference. Specifying SOSI4 will cause ACIF to scan the input (EBCDIC) for SOSI characters and if any are found, they will be skipped but not counted as part of the input columns. This means that the PAGEDEF FIELD offsets should be correct after conversion from ASCII to EBCDIC and the user does not need to account for SOSI characters when computing the PAGEDEF FIELD offsets. Note: The SOSI characters do have to be counted in determining the ACIF trigger and field offsets.

  • aaaaaaaa

    Any eight-byte alphanumeric string. This value is supplied to all of the ACIF user exits. Using the AFPDS value indicates that the data contains MO:DCA-P structured fields.

Related parameters

CHARS