× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Albert

I googled for IFS and extended attributes and found something interesting - the page in Infocenter on extended attributes - for V5R4 it is here

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/ifs/rzaaxea.htm

Here are some excerpts -

"Various objects in the various file systems may or may not have extended attributes. The QSYS.LIB and independent ASP QSYS.LIB file systems support three predefined extended attributes: .SUBJECT, .TYPE, and .CODEPAGE."

I think .SUBJECT is the text description for our familiar library objects.

"The Work with Object Links (WRKLNK) command and Display Object Links (DSPLNK) command can be used to display the .SUBJECT extended attribute for an object. There is no other integrated file system support through which applications or users can access and change extended attributes."

Disappointing! BUT!

"If a client PC is connected to a System i^(TM) platform through OS/2^® or Windows^® , the programming interfaces of the respective operating system (such as DosQueryFileInfo and DosSetFileInfo) can be used to query and set the extended attributes of any file object. OS/2 users can also change the extended attributes of an object on the desktop by using the settings notebook; that is, by selecting Settings on the menu associated with the object."

First, let's all go out and get OS/2!

OK - this is pretty cool - so maybe Scott will write up something for us!!

HTH
Vern

On 9/17/2010 1:32 PM, Albert York wrote:
Thanks Scott.

I saw the 'Text' column on the wrklnk screen and was hoping I could use it.

Albert


On Fri, Sep 17, 2010 at 11:05 AM, Scott Klement
<rpg400-l@xxxxxxxxxxxxxxxx> wrote:
AFIAK, there are no description ("text") fields in the IFS interface.
So none of the IFS tools are going to support them.

The only file system that I can think of that supports the "text"
attribute is the QSYS.LIB file system -- and for that file system, you
can set the text using the native interface instead of the IFS interface.


On 9/17/2010 12:30 PM, Albert York wrote:
Is there a paramter on the open() statement which will allow you to
add a description (text) to the file?
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.