Pat,
Relative path vs Absolute Path:
A relative path is related to where you are now. A relative path does NOT
start with a slash. If I type
CD 'junk'
and my current directory is '/home/ROB' then I will now be in
'/home/ROB/junk'.
An absolute path starts from the "root" and always begins with a slash. If
I type
CD '/junk'
and my current directory is '/home/ROB' then I will now be in '/junk'.
Same thing holds true for DOS under Windows, only in dos the slashes are
backwards from the i, linux and other non proprietary systems not based on
the old legacy Windows systems.
In DOS if you want to determine your current directory you can type in CD
and it will echo it back like this:
C:\Documents and Settings\ROB>cd
C:\Documents and Settings\ROB
On the i if I wanted to ReTrieVe the current directory how would I do
that? I might start out by typing in RTV* and hitting enter. If I did I
might get a list which looks like this:
Command Library Text
RTVAUTLE QSYS Retrieve Auth List Entry
RTVBCKUP QSYS Retrieve Backup Options
RTVBNDSRC QSYS Retrieve Binder Source
RTVCFGSRC QSYS Retrieve Configuration Source
RTVCFGSTS QSYS Retrieve Configuration Status
RTVCLDSRC QSYS Retrieve C Locale Description
RTVCLNUP QSYS Retrieve Cleanup
RTVCLSRC QSYS Retrieve CL Source
RTVCURDIR QSYS Retrieve Current Directory
RTVDIRINF QSYS Retrieve Directory Information
...
Can you see something there which may help?
Alas, you cannot do a RTVUSRPRF and get the home directory assigned to the
user.
See the following:
Retrieve User Information (QSYRUSRI)
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/apis/qsyrusri.htm
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.