Skip to main content

 
IBM Power Systems software  >  IBM i  > Software  > 

Net.Data for i5/OS

  
Overview News Library Education Support
Abstract: New flatfile file search changes.

What is it?
You no longer have to specify all the paths and sub-directories in the FFI_PATH configuration variable. You only have to specify the top-most directory. For example, assume the FFI_PATH is set to /dir1;, and that the file myfile.txt exists in directory /dir1/subdir1. Then a macro contained the following statements:

    @DTW_ASSIGN(filename, "/dir1/subdir1/myfile.txt")
    @DTWF_READFILE(filename, strvar)

    @DTW_ASSIGN(filename, "/subdir1/myfile.txt")
    @DTWF_READFILE(filename, strvar)
would result in an attempt to read in the file /dir1/subdir1/myfile.txt

Why would I want to use it?
Eliminates the need to put all directories and subdirectories in the FFI_PATH configuration statement.

How do I use it?
Set FFI_PATH to the top-most directory, and the files specified in flatfile functions can contain just the sub-directories.

Availability
V4R4 and subsequent releases. Ensure you have the latest Net.Data PTF.