ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Link disappears

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Link disappears

    Here is what we do:

    CRTDIR DIR("QNTC/OUTSIDE")

    Then I create a symbolic link:

    ADDLNK OBJ('/QNTC/OUTSIDE/OPT') NEWLNK('/OPT')

    I need to create the symbolic link because we have a piece of software that is unable to read a path that is too long.

    This works for a short time, maybe 30 minutes, and then the symbolic link disappears. IBM says there is no way for a symbolic link to disappear unless a RMVLNK is called. I don't have anything that is issuing a RMVLNK command.

    Any ideas as to what is deleting the symbolic link? I am still dealing with IBM on the issue. We are on the latest PTFs for V7R1.

    Thanks in advance...

  • #2
    Re: Link disappears

    Are you deleting the target file at any point? I know the soft link is not suppose to be removed if the target file gets deleted but might be a bug

    Also are you sure the link is deleted or is it just broken. Try ls -R to see if the link is there
    Last edited by abercrombieande; May 3, 2012, 10:16 AM.

    Comment

    Working...
    X