• 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
    Midrange Dynamics North America

    Git up to speed with MDChange!

    Git can be lightning-fast when dealing with just a few hundred items in a repository. But when dealing with tens of thousands of items, transaction wait times can take minutes.

    MDChange offers an elegant solution that enables you to work efficiently any size Git repository while making your Git experience seamless and highly responsive.

    Learn more.

    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

  • Public Preview For Watson Code Assistant for i Available Soon
  • COMMON Youth Movement Continues at POWERUp 2025
  • IBM Preserves Memory Investments Across Power10 And Power11
  • Eradani Uses AI For New EDI And API Service
  • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
  • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
  • Fresche Overhauls X-Analysis With Web UI, AI Smarts
  • Is It Time To Add The Rust Programming Language To IBM i?
  • Is IBM Going To Raise Prices On Power10 Expert Care?
  • IBM i PTF Guide, Volume 27, Number 20

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