× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.