CHGPRTF: AS/400 printer file

5 pts.
Tags:
AS/400 - CL Command
AS/400 Printer File
AS/400 printing
CL Commands
I am changing the width of a printer file width from 132 to 198 using CHGPRTF cmd. Will this work or should i re-compile.

Software/Hardware used:
AS/400

Answer Wiki

Thanks. We'll let you know when a new response is added.

Depends;
If you will be running the same program and it has the file defined as 132 you could get a level check. If the program you will be running already has been compiled with a PRTF at 198 it should be OK.
If you are not defining a length in the RPG specs for the Printer and using “E” for externally defined, yes, you will need to compile to avoid the level check.

Discuss This Question: 1  Reply

 
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
    The level check will be caused by a change in the buffer entry size from 132 to 198. The file is compiled to manage a 132-byte buffer entry. The biggest purpose of level checks is to avoid buffer definition mismatches. If you change a buffer definition, you should expect a level check. Tom
    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