Warning: Declaration of TCB_Menu_Walker::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, ...$args) in /home/nicklit/www/www/wp-content/plugins/thrive-visual-editor/inc/classes/class-tcb-menu-walker.php on line 620

Warning: session_start(): Cannot start session when headers already sent in /home/nicklit/www/www/wp-content/plugins/userpro/includes/class-userpro.php on line 222
How to move all spool files to a new output queue on the IBMi - Nick Litten is IBM-i, AS400 iSeries RPG Programmer and Nerd

How to move all spool files to a new output queue on the IBMi

IBM i

May 20

Recently at a client site, I heard a monotonous and really quite annoying sound: tap, tap, tap, tap, tap, tap, tap, tap, TAP… tap, tap, tap, tap, tap, tap, tap, tap, TAP… tap, tap, tap, tap, tap, tap, tap, tap, TAP… tap, tap, tap, tap, tap, tap, tap, tap, TAP… coming from the adjoining Dilbert cubicle.

This prompted me to ask what she was doing. She reluctantly complained that “I have to move all these spool files to another output queue and their are hundreds and hundreds and hundreds of them”

move all spool filesI looked quizzically until I realized she was in WRKSPLF on the green screen and was manually selecting each and every spool file with a 2 before paging down for the next screen, for as many screen as was needed, then using command line to change the output queue.

#ouch

Loads of time wasted doing a manual task when the tools to move the entire output queue are already right there in Windows but just didnt know about it.

So, to save my eardrums, I showed her how we could do it using IBM Navigator (iSeries Nav or i-Nav is its now known) in a few simple mouse clicks…

 

1 – Launch Navigator if you are not already running it and click BASIC OPERATIONS

move spools on IBMi or iseries or AS400

2 – Select PRINTER OUTPUT

move spools on IBMi or iseries or AS400

3 – Choose SPLFS to move

Now its time to select the spool files (reports) that you want to remove. You cant use CTRL/A in my version of Iseries Navigator so I just select the first one and then…

move spools on IBMi or iseries or AS400

SHIFT/CLICK the last one to select them all

move spools on IBMi or iseries or AS400

4 – now RIGHT CLICK and select MOVE

move spools on IBMi or iseries or AS400

Ta-da!

Yes it really is that quick and simple.

So the lesson today is to kick your brain out of green screen mode. Using IBM’s tools will not only save you time but will reduce keyboard wear, lower the irritating-sound-in-the-office ratio and prevent you developing repetitive strain injury 😉

/me manages to stop himself moaning about people writing RPG code using SEU….

Follow

About the Author

IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Alpha Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.