Codepage *PCASCII always works for us.  If that's not available on your system, 
you can get the PTF for some releases.

If you can't get it, go for the create the file first using a PC method.

On V3R3, we had one dummy file on the IFS that we used to create all others.

_________________
Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527

> -----Original Message-----
> From: midrange-l-admin@midrange.com
> [mailto:midrange-l-admin@midrange.com]On Behalf Of Carsten Flensburg
> Sent: Friday, December 06, 2002 9:11 AM
> To: midrange-l@midrange.com
> Subject: Re: CPYTOIMPF and Codepage
>
>
> Hello Joe,
>
> You could try and copy (CPYTOIMPF) to an ASCII codepage f.x.
> STMFCODPAG(819) - target a new streamfile to ensure that the file is created
> with the requested codepage.
>
> CPYFRMIMPF should work with the default FROMCCSID parameter *FILE.
>
> Best regards,
> Carsten Flensburg
>
> ----- Original Message -----
> From: "Joe Pluta" <joepluta@PlutaBrothers.com>
> To: <midrange-l@midrange.com>
> Sent: Friday, December 06, 2002 3:11 PM
> Subject: CPYTOIMPF and Codepage
>
>
> > ARGH!  I GIVE UP!
> >
> > I'm just trying to do a simple task: copy a file to a comma delimited file
> > on my IFS which I can edit using notepad.
> >
> > CPYTOIMPF doesn't translate the file.  It's on the IFS as EBCDIC with
> > codepage 37.  When I try to edit it, and Notepad brings the file up in
> > EBCDIC (lots of @ signs, unreadable text).
> >
> > I thought the from and to codepages of CPY looked promising.  I try CPY,
> > specifying to and from codepages, and lo and behold, the file shows up as
> > codepage 1252, but still in EBCDIC.  Same results with notepad.
> >
> > I'm at wit's end here.  All I want to do is to copy a database file to a
> > comma-delimited format, edit it with an ASCII text editor, and then copy
> it
> > back into the original database file.
> >
> > WHAT AM I MISSING?
> >
> > Joe
> >
> > _______________________________________________
> > 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.
> >
>
> _______________________________________________
> 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 ...

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.