Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
PC to Host for unicode file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Tom Steiner

New User


Joined: 14 May 2016
Posts: 3
Location: USA

PostPosted: Mon May 16, 2016 10:38 pm    Post subject: PC to Host for unicode file
Reply with quote

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.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: East Dubuque, Illinois, USA

PostPosted: Mon May 16, 2016 11:36 pm    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
Tom Steiner

New User


Joined: 14 May 2016
Posts: 3
Location: USA

PostPosted: Mon May 16, 2016 11:39 pm    Post subject: Reply to: PC to Host for unicode file
Reply with quote

Thanks for your response - where can I find ftp (or equivalent) to run?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: East Dubuque, Illinois, USA

PostPosted: Tue May 17, 2016 12:36 am    Post subject:
Reply with quote

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).
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2088
Location: Silicon Valley

PostPosted: Tue May 17, 2016 9:33 pm    Post subject: Reply to: PC to Host for unicode file
Reply with quote

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
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Dir1>ftp -s:c:\\myftp.BAT


The contents of the BAT file:
Code:
open myMVS.acme.COM
PEDRO
mypassword
quote site en=mb
quote site mbd=(037,utf-8)
quote site trailingblanks
quote site ISPFSTATS
LCD C:/my/directory/PLI
CD 'PEDRO.MY.PDS.VB'
PUT MYPROG.PLI     MYPROG
QUIT
EXIT


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.
Back to top
View user's profile Send private message
Tom Steiner

New User


Joined: 14 May 2016
Posts: 3
Location: USA

PostPosted: Wed May 18, 2016 7:06 am    Post subject: Reply to: PC to Host for unicode file
Reply with quote

Thank you both very much!!!!!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us