+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: IFS FILE IN USE PROBLEM

  1. #1
    K.Forsythe Guest

    Default IFS FILE IN USE PROBLEM

    I haven't done anything with data links myself, but I know that you can define a column in database table as being a url link to a file on your IFS. It can be configured in such a way that the system prevents anyone from deleting the IFS file if its being referenced by a record in the table.

  2. #2
    Guest.Visitor Guest

    Default IFS FILE IN USE PROBLEM

    Phillip - I had this problem recently with a document in a folder which was being accessed frequently in a short period of time. When we moved the file to the IFS (where CSVs *really should* be) rather than in a folder, the problem was solved. You should consider suspending any use of folders/documents in the future and use the IFS directories instead. HTH, Steve

  3. #3
    Guest.Visitor Guest

    Default IFS FILE IN USE PROBLEM

    Hi, if the delete cannot be done using a mapped network drive, this could be the known problem which occurs after installing a certain Microsoft patch which is described here: http://www-912.ibm.com/n_dir/nas4apa...2?OpenDocument Regards, Klaus

  4. #4
    Guest.Visitor Guest

    Default IFS FILE IN USE PROBLEM

    I use "RMVLNK OBJLNK('/myfolder/myfile.ext')" to remove or delete files on the IFS. Hope this helps. Ernesto.

  5. #5
    Guest.Visitor Guest

    Default IFS FILE IN USE PROBLEM

    Try the Release IFS lock command RLSIFSLCK. Ignore the RMTLOCNAME parameter and enter the /folder path/file name for the OBJ parameter.

  6. #6
    Jack Lebron Guest

    Default IFS FILE IN USE PROBLEM

    Does anyone know how to Read the document names from a folder using a CL or Rpg Program without having to specify the document names themself. I tryed to use wrklnk & wrkflr but you have to specify the Document name. Any Hlep Will be greatly apreciated. Thanks ! Jackl@abcfws.com Text

  7. #7

    Default IFS FILE IN USE PROBLEM

    If you can live with a Flat File use Qshell and pipe the directory listing to a Physical File in the Library File system. The Physical File must exist before you issue the command for the directory listing. I've included an example below. This link: http://www.computerhope.com/unix/uls.htm shows usage of the ls command if you're not familiar with it. A sample of the results are also included. The first line isn't part of the file but was included so that you can see the actual position of the information. I don't know what all the columns mean but here are the ones that I do now: Col 1 position 1: d for directory, otherwise it's a file. Col 1 remainder: Unix style authorities Col 2: ?? Col 3: Owner Col 4: ?? Col 5: Size Col 6: Month abbreviation Col 7: Day of Month Col 8: If current year it's the time, otherwise Year Col 9: File or Directory Name Month, Day and Year columns are either create or modify dates/times.
    Code

  8. #8

    Default IFS FILE IN USE PROBLEM

    If you can live with a Flat File use Qshell and pipe the directory listing to a Physical File in the Library File system. The Physical File must exist before you issue the command for the directory listing. I've included an example below. This link: http://www.computerhope.com/unix/uls.htm shows usage of the ls command if you're not familiar with it. A sample of the results are also included. The first line isn't part of the file but was included so that you can see the actual position of the information. I don't know what all the columns mean but here are the ones that I do now: Col 1 position 1: d for directory, otherwise it's a file. Col 1 remainder: Unix style authorities Col 2: ?? Col 3: Owner Col 4: ?? Col 5: Size Col 6: Month abbreviation Col 7: Day of Month Col 8: If current year it's the time, otherwise Year Col 9: File or Directory Name Month, Day and Year columns are either create or modify dates/times.
    Code

  9. #9

    Default IFS FILE IN USE PROBLEM

    Here's a simple RPG sample. The program takes one parameter (limit 30 bytes) which is the path to read through and then displays the the first 45 bytes of the document and folder names that are within the specified path. So if the *PGM is called DIR you would CALL DIR '/QDLS/QBKBOOKS/UNITABLE' if you wanted a list of the contents in /QDLS/QBKBOOKS/UNITABLE. Bruce Vining
    Code

  10. #10
    Guest.Visitor Guest

    Default IFS FILE IN USE PROBLEM

    I have a file in the IFS that I want to delete but I can't because I keep getting an Object in use message even though I know that no one is using it. I've tried to delete it from WRKFLR, WRKLNK, Windows, and Iseries Navigator. I've also tried the RCLDLO command (see below). Anyone have any ideas on what to do ? RCLDLO DLO(*FLR) FLR('INFOWP/IFMUP') Document SAMSWM.CSV in use in folder INFOWP/IFMUP. Reclaim of IFMUP partially successful.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. JAR save file to IFS problem ??
    By alexcmk in forum Java
    Replies: 0
    Last Post: 12-10-2006, 05:16 PM
  2. File upload problem
    By Guest.Visitor in forum Programming
    Replies: 5
    Last Post: 05-18-2001, 06:42 AM
  3. File Format problem
    By Guest.Visitor in forum Application Software
    Replies: 5
    Last Post: 06-12-2000, 05:38 PM
  4. File problem with Query
    By Guest.Visitor in forum Analysis
    Replies: 2
    Last Post: 10-07-1999, 06:54 AM
  5. RPG ILE Sub-Procedure File Problem
    By Guest.Visitor in forum Programming
    Replies: 3
    Last Post: 02-14-1999, 07:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts