I ran into this same thing with some Ruby files I was working with. The only way I was able to consistently get the correct code page was to map a drive from my PC and then untar or unzip them from there. Running untar from the shell never worked consistently for me (and I get confused about when to use QSH and QP2TERM or PuTTY for that matter despite nice clear explanations from Scott Klement). So now, whenever I have any PASE installation, I unzip to the target folder in the IFS from Windows, *then* run whatever procedure or shell script that needs to be run after that from PASE.

Pete


Jon Paris wrote:
Well I now know how I got the wrong code page - I foolishly thought that tar would create the files in a unix-style code page but apparently not.

THe reason the IBM instructions didn't work properly was my failure to realize that QSH and QP2TERM aren't just two different ways of getting to the same thing. The instructions talked about QP2TERM - but I used QSH and apparently that doesn't correctly set the QIBM_CCSID environment variable! It defaults to the job which of course is page 37.

Now I have to find a way to delete all the old files so I can recreate them! For some reason the normal delete is insisting that there are files in the directories (there aren't) and I can't get rid of the things. I guess just deleting the files may do it - I hope so anyway or it will be a long day!

Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



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.