Header Specification

295 pts.
Tags:
AS/400
RPG
When I compile any RPG program that time I could also see all comment lines from the program in Spool File. If I dont want to see those comment lines in the Spool File then what option do I need to specify in H Spec?

Answer Wiki

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

First, there is no option to prevent comment lines from printing. Second – why would you want that?

Generally, you only use a compile listing to help identify errors. From that point of view, it doesn’t matter whether there are comment lines or not. Using the “f *err” option in SEU when viewing the spooled file is (as I’m sure you know) the way to find compile errors.

Other than that, there is not much use for the compile listing. Usually you delete it when you’ve finished with it.

The only other use for the compile listing is that it can be used to re-create the member source, if you ever get into a situation where you need to do that (very rare!). In that case, you NEED the comments.

If you think I have misunderstood what you are actually trying to do, please let me know.

Regards,

JB

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