Number of copies how to print in printer file

350 pts.
Tags:
AS/400
AS/400 printing
COBOL/400
i want to print 10 no of identical copies to print,how to we do to print in cobol/400

Answer Wiki

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

The number of copies you want to print is an attribute of the spool file, not the program that produced it.
If the SPLF is still in the spool queue, you can change number of copies by using option 2=change and doing F4 prompt and chane COPIES from 1 to whatever number you want.
If this is something that prints as soon as it it is produced, you need to use the OVRPRTF command just before you call the program.
Or if the PRTF is only used in the program, you can do CHGPRTF and make the change to COPIES

Discuss This Question: 5  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
  • madhuchowdary
    I have used OVRPRTF with no of copies as '10'.
    350 pointsBadges:
    report
  • phoenix2655
    Is there a command to mass print your entire spool without having to mark each and every file in queue?
    10 pointsBadges:
    report
  • TomLiotta
    Is there a command to mass print...Are you needing to mass-print with multiple copies? If not, then this seems unrelated to this question thread. Open a new question thread to get better attention to your question and to make future searches easier for others.Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    You issued the  OVRPRTF with the correct file name with no of copies as ’10′.before calling the COBOL program in the same job stream?  That should do what you want.
    49,940 pointsBadges:
    report
  • WoodEngineer
    How is your printer configured?  If it is an IP attached printer, you may only get one copy regardless of the copies specified in the OVRPRTF command.  It depends on your configuration.  If IP attached printer, did you code anything in the Destination Options?
    6,650 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