Question

Asked:
Asked By:
Dec 22 2008   6:49 PM GMT
AZL   20 pts.

move document to AS400 (Iseries) folder


iSeries, IFS, IFSFile, IFS Directory to iSeries Folder

How do you move (or copy) a document from an IFS directory to an Iseries folder?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



When you say iSeries folder, are you referring to a DLO (document library object) in the original, pre-IFS OS/400 folder structure? If so, then those folders are part of the IFS, through the /QDLS path. Thus, a folder named MYFOLDER would be accessed using the IFS syntax of /QDLS/MYFOLDER, and to reference a specific document, the syntax is /QDLS/MYFOLDER/MYDOCUMENT.

You could use the MOV command, to move the object from its current IFS directory to the desired folder/directory in the /QDLS path. You can also rename or convert the object to another format and/or CCSID with that same command. Example:
MOV OBJ('/MyIFSDirectory/MyFile') TODIR('/QDLS/MYFOLDER')

(Be aware that /QDLS only supports the old DOS 8.3 naming convention, so if you try to move a file there that doesn't conform, you will get an error. In that case, you would have to rename the file first, before moving. This can be done via the REN command.)
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Yorkshireman   1350 pts.  |   Dec 24 2008  8:48AM GMT

To quote from the help panel (F1=help on all iseries screens)

For more information about integrated file system commands, see the
Integrated file system information in the iSeries Information Center
at <a href="http://www.ibm.com/eserver/iseries/infocenter" title="http://www.ibm.com/eserver/iseries/infocenter" target="_blank">http://www.ibm.com/eserver/iseries/infoc…</a>.

That’s a long winded route

I prefer

 <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp" title="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp" target="_blank">http://publib.boulder.ibm.com/infocenter…</a>