On 2016-04-20, at 08:06, Nims,Alva John (Al) wrote:

> Looking at the same manual, I do not think it can be done "Automatically"  I 
> think the command you mention and/or one of the DBCS based subcommands (BIG5, 
> EUckanji, ...) has to be done first.
> 
> I would think that to do something automatically, you would have create a 
> program (REXX) that checks the file and invokes FTP to send the file after 
> initializing the setup within FTP.
>  
It can be worse than that.  Imagine I'm sitting at a non-z client connected to a
z server on which I'm not entitled to run a program (REXX), but I would like 
that
server to take whatever it finds, CP037, 1047, 500, perhaps even 819 and convert
it to UTF-8 for transmission to me.

I'm imagining something like the pax option -o"fromfiletag, to=UTF-8" described 
in
SA23-2280-02
z/OS UNIX System Services Command Reference

so, "SITE SBDATACONN=(fromfiletag,UTF-8)".  If pax can read the file attributes,
why can't FTP?  Should work as well for a PUT, even as FTP preserves RECFM, 
RECL, ...
when writing to an existing Classic data set.

-- gil

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

Reply via email to