Salesforce

Assigning Names to IBM i Files (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Assigning Names to IBM i Files (Magic xpa 3.x)

Magic xpa provides automatic file naming as a default option. However, to avoid confusion, it is good practice to assign meaningful file names to IBM i files. An IBM i file name can be specified in the format

Libname/Filename

or simply

Filename

where the name of the library is substituted for Libname and the name of the file is substituted for Filename. If only the Filename is specified, the name of the Magic xpa database library name is assumed as the name of the Library. Once identified, the library name of the data portion is assumed for the index definition in Magic xpa.

Note:

In Windows platforms, files can be referred to by either a URL or by file name, relatively or by full path/URL.

In non-Windows platforms, such as IBM i platforms, files can be referred to by a full URL only. Any reference to a file name with a slash (/) is considered to be a path name, either full or relative.

Examples:

/etc/home1/a.jpg (full path)

http://myserver/myalias/a.jpg (full URL)

myalias/a.jpg – is considered to be a relative path name, not a relative URL.

Magic xpa automatically creates a logical file for every index. The file name is built from the first five characters of the physical file name followed by a K and the key number. Therefore, the same default file name will be assigned to all the logical files having names that start with the same five characters. To avoid this, assign a unique name in the Magic xpa Index Properties dialog box.

If the definition is found in a different library, it can be specified explicitly as the database name property of the key.

Reference
Attachment 
Attachment