Each component of the path name must contain the object name followed
by the object type of the object.
- For example:
/QSYS.LIB/QGPL.LIB/PRT1.OUTQ
/QSYS.LIB/EMP.LIB/PAY.FILE/TAX.MBR
The object name and
object type are separated by a period (.). Objects in a library can have the
same name if they are different object types, so the object type must be specified
to uniquely identify the object.
- The object name in each component can be up to 10 characters long, and
the object type can be up to 6 characters long.
- The directory hierarchy within QSYS.LIB can be either two or three levels
deep (two or three components in the path name), depending on the type of
object being accessed. If the object is a database file, the hierarchy can
contain three levels (library, file, member); otherwise, there can be only
two levels (library, object). The combination of the length of each component
name and the number of directory levels determines the maximum length of the
path name.
If "root" (/) and QSYS.LIB are included as the first two levels,
the directory hierarchy for QSYS.LIB can be up to five levels deep.
- The characters in names are converted to CCSID 37 when the names are stored.
Quoted names, however, are stored using the CCSID of the job.
For more
information about CCSID, see the i5/OS™ globalization topic.