fhg
Volume 7, Number 7 -- February 21, 2007

A Handy Tip for Testing Batch Job Streams

Published: February 21, 2007

by Ted Holt

Recently, I had to make some changes to a job stream that had a lot of hard-coded output queue names. Even though I was able to use a test system that was a copy of the production system, some of those OUTQs were live. The OUTQ for the fax server is a prime example. Holding the OUTQs for extended periods of time was not practical. Neither were holding or stopping the writers. Fortunately, there was an easy way to test the job stream without distributing the spooled output.

I started another green-screen session just for the test. Before calling the program, I issued the following override command from a CL command line.

OVRPRTF FILE(*PRTF) HOLD(*YES) OVRSCOPE(*JOB)

The special value *PRTF in the FILE parameter matches any file name. Even though the reports were generated under a lot of file names, all of them were created on hold status.

This technique does not work if the job stream submits other jobs to batch, since overrides do not carry over from one job to another.

Short, but sweet.



                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
SEQUEL

SEQUEL can be used for
virtually ALL business intelligence functions
on the System i, including:

                                                    · Executive Dashboards
                                                    · Graphical Query & Reporting
                                                    · Drill-Down Data Analysis
                                                    · Multi-Platform Database Support
                                                    · E-Mail Report and File Distribution
                                                    · Secure Web Access

SEQUEL is the single solution for all
your business intelligence needs.

www.helpsystems.com


Senior Technical Editor: Ted Holt
Technical Editors: Howard Arner, Joe Hertvik, Shannon O'Donnell, Kevin Vandever
Contributing Technical Editors: Joel Cochran, Wayne O. Evans, Raymond Everhart,
Bruce Guetzkow, Brian Kelly, Marc Logemann, David Morris
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

Aldon:  ALM solutions to accelerate your application development
COMMON:  Join us at the 2007 conference, April 29 – May 3, in Anaheim, California
Maximum Availabilty:  Secure, cost-effect, real-time iSeries replication software


Books on Sale at the IT Jungle Store: 30 Percent Off for 30 Days

The System i Pocket RPG & RPG IV Guide: List Price, $69.95; Sale Price, $49.00
The iSeries Pocket Database Guide: List Price, $59.00; Sale Price, $41.00
The iSeries Pocket Developers' Guide: List Price, $59.00; Sale Price, $41.00
The iSeries Pocket SQL Guide: List Price, $59.00; Sale Price, $41.00
The iSeries Pocket Query Guide: List Price, $49.00; Sale Price, $34.00
The iSeries Pocket WebFacing Primer: List Price, $39.00; Sale Price, $27.00
Migrating to WebSphere Express for iSeries: List Price, $49.00; Sale Price, $34.00
iSeries Express Web Implementer's Guide: List Price, $59.00; Sale Price, $41.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95; Sale Price, $56.00
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00; Sale Price, $62.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00; Sale Price, $34.00
WebFacing Application Design and Development Guide: List Price, $55.00; Sale Price, $38.00
Can the AS/400 Survive IBM?: List Price, $49.00; Sale Price, $34.00
The All-Everything Machine: List Price, $29.95; Sale Price, $21.00
Chip Wars: List Price, $29.95; Sale Price, $21.00

 

The Four Hundred
In Formation: Q&A with Infor Chairman Jim Schaper

GST Says Buy Cheaper i5 Disk Controllers and Lots of Disks

Chip Makers Strut Their Stuff at ISSCC

Mad Dog 21/21: Paved With Good Intentions

The Linux Beacon
Chip Makers Strut Their Stuff at ISSCC

AMD Delivers Faster and Cooler Rev F Opteron Chips

Zend Upgrades Commercial Add-Ons for Its PHP Engine

As I See It: Measuring What Counts

Four Hundred Stuff
Lawson Brings Former Intentia ERP Suite Closer to Landmark

iSeries Web Adventures Call with iSafari

Valid Tech Assimilates Biometric Authentication Into the Enterprise

Gumbo's Dumpster Dives Into i5/OS Spool Files

Big Iron
IBM Previews Future z/OS, z/VM Mainframe Operating Systems

Top Mainframe Stories From Around the Web

Chats, Webinars, Seminars, Shows, and Other Happenings

System i PTF Guide
February 17, 2007: Volume 9, Number 7

February 10, 2007: Volume 9, Number 6

February 3, 2007: Volume 9, Number 5

January 27, 2007: Volume 9, Number 4

January 20, 2007: Volume 9, Number 3

January 13, 2007: Volume 9, Number 2

The Windows Observer
Microsoft Moves Forward on Post Vista Windows OSes

Microsoft Issues a Dozen Security Patches, Fixes Security Tools

Chip Makers Strut Their Stuff at ISSCC

Microsoft Launches Windows Mobile 6

The Unix Guardian
HP Adds Entry Itanium Servers, Finally Delivers HP-UX 11i v3

Unix Is Dead? It Isn't Even Sick. . .

Chip Makers Strut Their Stuff at ISSCC

As I See It: Measuring What Counts

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

THIS ISSUE SPONSORED BY:

SEQUEL
WorksRight Software
RPG & DB2 Summit



TABLE OF CONTENTS
Get Connected with Remote Systems Explorer

A Handy Tip for Testing Batch Job Streams

Admin Alert: Automatically Moving Printed Spooled Files Between Output Queues

Four Hundred Guru

BACK ISSUES

From the IT Jungle Forums
'Piping' output from OS400 commands

iSociety

RSTOBJ to a specific library

SQL Function, Not Procedure

Entry parms getting overlayed--RPG





 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement