Q
Problem solve Get help with specific problems with your technologies, process and projects.

Acknowledging control characters in a print file on IBM i without writing a program

Issue an override print file command before copying a file to QSYSPRT in order to acknowledge control characters without writing a program on the AS/400.

I have a file that has format control characters in column 1. I want to upload this file to the AS/400 (V4R5). I thought I could just copy this file to QSYSPRT, and it would pick up the column 1 control characters.

However, the file is not picking up the column 1 control chracters. Instead, the file is truncating column 133...

and leaving the control characters in column 1. Is there a way to get the control characters acknowledged without having to write a program?

Before copying the file to QSYSPRT, you need to issue an Override Print File (OVRPRTF) command as follows:

OVRPRTF FILE(QSYSPRT) CTLCHAR(*FCFC)
This should acknowledge the control characters without having to write a program.
This was last published in May 2009

Dig Deeper on Printing on iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close