How can we create an ifs folder (ifs directory) in a400? What do they store? Can we keep multiple folders (directories) inside an ifs folder (directory), or only store different files?
Sorry, you do not have permission to ask a question, You must login to ask a question.
Sorry, you do not have permission to ask a question.
We can create an ifs folder using System I Navigator. Follow the below steps to create an ifs folder in the as400 machine.
The Ifs folder is the ifs directory. So, we can create an ifs directory from the server end. Use the mkdir (make directory) command to create an ifs folder(directory) in the AS400 system.
Type MKDIR on the command line, then press F4. Enter your new folder name, including the complete path back to the root.
mkdir ()
API can create a new or sub-directory in the IFS. mkdir() is make directory API. The prototypes inC
andRPG
language for mkdir() API are as follows:C prototype of mkdir():
RPG prototype of mkdir() in fixed format:
RPG prototype of mkdir() in fully free format:
mkdir() accepts two parameters and returns an integer value.
Path
parameter where we specify the folder/directory to be created.mode
parameter is the access permissions assigned to the directory during creation.Here is the RPG code in fixed format to create an ifs folder in as400.
Here is the RPG code in free format to create an ifs folder in as400.
Here is the fully free RPG code to create an IFS folder in AS400.