Posted: Thu Feb 16, 2006 10:59 pm Post subject: Getting Print Information Challenge.
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.
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.
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