Solved

Is it possible to redirect folders on the as400 (IFS) to a network folder

Posted on 2008-06-09
3
447 Views
Last Modified: 2013-12-06
We have a program that is currently outputting to an IFS folder on the i-seriers (as400).  Is there a way (as we do not have access to the program source) to redirect the folder to a network drive (we wish to have the contents going to that folder redirected to a different network folder
0
Comment
Question by:Jackson_62
3 Comments
 
LVL 13

Expert Comment

by:_b_h
Comment Utility
You can use the QNTC file system to access windows data from the AS/400. A program that accesses a stream file in the IFS can access a file on one of the windows servers.
Netserver may already have been set up on your system, so you can check if you can  see the windows box using
WRKLNK OBJ('\QNTC\server_name')

Otherwise,  check out this document on how to get started with QNTC:
http://www-912.ibm.com/s_dir/slkbase.nsf/1ac66549a21402188625680b0002037e/aea450153eebf8ff8625670f0072550f?OpenDocument

If you have any questions, post back!
Barry
0
 
LVL 34

Expert Comment

by:Gary Patterson
Comment Utility
I don't know of a direct method to redirect an existing IFS directory, but it is not difficult to code an exit point program that monitors the creation of new files in a given IFS directory, waits until the file is closed, and then moves the file to a new location.  

Registered exit point programs are called automatically by the operating system whenever the underlying event occurs.

Check out this thread for more information, and post back here if you need more help.

http://archive.midrange.com/midrange-l/200501/msg01214.html
 
0
 
LVL 16

Accepted Solution

by:
theo kouwenhoven earned 500 total points
Comment Utility
Hi Jackson_62

In the Operations navigator, you can make a fileshare (in option file systems), this share can be mapped to a drive the normal way by right-click MyComputer > Map Networkdrive and type as folder name \\MyAs400\MyFileShare, or include it in your startup script

That's all :)
Regards,
Murph
0

Featured Post

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now