How to get rid of compile error message?

20 pts.
Tags:
AS/400
AS/400 programming
COBOL
In my printer file, I created a header with no picture clause for it and it is giving me an error message when I try to compile my COBOL program

Software/Hardware used:
AS/400

Answer Wiki

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

When you say printer file, do you mean a PRTF? Or is the definition only in the COBOL program? Also, why would you create a header with no picture clause? You could add PIC X(001) VALUE SPACE for a dummy header or simply code to ADVANCE PAGE before writing your first line of output. Please elaborate, thanks.

I meant a PRTF.

I did try what you suggested about adding a PIC X(001) value space for a dummy header and it worked. Thank you for responding.

Masferalloy

Discuss This Question:  

 
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

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