× 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.



The Stream file code page should be *PCASCII, unless you're wanting 37 on
purpose.

Delete the *STMF and try it again.
Art

On 10/24/05, Bob O. <otis_the_cat@xxxxxxxxxxx> wrote:
>
> Worked good except that the output to the text file looks like this:
>
> o:d-uuoOOAEO:Ua@
> *EAAUAAA@aO:eO:aAOAa:aO:Aa:EOA:AAUaOA:AAAA:OOd-o`d-n`nuuo:
>
> Here is the command I used:
>
> From file member or save file . >
> '/QSYS.LIB/TGC400.LIB/PDFRGST2.FILE/PDFRGST2
> .MBR'
> To stream file . . . . . . . . . >
> '/PAPERFLOW/XFLOW.TXT'
>
> Stream file option . . . . . . . > *REPLACE *NONE, *ADD,
> *REPLACE
> Data conversion options . . . . > *NONE *AUTO, *TBL,
> *NONE
> Database file CCSID . . . . . . > *FILE 1-65533,
> *FILE
> Stream file code page . . . . . > 37 1-32767, *STMF,
> *PCASCII...
> End of line characters . . . . . > *CR *CRLF, *LF, *CR,
> *LFCR...
>
> ----------------------------------------------------------------------
>
> 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.
> >
> --
> 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.
>
>


--
Art Tostaine (GMAIL)
CCA, Inc.
Jackson, NJ 08527

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.