|
>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. CPYTOIMPF FROMFILE(FTPLOG) TOSTMF('/xxx/ftplog') MBROPT*ADD) I beleive when Reeve mentioned seeing TEXT, he is referring to the V4R5 feature 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 /xxx/ftplog.txt Reeve, you also, with proper mapping, or netserver shares, use Notepad or other 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 Knew 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 M 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 objects because the underlying objects don't have that attribute. Regards, 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 \ / «» «» X «» «» 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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.