|
M
Hello Rod,
You wrote:
>Couldn't find an OS/400 command that would copy a StmF to a StmF with add
>(append).
>e.g. something like: CpyStmf FromStmF() ToStmF() FileOpt(*Add)
CPYTOSTMF has a STMFOPT keyword which supports *ADD but it expects a QSYS.LIB
file as input.
One approach, short of a program to do this, is to start QSH and run cat to
concatenate the files into a third file and then rename it. Read the help
text in OpsNav (in the Java section) so you fully understand the behaviour of
cat. Something like:
cat file1 file2 > file3
rm file2
mv file3 file2
Don't want no Pengu around here!
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 / \ «»
«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
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.