• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Yet Another Super-Easy Way to Copy a Spooled File from One Partition to Another

    April 21, 2010 Hey, Ted

    I saw the tip Another Super-Easy Way to Copy a Spooled File from One Machine to Another and wanted to add to the discussion.

    In our shop, we have one machine with two partitions–one for production, one for testing and development. On the production system, we have a TEST outq. On the test system, we have a PROD outq. Sending spooled files from one machine to the other is a simple matter of using the CHGSPLF command (option 2 from panels that display spool files) to change the outq name. The CL we used to create the output queues is slightly different from what you published earlier.

    Here’s the CL command to create the PROD outq on the TEST partition.

    CRTOUTQ OUTQ(QGPL/PROD) +
            RMTSYS() +
            RMTPRTQ('/') +
            AUTOSTRWTR(1) +
            CNNTYPE(*IP) +
            TRANSFORM(*NO) +
            DESTOPT('11.22.33.44')
    

    The token <prodsys> is where we put the name of our production system. The <lib> and <outq> tokens are the library and name of an outq on the remote system. The RMTPRTQ takes the qualified or unqualified name of the output queue on the remote system. The IP address is fictitious, of course.

    Creating the TEST outq on the production system works the same way.

    –Bob

    Thanks, Bob. I like simple things to make my life easier. If anybody has a DLTPPRWRK (Delete Paperwork) command, please send it my way.

    –Ted

    RELATED STORY

    Another Super-Easy Way to Copy a Spooled File from One Machine to Another



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

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Raz-Lee Security

    Start your Road to Zero Trust!

    Firewall Network security, controlling Exit Points, Open DB’s and SSH. Rule Wizards and graphical BI.

    Request Demo

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    PowerTech:  Download your free copy of the updated 2010 The State of IBM i Security today!
    Shield Advanced Solutions:  JobQGenie ~ the perfect companion for your high availability solution
    COMMON:  Join us at the annual 2010 conference, May 3 - 6, in Orlando, Florida

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    Chip Wars: List Price, $29.95

    Talend Updates Data Management Software Stacking Up New Power7 Against Power6/6+ Blades

    Leave a Reply Cancel reply

Volume 10, Number 14 -- April 21, 2010
THIS ISSUE SPONSORED BY:

Infor
Vision Solutions
WorksRight Software

Table of Contents

  • Files in Subprocedures
  • Let One Row Represent a Group
  • Admin Alert: Diary of a Production System Upgrade, Part 1
  • FAQs for MySQL and the DB2 Storage Engine
  • Yet Another Super-Easy Way to Copy a Spooled File from One Partition to Another
  • More on Whether IPLs Help System Performance

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Liam Allan Shares What’s Coming Next With Code For IBM i
  • From Stable To Scalable: Visual LANSA 16 Powers IBM i Growth – Launching July 8
  • VS Code Will Be The Heart Of The Modern IBM i Platform
  • The AS/400: A 37-Year-Old Dog That Loves To Learn New Tricks
  • IBM i PTF Guide, Volume 27, Number 25
  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle