My TSO session interactive send file to host pop-up uses IND$FILE to transfer files from the PC to the host. It transfers ASCII files fine but now I need to send a unicode file and there is no option to do that. Is there a TSO command to use on the ISPF screen to send a unicode file to the host? Thanks in advance.
You will need to use FTP or something other than IND$FILE to transfer the unicode data. Unless you get very lucky with your 3270 emulator vendor, IND$FILE generally does binary or text (ASCII-EBCDIC) transfers only.
FTP is available pretty much on any machine -- for Windows, you can bring up a command prompt and type in FTP -- or there are various products that can be installed to do FTP. You'll need the network name (or IP address) of the mainframe along with a user id and password that are valid for that machine (unless it allows anonymous ftp logons). You may have to specify the code page conversion, so you'll want to Google z/os 2.1 information center (or whatever release of z/OS you're running on) and look at the Communications Server bookshelf, IP User's Guide manual for the code page conversion choices (this will also give you the FTP subcommands that you can use).
Joined: 01 Sep 2006 Posts: 2025 Location: Silicon Valley
I have been working with UTF-8 files rather than unicode. Perhaps my setup will be of help:
Start FTP from Windows by specifying a bat file
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
The contents of the BAT file:
quote site en=mb
quote site mbd=(037,utf-8)
quote site trailingblanks
quote site ISPFSTATS
PUT MYPROG.PLI MYPROG
The target of the FTP has to be a RECFM=VB file because the source file has a multi-byte encoding scheme. And by 'has to be', I mean FTP will not allow it otherwise.
Most people do not have an FTP server on their Windows system, so you have to FTP from Windows to MVS.