move document to AS400 (Iseries) folder

20 pts.
Tags:
IFS
IFS Directory to iSeries Folder
IFSFile
iSeries
How do you move (or copy) a document from an IFS directory to an Iseries folder?

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.)

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Yorkshireman
    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 http://www.ibm.com/eserver/iseries/infocenter. That's a long winded route I prefer http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp
    5,580 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following