How to prevent MSG ID CPI3420?

20 pts.
Tags:
AS 400
AS/400 printing
Spool files
Hi, Im new to this blog so hi to everyone. This is my problem, I'm trying to generate performance reports, when I go to WRKSPLF and 5 to display them, in some of them I get the CPI3420 and I can't see the text I need. I found out the way to display the overwritten text by creating a physical file and then CPYSPLF. However I'd like to keep that as my last option since I'm working with probably hundreds of spool files and I dont want to go CPYSPLF on each one of them. Is there a way around to avoid getting this CPI3420 message? I've heard someone saying that it is generated due to lack of printing support but I'm not sure, I have most of the printing licensed programs installed and the latest cums and groups loaded. The only licensed program I couldnt get installed was the 5761AP1 because it was not found on my media. Any advice? I'd highly appreciate any help .

Software/Hardware used:
OS/400 V6R1

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
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

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
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
  • TomLiotta
    ...when I go to WRKSPLF and 5 to display them, in some of them I get the CPI3420...   Don't use a display session to look at data that is formatted for a printer device. A display device has no idea how to interpret printer control codes properly, so don't expect one to.   That's the direct answer.   A less direct answer is to use a tool that is capable of interpreting printer output. A printer is the obvious tool, but less obvious is to use iSeries Navigator. Navigate to the list of spooled files and open the one you want to view.   The viewer takes some practice in learning appropriate configuration for different spooled files. Instead, you might just drag/drop the spooled file to your PC and open it with Notepad. Conversion should happen automatically.   After those alternatives, you could do some programming. Programming to display basic character output for a printer could be as simple as three or four CL statements if you create a basic *CMD wrapper to help format job-name and spoolfile name and number. The Qshell catsplf utility plus the DSPF command is one possible combination that I use often for basic stuff.   Tom
    125,585 pointsBadges:
    report
  • D3N1SG
    Hi TomLiotta, thanks for your input. Part of my work is actually to download the spool files using iSeries Navigator to my PC and read them as text; they display in Notepad the same way they do in the green screen, without the overwritten text. I've tried to open them using the Navigator viewer as you suggested but the viewer comes up blank so I'm downloading the latest SP for i Access for Windows to see if that fixes it. I also tried to display the spool file using the catsplf in QSH but they come up the same way too. So far the only way I've tried that actually displays the overwritten text is using CPYSPLF to a PF with a different record lenght. Any other ideas? Thanks again!
    20 pointsBadges:
    report
  • TomLiotta
    ...but the viewer comes up blank so I’m downloading the latest SP for i Access for Windows to see if that fixes it.   That's the first step. If that fixes it, it's significant indication of any later steps. The easy ones are mostly discarded now.   Two bits of info will be useful. First, what kind of printer files are these? Are they for basic *SCS printers or *AFPDS? Second, what product creates these files?   Also,
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
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

Thanks! We'll email you when relevant content is added and updated.

Following