Renaming a printer file inside an RPGLE program

45 pts.
Tags:
RGPLE
Can I rename a printer file name in an RPGLE program? i.e. Use 'SA001W' instead of 'PA001'?
0

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.

Discuss This Question: 2  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.
  • TheRealRaven
    What do you mean by "rename"? It sounds like you want to override to a different PRTF, but it's not clear. What objects do you have available for this, and what results do you want after your program ends?
    35,650 pointsBadges:
    report
  • msn007
    Actually the word I was looking for is override. The printer file name is SO201W, RPGLE program is SO201R. I want to override SO201W Inside the 'SO201R' so in my spool file I can see 'SOXXX' (any given name). Is that doable?
    45 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.

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

Following

Share this item with your network: