CL Command Reference - CRTFLR
CL Command List > CRTFLR Reference
Description:
The Create Folder (CRTFLR) command allows you to create a folder. Folders are used to organize documents and other folders.
Restrictions:
If a folder is created into an existing folder, change (*CHANGE) authority to the existing folder is required.
Examples:
Example 1: Create a Folder in Another Folder
CRTFLR FLR(QTR1) INFLR(¡¯PAYROLL/1987¡¯) AUT(*CHANGE)
TEXT(¡¯first quarter payroll¡¯)
This command creates the folder QTR1 in folder PAYROLL/1987. The public is granted *CHANGE authority to the folder, which allows adding a document to the folder, changing the folder description, or showing the contents of the folder. Folder 1987 is in the PAYROLL folder, which is a first-level folder.
Example 2: Create a Folder in an ASP
CRTFLR FLR(MANFCTNG) INFLR(*NONE) ASP(2) AUT(*USE)
TEXT(¡¯Manufacturing¡¯)
This command creates the folder MANFCTNG as a first level folder in user auxiliary storage pool (ASP) 2, which has been previously configured on the system. The public is granted *USE authority to the folder, which allows you to show the description or the contents of the folder.