Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 7904
Location: Bellevue, IA

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: 7904
Location: Bellevue, IA

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: 2019
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 Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us