|
I got it working. Used *REPLACE, *AUTO, *FILE, *STDASCII, and *CRLF
----------------------------------------------------------------------
From: "Bob O." <otis_the_cat@xxxxxxxxxxx>
Reply-To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Subject: CPYTOSTMF Confusion
Date: Mon, 24 Oct 2005 08:29:36 -0500
> I don't get it... Why won't this command work? I am trying to
>copy a
> physical file
> with one field (108 Characters long) into a simple text file.
>The TOSTMF
> is a folder
> on the IFS. The error I get is:
> CPYTOSTMF
>FROMMBR('/QSYS.LIB/TGC400.LIB/PDFRGSTR.FILE/PDFRGSTR.MBR')
> TOSTMF('/ACOM/EDOCS/PAPERFLOW/TESTFLOW.TXT')
> STMFOPT(*REPLACE) Object is not a file or is a
>file with attributes not supported by
> this command.
> Object not copied. Object is
>/QSYS.LIB/TGC400.LIB/PDFRGSTR.FILE/PDFRGSTR.MBR.
> Object is not a file or is a file with attributes not supported
>by
> this command.
> Object not copied. Object is
>
>/QSYS.LIB/TGC400.LIB/PDFRGSTR.FILE/PDFRGSTR.MBR.
> --
>This is the Midrange Systems Technical Discussion (MIDRANGE-L)
>mailing list
>To post a message email: MIDRANGE-L@xxxxxxxxxxxx
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/mailman/listinfo/midrange-l
>or email: MIDRANGE-L-request@xxxxxxxxxxxx
>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.