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,
Joined: 22 Apr 2006 Posts: 6258 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:
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?