Give EDTF '/' a spin.  It has a column for "Symbolic Link".

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-898-7863 or ext. 1863



-----Original Message-----
From: Peter Dow [mailto:maillist@dowsoftware.com]
Sent: Wednesday, December 18, 2002 4:30 PM
To: MIDRANGE-L@midrange.com
Subject: IFS symbolic links


Hi Everyone,

Ran into an interesting problem today.  I have a client at V4R4M0 who was
having exceedingly long response times using Windows Explorer to drag a file
into a directory in the IFS (e.g. from C:\temp\somefile.csv to
\\AS400\home\xyz).

When I tried
    CD '/'
    WRKLNK

the first display came up immediately; I pressed PgDn and it took 3 minutes
and 28 seconds to get to the next display.  What I saw on that 2nd display
was a symbolic link called "JDrive", which had apparently been linked at one
time to a directory on an NT server, and the server had been renamed.
Deleting the link solved the problem.

My question is, after a symbolic link has been created (with ADDLNK), how
can you find out what it was linked to?  To make this perfectly clear, try
the following:

ADDLNK OBJ('/home') NEWLNK('/hom')
WRKLNK '/'

Option 5 (display) on /hom simply shows the contents of /home.
Option 8 (display attributes) does not show that /hom is a link to /home, it
just shows that it's a link, when it was created, etc.

Is there an API that shows that /hom is a link to /home?

tia,
Peter Dow
Dow Software Services, Inc.
909 793-9050 voice
909 522-3214 cellular
909 793-4480 fax




_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.