>Is there a way to change (add) text to a STMF file?  "Text" shows up when
>you WRKLNK.

The cpytoimpf supports an *add, so you could "add" data to a stmf.
I beleive when Reeve mentioned seeing TEXT, he is referring to the V4R5
in the WRKLNK where opt 5 will the display data in a stmf (like a green
screen notepad).
And you certainly can have ".txt" on files in IFS directories, like
Reeve, you also, with proper mapping, or netserver shares, use Notepad or
pc editors to add/change files in IFS directories.
Have also seen some stuff in the rpg-l@midrange.com and the ibm redbook Who
You Could Do That with RPG IV? SG24-5402, where an rpg program could
write directly to IFS files.
jim franz

----- Original Message -----
From: "Simon Coulter" <shc@flybynight.com.au>
To: <midrange-l@midrange.com>
Sent: Friday, August 31, 2001 10:32 PM
Subject: Re: STMF text

Hello Reeve,

You wrote:
>Is there a way to change (add) text to a STMF file?  "Text" shows up when
>you WRKLNK.

Only objects in QSYS.LIB have text associated with them.  The other IFS file
systems do not have text as an architected attribute (i.e., files and
directories under Unix, OS/2, Winslop, etc. do not have a text attribute) so
there is no way to set text for stream file, directories, or even QDLS
because the underlying objects don't have that attribute.

Simon Coulter.

 FlyByNight Software         AS/400 Technical Specialists       
 Eclipse the competition - run your business on an IBM AS/400.  
 Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\   
 Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /   
               ASCII Ribbon campaign against HTML E-Mail  / \   

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page