Does anyone know how to supress form feed and Carriage return charcters in a print file. I am sending a Spool file to a wintel server for data input. When I display the spool file I don't see any of these special characters. However, when the wintel server gets the file, these special characters are present. This is causing problems for the software that resides on the Wintel server. Any thoughts in how I can supress these chracters?
Thanks,
Eamon
Software/Hardware used:
ASKED:
August 6, 2008 6:25 PM
UPDATED:
August 14, 2008 4:30 PM
It would be useful to know how you are ‘sending’ the spool file to the Wintel system.
Please detail the steps involved.
Diac, thank for the feedback. We are coummunicating to the wintel sever through an outq pointing to to a network wintel server. Below is an example of the outq definition. I hope this helps clarify the problem.
Queue: LATFAXSND Library: QUSRSYS
Status:
Writer active . . . . . . . . . . . : Y
Writer name(s) if active . . . . . . : LATFAXSND
Output queue held . . . . . . . . . : N
Maximum spooled file size:
Number of pages . . . . . . . . . . : *NONE
Starting time . . . . . . . . . . . :
Ending time . . . . . . . . . . . . :
Writers to autostart . . . . . . . . . : 1
Display any file . . . . . . . . . . . : *YES
Job separators . . . . . . . . . . . . : 0
Operator controlled . . . . . . . . . : *YES
Order of files on queue . . . . . . . : *FIFO
Data queue . . . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . . :
Queue: LATFAXSND Library: QUSRSYS
Authority to check . . . . . . . . . . : *DTAAUT
Remote system . . . . . . . . . . . . : SSCCFAX
Remote printer queue . . . . . . . . . : LATFAXSND
Queue for writer messages . . . . . . : QSYSOPR
Library . . . . . . . . . . . . . . : *LIBL
Connection type . . . . . . . . . . . : *IP
Destination type . . . . . . . . . . . : *OTHER
Host print transform . . . . . . . . . : *YES
Manufacturer type and model . . . . . : *WSCST
Workstation customizing object . . . . : ESKERFAX
Library . . . . . . . . . . . . . . : QGPL
Image configuration . . . . . . . . . : *NONE
Destination options . . . . . . . . . : *NONE
Print separator page . . . . . . . . . : *YES
User defined option . . . . . . . . . : *NONE
User defined object:
Object . . . . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . :
Object type . . . . . . . . . . . . :
User driver program . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . . :
Spooled file ASP . . . . . . . . . . . : *SYSTEM
More…
One option is to copy the spool file to a DB2 file (CPYSPLF) with CTLCHAR(*NONE ).
This will strip off the forms control character, leaving just the data in the report in your physical file.