schlesin selvi
New User
Joined: 27 Nov 2006 Posts: 3 Location: Kerala
|
|
|
|
Hi
My requirement is to stop printing a report from a particular user printer.
In my case a dynamic JCL is created and which will determine to how many times the report program to be executed for the users.
In the dynamic JCL ,the OUTPUT jcl statement look like,
//TOPRT OUTPUT CLASS=P,WRITER=PRINTER
//TOSAR OUTPUT CLASS=W,WRITER=ABCDEFGH
//PRINT DD DCB=(RECFM=FBA,LRECL=133),
// SYSOUT=(,),OUTPUT=(*.TOPRT,*.TOSAR)
the report is printing to specific printer IDs and also to the SAR.
printer ID dynamically generate through the program.
My need is to stop printing the report to printer ;however if I modify OUTPUT=(*.TOSAR) then the report wont get to other users,That shoul not happen.
Please advice is any way to stop printing the report for a specific user. |
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Per the code snippet you've posted it looks like the OUTPUT goes to SAR and to a Printer. There is no other destination shown in the code. So if you remove the references to Printer, I believe your work is done. But you also said:
Quote: |
however if I modify OUTPUT=(*.TOSAR) then the report wont get to other users,That shoul not happen. |
Who is(are) the "other user(s)" you are referring to in quoted text? |
|