Results 1 to 6 of 6

Thread: BSFN Find File with wildcards on AIX

  1. #1
    New Member
    Join Date
    Aug 2011
    Location
    Czech Rep.
    Posts
    23

    BSFN Find File with wildcards on AIX

    Hi All,

    we need to find files using wildcards on AIX. How do you solve it? Standard BSFN doesn´t work.

    Thanks for reply.

    Petr
    E1 E8.12

  2. #2
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,190
    Do you files have a structure to the naming format?

    I'm not sure if this will work, but you could try a AIX command using Call External command B34A1030 and see if SV Error Status comes back with an exception?
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  3. #3
    New Member
    Join Date
    Aug 2011
    Location
    Czech Rep.
    Posts
    23
    It´s not good solution, because I only know a part of file name and need to get correct file name for next processing.
    E1 E8.12

  4. #4
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,190
    B9600471 FindFirstFileMatchingWildcard uses tfindfirst but it looks like it's aimed at ESUs only.

    But still have a play as it is also has a module called FindNextFileMatchingWildcard
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  5. #5
    Member craig_welton's Avatar
    Join Date
    Oct 2000
    Location
    Litchfield, CT
    Posts
    858
    That is a client only function, I'm afraid. We had to write our own that used the native API on the iSeries. I'm sure the same could be done on the Unix host.

    Craig
    Craig Welton
    PatWel Group Inc.
    http://www.patwel.com
    Home of the FREE JDE Object Browser, JDETrace and NERDup Tools

    E1 9.0 8.98.3 iSeries
    E1 9.0 8.98.4.2 Wintel SQL 2008

  6. #6
    New Member
    Join Date
    Aug 2011
    Location
    Czech Rep.
    Posts
    23
    Craig´s right, on server it doesn´t work. Unfortunately Aix has some specifics and standard Unix function doesn´t work.
    E1 E8.12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company, Oracle or Peoplesoft.