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




I don't know.

When I do the CPYTOIMPF command I get a file with a code page of 37 in the
IFS.

When I do the CPY command and specify *PCASCII, I get a readable file as
long as I specify *TEXT for the DTAFMT parameter.  I have to do this
because the IFS file is in EBCDIC.  If the IFS file was in ASCII, then I
would not need this.  Either way, the file copies, just with the *BINARY I
get a garbage file on the PC.

Mark





                                                                                
                                     
                    rob@dekko.com                                               
                                     
                    Sent by:                   To:     MIDRANGE-L@midrange.com  
                                     
                    owner-midrange-l@mi        cc:                              
                                     
                    drange.com                 Subject:     Re: QNTC            
                                     
                                                                                
                                     
                                                                                
                                     
                    06/01/01 02:52 PM                                           
                                     
                    Please respond to                                           
                                     
                    MIDRANGE-L                                                  
                                     
                                                                                
                                     
                                                                                
                                     





What am I doing wrong?
<snip>
When copying files just specify *PCASCII in the TOCODEPAGE parameter when
copying to a /QNTC system.
<endsnip>

CPYTOIMPF FROMFILE(ROB/SPOOL) TOSTMF('/rob/spool.txt') RCDDLM(*CRLF)
CPY OBJ('/rob/spool.txt') TODIR('/qntc/rob/qtemp') TOCCSID(*PCASCII)
CPDA1CB Message . . . . :   An equivalent encoding scheme could not be
found.
Cause . . . . . :   There is not an equivalent *PCASCII encoding scheme
  defined for the coded character set identifier (CCSID) 819.


Rob Berendt

==================
A smart person learns from their mistakes,
but a wise person learns from OTHER peoples mistakes.







+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.