31.01.2013 Views

InterForm Manual - System & Method

InterForm Manual - System & Method

InterForm Manual - System & Method

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

to ease the changes necessary to your sources.<br />

Displaying unicode *SCS spooled files<br />

A problem related to the special unicode spooled is, that unicode characters are represented<br />

by 2 bytes and thus cannot be fully displayed via a normal DSPSPLF command. To help you to<br />

around that problem <strong>InterForm</strong>400 is delivered with a command simular to DSPSPLF:<br />

APF3812/DSPUNISPLF.<br />

Where a normal DSPSPLF command will not show any unicode text the DSPUNISPLF<br />

command will display any unicode character that is represented in the code page of the<br />

current 5250 session.<br />

The DSPUNISPLF command is included in the APF3812/APFWRKOUTQ command so if you<br />

display an *SCS spooled file with USRDFNOPT('IF-UCS2') the DSPUNISPLF command is<br />

used instead of DSPSPLF.<br />

Printing out unicode *SCS spooled files (without merge)<br />

W hen using the special *SCS unicode spooled file you will normally merge them in<br />

<strong>InterForm</strong>400, but you might want to print them out directly without merging.<br />

The special unicode sequences are not supported by the standard printing process so you<br />

need to do a small change of the used output queues (for remote writers) or printer devices to<br />

print out the *SCS unicode spooled files.<br />

<strong>InterForm</strong>400 is delivered with a special program, APF3812/IFWTRTRP, that can be used as<br />

a Data Transfer Program with the parameter: USRDTATFM(APF3812/IFWTRTRF) on either<br />

output queue or printer device.<br />

For any spooled file that does not have USRDFNOPT(‘IF-UCS2') the program will run as if it<br />

was not there. Only spooled files with this option will be inspected and any unicode text will<br />

printed (all supported characters will be printed).<br />

If you are using a data transfer program you will be forced to specify TRANSFORM(*NO) i.e.<br />

disabling host print transform. That is no problem as host print transform is done in the called<br />

program (IFWTRTRF).<br />

Using the data transfer program with your own WSCST<br />

If you have defined your own workstation customizing object (*WSCST) and you want to use<br />

that combined with a data transfer program like above you will need to do a workaround to<br />

make it work.<br />

Please note, that this is a problem only if you are using MFRTYPMDL(*WSCST) combined<br />

with a *WSCST object in field WSCST on the output queue (for remote writers) or printer<br />

device description. It is NOT a problem if you are using any of the predefined *W SCST objects<br />

in QSYS, that are selected via the MFRTYPMDL parameter on output queues and printer<br />

devices.<br />

If you try to combine a *WSCST object with MFRTYPMDL(*WSCST) you will get the error<br />

message: CPD83F0 Device class of the customizing object mismatched.<br />

The workaround<br />

The workaround can according to IBM be done by replacing any of the predefined *WSCST<br />

objects in QSYS (use one that you would never use e.g. QW PIBM4019 might be a candidate..)<br />

with your own *W SCST object. It is a very good idea to just rename the *W SCST object in<br />

QSYS and then move or copy you own *W SCST object into QSYS - with that same name..<br />

<strong>InterForm</strong> A/S 415

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!