For automatic merges of spooled files with overlays (or with overlay selectors), you can also set the codepage for the output queue monitored by Auto Forms Control (AFC).
The codepage is set on the header for the complete output queue:
Update Auto Forms Control Definition AFC302D
Output queue . . . . . . : PRT01_IN Library . . . . . . . : QUSRSYS
Type choices and then press Enter. Press F3 or F12 to exit. Description . . . . . . . . Sales Department Autostart job . . . . . . . Y (Y N) Code page . . . . . . . . . 1141 Number, *SYSVAL F4=List When to use code page . . *SPLFATR *SPLFATR, *ALWAYS Default output output queue and printer type Output queue . . . . . . . . PRT01 Name, *WINPRINT Library . . . . . . . . . QUSRSYS Printer type . . . . . . . . HP4
Optional template AFC-definition to be executed after this definition Template AFC-definition: Output queue . . . . . . . . TEMPLATE Library . . . . . . . . . QUSRSYS Signature pad used by jobs in this output queue. Sign pad . . . . . . . . . . F4=List F3=Exit F4=Prompt F10=Additional parameters F12=Cancel
|
Above the codepage 1141 (german with the euro sign) is selected unless an input spooled file has another codepage set in its attributes - as we have specified *SPLFATR (Spooled file attribute). With *ALWAYS instead of *SPLFATR the codepage is set fixed tro 1141 no matter what the codepage of the input spooled file is set to.
A unicode option for merges can be activated specifically on each of the merge functions.
A DBCS codepage can be setup via F10=Additional parameters on the screen above.