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




Hi, I'm using a 3rd party software to get an ascii file from another system directly into an AS400 file. However, when I use dsppfm I only see a highlighted "box" of the data with a couple of &'s scattered in the highlighted box. How do I convert the file so that dsppfm views it correctly?

The way I'm reading this, your third party software is doing the whole job, and it's not converting it properly. So the question is... How do you get the 3rd party software to do proper translation?

There's no way we can answer that, since you haven't even told us what the 3rd party software is. (Even if you did, there's a fair chance that we're not familiar with the software!) You might try contacting the vendor of the 3rd-party software, to see if this is something they can do.

If they can't... You can do translation by copying it from the original file to a different file using the CPY command. For example:

    CPY OBJ('/qsys.lib/mylib.lib/orig.file/orig.mbr')       +
        TOOBJ('/qsys.lib/mylib.lib/target.file/target.mbr') +
        FROMCCSID(*PCASCII) +
        TOCCSID(*OBJ) +
        DTAFMT(*TEXT)

You should pre-create the destination file with the appropriate EBCDIC CCSID.

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.