Piping fails in locale other than English

Login or Register to Reply

Thread Tools Search this Thread
# 16  
Thanks fpmurphy! I'm glad I finally know what's going on.

I also found some additional info:

blog.SOAL.org Writing Portable Shell Scripts on z/OS UNIX

The suggestion here is to create a separate script that will detect the codeset and convert IBM-1047 script into that codeset.

I think I already know the answer, but is there any way (in good practice) to make this work from one script?
# 17  
Originally Posted by fpmurphy
The z/OS shell expects an EBCDIC environment.

Wow. I had no inlking that EBCDIC was actually required by anything anymore...

Thank you for the correction.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
convert english to chinese
Hi Experts, Can anyone help me to convert a english input into chinese in a bash script. help would be highly appreciable. thanks, Deepak... Shell Programming and Scripting
Shell Programming and Scripting
LANG=C not English?
On Ubuntu 7.04, why would the "C" LANG parameter not be English: $ LANG=C locale LANG=C LANGUAGE=he_IL:he:en_GB:en LC_CTYPE="he_IL.utf8" LC_NUMERIC="he_IL.utf8" LC_TIME="he_IL.utf8" LC_COLLATE="he_IL.utf8" LC_MONETARY="he_IL.utf8" LC_MESSAGES="he_IL.utf8" LC_PAPER="he_IL.utf8"...... Ubuntu
Please decode in English
Hello: Can anyone please decode this script in English. I have also made some comments which I know.. The actual script does not have one comment also.. #! /bin/ksh . odbmsprd_env.ksh #setting the env.. echo $0 Started at : `date '+%d-%m-%Y %H:%M:%S'` # what's echo $0 ...... Shell Programming and Scripting
Shell Programming and Scripting