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



Thanks for your help, Rich.

I'm a little confused -- I guess the PTF numbers would help.

I'm on V4R5.  CPYTOIMPF doesn't have a STMFCODPAG parameter, but CPYTOSTMF
does.  I guess you're saying that the PTF adds the STMFCODPAG parameter to
the CPYTOIMPF command.  I'm not sure what CHGDMDDFT is, unless it's a parm
on a later version of the command.  I've scanned the iSeries support site
and have not been able to find the PTF's.  If you know the PTF it would be a
huge help.

Much thanks...

-Jim

-----Original Message-----
From: rich herdman [mailto:rherdman@columbus.rr.com]
Sent: Monday, November 26, 2001 4:23 PM
To: midrange-l@midrange.com
Subject: Re: CPYTOIMPF and ASCII


Are you running V5R1 or an earlier version?  To fix this takes a PTF on V4R4
or V4R5, but is standard on V5R1.

There is a parm called STMFCODPAG which lets you specify the
code page of the *IFS file you want to create.  You can specifiy *PCASCII,
*STDASCII, or various other options.

We download several files for import into Foxpro DOS, and we have to do a
CHGDMDDFT on the CPYTOIMPF command every time we upgrade to specify
STMFCODPAG(*PCASCII) for all to come out in ASCII.

Let me know if you need those PTF's or if you have any other questions.


On Mon, 26 Nov 2001 16:05:51 -0600, Jim Damato wrote:

>I think I'm missing something pretty basic on this one.
>
>We used to do a lot of PC downloads through shared folders.  I've always
>assumed that the CPYTOPCD command did an EBCDIC to ASCII conversion.  Now
we
>want to start downloading through the IFS, mostly because CPYTOIMPF is so
>cool.  In my first experiments I've found that I've got very messy data.
>One of our PC programs interprets the files nicely as EBCDIC, and Excel
>definitely can't cope.
>
>Do CPYTOIMPF and CPYTOSTMF produce EBCDIC files, and, if so, is there an
>easy way to convert them?
>
>-Jim
>
>James P. Damato
>Manager - Technical Administration
>Dollar General Corporation
><mailto:jdamato@dollargeneral.com>
>_______________________________________________
>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.
>


Rich Herdman
email: rherdman@columbus.rr.com
www:  http://home.columbus.rr.com/herdman/

"It never does to leave a live Dragon out
of the equation." - Bilbo Baggins, 'The Hobbit'


_______________________________________________
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 thread ...

Follow-Ups:

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.