• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Why Can’t I Access My Remote System’s AS/400 IFS?

    February 22, 2012 Hey, Joe

    I’m trying to create a QFileSvr.400 link between two of my IBM i machines. I created the link on my local machine just like I’m supposed to. But when I open the link to access AS/400 Integrated File System (AS/400 IFS) objects on my remote machine, it gives me a Not Authorized To Object error. What’s going on here?

    –Wil

    Background on QFileSvr.400

    Before I answer Wil’s question, here’s some background information on the QFileSvr.400 file system. If you’re already familiar with QFileSvr.400, skip ahead to the answers section.

    The QFileSvr.400 file system is a unique IBM i machine construct. It allows one IBM i machine (IBM Power i, System i, and iSeries hardware running the i, i5/OS, or OS/400 operating system) to access AS/400 IFS files on another IBM i machine.

    For our purposes, I’ll refer to the IBM i partition accessing a remote system’s AS/400 IFS as the local system. I’ll also refer to the IBM i system who’s AS/400 IFS files are being accessed as the remote system. The local system connects to the remote system through a QFileSvr.400 object link.

    QFileSvr.400 object links have many purposes, including quickly transferring files between two different IBM i partitions and reading files that reside on another partition. I demonstrated one practical example for using an object link in my 2011 article on porting image catalogs between two Power i systems.

    Cross system communication is accomplished through object links on the local machine. You can create a QFileSvr.400 object link by running the following green-screen Create Directory (MD) command on your local system.

    MD DIR ('/QFileSvr.400/remote system')
    

    In this instance, remote system equals either the TCP/IP host name of a remote IBM i partition or the SNA system name for another partition (this is only valid in older operating systems where SNA is still used).

    Note that you must enter a remote system name for this value, not a TCP/IP address.

    Once the directory is created, you’ll receive a CPCA083 message, indicating that the directory has been created. At this point, you can verify your local-to-remote system link works by running one of the following commands on your local system:

    1. Run this Work with Object Links (WRKLNK) command to open the AS/400 IFS on your remote system.

    WRKLNK OBJ('/QFileSvr.400/remotesystem/*')
    

    Or:

    2. Open the QFileSvr.400 file system with this WRKsysLNK command and place a “5=Display” in front of the QFileSvr.400 object link for your remote system.

    WRKLNK OBJ('/QFileSvr.400/*')
    

    If you correctly created your link, you will see the directories, file systems, and objects in the remote system’s AS/400 IFS.

    The Answer To Wil’s Error

    If you’re unable to see the remote system IFS when you open a QFileSvr.400 link, you may get the same CPFA09C error that Wil received. CPFA09C has the following message and cause:

    CPFA09C message--Not authorized to Object. Object is /QFileSvr.400/remotesystem
    CPFA09C cause--You do not have the correct authority for object
    /QFileSvr.400/remotesystem or for one of the directories in the object path
    

    This is an authority message related to the user profile you are signed on with on the local system. For QFileSvr.400 object links to work, the user profile on the local system must have the same user profile name and password as an authorized user on the remote system. If the profile name and password don’t match, the connection will be rejected.

    Once he realized this, Wil’s problem was easy to solve. He simply changed the password on his remote system user profile to match the password on his local system profile, and he was able to access the remote system’s AS/400 IFS through QFileSvr.400.

    So if you’re setting up an automated job to transfer files between two IBM i systems, be sure to use a user profile that is present on both systems and whose password is synchronized on both systems. And be careful when that password expires. I’ve seen situations where the password is changed on one end of a link and suddenly, a QFileSvr.400 automated operation fails.

    A Second Common Issue with QFileSvr.400 links

    The other common situation for QFileSvr.400 failures occurs when a user receives the following CPFA0E7 error.

    CPFA0E7 message--System cannot establish a communications connection with a file server
    CPFA0E7 caus--An attempt was made to perform an operation on object
    /QFileSvr.400/remotesystem that required interaction with a file server.
    

    In most cases, this is caused by one of the following two problems.

    • The QSERVER subsystem is not active on the remote system. Restart QSERVER by running the Start Subsystem (STRSBS) command.
    • The QFileSvr.400 version on the remote system is incompatible with the QFileSvr.400 version on the local system. In this case, you may or may not be able to make the connection until the servers are updated to compatible versions.

    HTH

    –Joe

    RELATED STORY

    An Alternative Way to Port Image Catalog Between Systems: QFileSvr.400



                         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
    Rocket Software

    Unlock the full potential of your data with Rocket Software. Our scalable solutions deliver AI-driven insights, seamless integration, and advanced compliance tools to transform your business. Discover how you can simplify data management, boost efficiency, and drive informed decisions.

    Learn more today.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Infor:  On-Demand Webcast: Top Business Drivers Impacting ERP Strategies for Distributors
    System i Developer:  Upgrade your skills at the RPG & DB2 Summit in Fort Worth, March 26-28
    ProData Computer Services:  Share real time data across platforms with RDB Connect

    IT Jungle Store Top Book Picks

    BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The iSeries Pocket Database Guide: List Price, $59
    The iSeries Pocket SQL Guide: List Price, $59
    The iSeries Pocket WebFacing Primer: List Price, $39
    Migrating to WebSphere Express for iSeries: List Price, $49
    Getting Started with WebSphere Express for iSeries: List Price, $49
    The All-Everything Operating System: List Price, $35
    The Best Joomla! Tutorial Ever!: List Price, $19.95

    RPG & DB2 Summit Picks Tipton for Keynote The Application RISC Machine System/500

    Leave a Reply Cancel reply

Volume 12, Number 4 -- February 22, 2012
THIS ISSUE SPONSORED BY:

WorksRight Software
Infor
inFORM Decisions

Table of Contents

  • bsearch: Partial Key Searches and More
  • Prompt Control Controls Parsimonious Command Prompting
  • Why Can’t I Access My Remote System’s AS/400 IFS?

Content archive

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

Recent Posts

  • 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
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

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