Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: How to stop Printing of a report in a dynamic JCL creation.
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

Senior Member


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

PostPosted: Sat Jul 31, 2010 5:44 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 8 Thu Jun 29, 2017 1:41 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Report cost in CA-dispatch Nileshkul CA Products 3 Wed Jun 07, 2017 10:32 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us