MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Getting Print Information Challenge.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
CyndyG
Beginner


Joined: 28 May 2003
Posts: 5
Topics: 3

PostPosted: Thu Feb 16, 2006 10:59 pm    Post subject: Getting Print Information Challenge. Reply with quote

IBM Mainframe z/05/Jes2

We are creating a rool of forms from jobs printing on a 3900 laser printer.
Could some tell me how I can capture the following:
The printer job is printing,example PRT922
The job name, date,start time(time started job started to print),end time(when job finished printing) and number of pages.


Now,we are not using jes exits.

We would like to be able to get at least 4 jobs on a roll,then end some procedure,to create a file that list the jobs that were printed and any errors while printing,such as a backspace, Then create a label that would then be placed on the roll showing what is on that roll. Then start the procedure again to create a new roll.
Back to top
View user's profile Send private message
CaptObvious
Beginner


Joined: 01 Feb 2006
Posts: 19
Topics: 1

PostPosted: Tue Feb 28, 2006 1:27 pm    Post subject: Reply with quote

JES2 will issue messages to the syslog whenever a print job starts, finishes, or a backspace or similar command is issued. You can use an automation product like Netview to intercept those messages (filtering for that particular printer), and perhaps kick off a script that appends the message to a file. That file would then be a log of all activity on that printer, and you could use it as input to whatever report you want to produce.

So, for example, you could print 4 jobs on a roll, then execute a job which prints the logfile and then purges it, and you'd be ready to print your next 4 jobs.

The tricky part would be writing the Netview scripts and message intercepts. You can introduce a lot of system overhead if you try to process every single JES2 message.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group