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



Mel and Scott,

On 6/6/06, Mel Rothman <mel@xxxxxxxxxxxxxx> wrote:
Rick,

CPYTOIMPF with *PCASCII with a 65535 file containing only numerics (your first 
file, named
BAIRD) worked OK

you're way ahead of me.

Here is the command I used:

CPYTOIMPF FROMFILE(BAIRD) TOSTMF('/home/rothman/test.txt')  MBROPT(*REPLACE)
STMFCODPAG(*PCASCII) RCDDLM(*LFCR)

*LFCR?  I always use *CRLF  other than the obvious characters, is
there a difference?

still didn't work though

On 6/6/06, Scott Klement <midrange-l@xxxxxxxxxxxxxxxx> wrote:
I think *PCASCII is calculated based on the from CCSID.  Try specifying an
actual numeric codepage on the STMFCODPAG parm.  For example:

    CPYTOSTMF FROMMBR(/whatever) TOSTMF(/whatever) STMFCODPAG(819)

I tried both 819 and 1252 and still no luck.

btw, i'm on V5R3

I think i'm just going to bale and add an alpha field to the file and move on.

thanks to all,

Rick

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.