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



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



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.