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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts TXT2PDF problem - printing @ in PDF vipul65 All Other Mainframe Topics 9 Thu Aug 25, 2016 12:48 am
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm


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