IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to stop Printing of a report in a dynamic JCL creation.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
schlesin selvi

New User


Joined: 27 Nov 2006
Posts: 3
Location: Kerala

PostPosted: Sat Jul 31, 2010 3:11 pm
Reply with quote

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.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Jul 31, 2010 5:44 pm
Reply with quote

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?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
Search our Forums:

Back to Top