Take a look at the -F (uppercase) flag.  It's supposed to get the info from the 
file, but I've not actually verified that it does so.

--
 
Donald Grinsell
State of Montana
406-444-2983
[email protected]

"Travel is fatal to prejudice, bigotry, narrow-mindedness, all foes of real 
understanding.  Likewise tolerance, or broad wholesome, charitable views of men 
and things cannot be acquired by vegetating in one little corner of the earth 
all one's lifetime."
~ Mark Twain

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: Friday, August 08, 2014 10:27 AM
To: [email protected]
Subject: Code Pages (was: Convert to base64 help)

The iconv utility requires that both the "-f" and "-t" code pages be supplied 
as parameters.  Is there any similar utility that allows omitting the source 
page, and which will determine it from:

o the tag, if the file is tagged

o The locale variables in the current environment.

(Or can it be scripted?)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to