Hi Team,I am trying FTP by following all possible methods. But when I put ip address/efglobe.com, it says Connection Timed Out.On this forum I read in Z/Os it is not available for Public, But is was a year old post, therefore I could dare to raise this question again.If YES, please tell me how?

If No, then please tell me is there any possibility to transfer files from PC to Fandezhi server and Vice-verse.

mainframer wrote:I am trying FTP by following all possible methods. But when I put ip address/efglobe.com, it says Connection Timed Out.On this forum I read in Z/Os it is not available for Public, But is was a year old post, therefore I could dare to raise this question again.If YES, please tell me how?

If No, then please tell me is there any possibility to transfer files from PC to Fandezhi server and Vice-verse.

No. The way to do it is to use FTP from z/OS, or to use the good old faithful and rather slow IND$FILE method, which is supported by about every emulator.

prino wrote:No. The way to do it is to use FTP from z/OS, or to use the good old faithful and rather slow IND$FILE method, which is supported by about every emulator.

Thanks for reply,

I tried FTP from CMD prompt and IND$file, CMD doesn't work(Time Out) and IND$file is very very slow, I mean It's so slow that I was not certain on getting result(transfer), I have a very small file, by the way how long it takes to transfer, in general?

And please let me know how to use FTP from Z/Os, I am new to this and want to use it.Prino, your input will be highly appreciated.

prino wrote:No. The way to do it is to use FTP from z/OS, or to use the good old faithful and rather slow IND$FILE method, which is supported by about every emulator.

I tried FTP from CMD prompt and IND$file, CMD doesn't work(Time Out) and IND$file is very very slow, I mean It's so slow that I was not certain on getting result(transfer), I have a very small file, by the way how long it takes to transfer, in general?

And please let me know how to use FTP from Z/Os, I am new to this and want to use it.

As I wrote, FTP'ing with an FTP Client to the FanDeZhi system is no longer possible.

What you can do, is set up an FTP Server on your Windoze/Linux/whatever box (I use Filezilla Server on an XP box) and start the FTP transaction on z/OS from the READY prompt (or option 6) towards your server. If you do not have a static IP address, you can get a semi-static one from DynDNS.com, or you can use one of the many sites that tell you your current IP address, like IP Chicken or utrace. You probably also have to set up your modem/router to port-forward port 21.

FTP is pretty fast, just transferred a 1.7Mb XMITfile in around 14 seconds. IND$FILE will take rather a lot longer, I haven't tried it. (You can speed up IND$FILE a little bit by using the maximum blocksize of 32,000 bytes)

Going either way it's very advisable to use TRSMAIN (or AMATERSE for later versions of z/OS), on the z/OS side, and terse.exe, on the PC side, (from tersepc.zip in the files section of Hercules-390 group on Yahoo! - you need to be a member of the group to access the files), to compress the files before FTP'ing them.

To convert datasets to XMIT format, you can use the command PDS2XMIT as a line command in the DSLIST (3.4) screen - despite the name, it also handles sequential datasets. You can probably also use it on PDSE's, but I don't think any of the PC based tools for extracting XMIT files can handle them! The name of the dataset created by PDS2XMIT is the name of the original, suffixed with .XMIT - if the original name is too long, it will not work! Note that there are no PC tools available to handle ISPF packed data, so make sure that your PDS members or dataset(s) are saved with the "PACK OFF" option!

To TERSE a dataset on z/OS, you can use the command TERSE as a line command in the DSLIST (3.4) screen. It appends .TER to the original dataset name, and, unlike PDS2XMIT, it verifies that the new name will not exceed 44 characters. UNTERSE unpacks a tersed dataset. If the dataset had a last qualifier of .TER, it will be replaced by .U, if not, it appends .U. You can use the following job to TERSE datasets in batch, to UNTERSE them in batch, use a parameter of 'UNPACK' and the correct LRECL and BLKSIZE for the output dataset.

Note that TRSMAIN will work on any z/OS system, but AMATERSE, the officially IBM-supported version, only works on z/OS 1.8(?) and above. The "SET BLOCK='0'" statement should be used for systems that use System Determined Blocksize.

Finally, to un-XMIT files on the PC (make sure they are transferred as BINARY!), you can use

Neil Johnston-Ward's excellent, though no longer supported, XMIT Manager, which handles both PDS'es and sequential datasets, or

I have no words to express my gratitude for your previous post. I felt total devotion of time, just for me, that's from a Genius(I must say).Without spoiling the quality of your post, I would just like to copy:

"I can no other answer make, but, thanks, and thanks." - W. S

Now I can understand the Success of Dezhi Mainframe.Now I am going to try step-by-step.

Just need to clear few doubts, I am giving my steps for better understanding.

1)Selected a PDS and created/converted to XMIT.(successful)2)Tersed the Dataset(XMITED one, a.b.c.ter).(successful)3)Before Un-terse, the transfer (fom M/F to PC was not made), can you please let me know on this, I have Filezilla Client as well as server and it is showing connection at 127.0.0.1 with port=21.( )

Just need to clear few doubts, I am giving my steps for better understanding.

1)Selected a PDS and created/converted to XMIT.(successful)2)Tersed the Dataset(XMITED one, a.b.c.ter).(successful)3)Before Un-terse, the transfer (fom M/F to PC was not made), can you please let me know on this, I have Filezilla Client as well as server and it is showing connection at 127.0.0.1 with port=21.( )

Am I going on right path?

You're getting there...

The 127.0.0.1 address is the admin address for FileZilla Server [FS]. In FS you will have to set up a user, with a password and a home-directory.

Now comes the harder part, your IP address. If you have a static one, you're lucky, you can simply go into ISPF option 6, enter

with xxx.xxx.xxx.xxx your static IP address (obtained from your ISP, or via IP Chicken). With a dynamic address you can do the same, but you might have to enter a different address every day. It's much easier to get a free domain from DynDNS, and use their DynDNS Update Client to give yourself a more permanent address, like "whahoopie.homeftp.net" (you can choose the "whahoopie", DynDNS provides a wagon-load of domains to attach it to) Using this method you can use

(-b tells terse to do a binary unterse, all programs that process XMIT files on the PC expect them to be in EBCDIC) and use your favorite un-XMIT tool to get the contents out.

One warning, you may have to fiddle with code pages, my Windoze CMD window works with code page 437, FanDeZhi seems to use 1047 and the two seem to be working pretty well together, if you use another PC code page, you may have to specify it on the terse command - '[', ']', '!', '|' and '¬' are usually the most problematic characters...

Hmm..Ok, I followed your steps, very carefully, did not miss anything.I thought It will work and guess what, yes, It WORKED...!!!, the files that I wanted were on my PC.Great. ... Still I am facing some issue in Untersing the files, getting error: code more than Zero , i.e 16 ,I am running the command (on 3.4 or ready command line : terse userid.filename.ter filename.xmit -b,but I think there I need to do some homework, on my own. I will check it carefully Once again, may be more. I love this Technology,

Thank you for such a wonderful Post. , I have never seen on any forum.Garry

mainframer wrote:Hmm..Ok, I followed your steps, very carefully, did not miss anything.I thought It will work and guess what, yes, It WORKED...!!!, the files that I wanted were on my PC.Great. ... Still I am facing some issue in Untersing the files, getting error: code more than Zero , i.e 16 ,I am running the command (on 3.4 or ready command line : terse userid.filename.ter filename.xmit -b,but I think there I need to do some homework, on my own. I will check it carefully Once again, may be more. I love this Technology,

Thank you for such a wonderful Post. , I have never seen on any forum.

To unterse files on z/OS, you just use (in 3.4) the line-command UNTERSE. It will, if present, replace the final .TER qualifier with .U, or just append .U if he final qualifier is not .TER.

The terse userid.filename.ter filename.xmit -b is purely to be used to unterse files on the PC, and then only if those files need to be in binary, such as XMIT files. If you TERSE a pure text file (or PL/I-COBOL-REXX-etc source) on z/OS, you do not need the -b option on he PC, but you might need either "-eNNN -aNNN" or "-lCTY". FWIW, if you transfer small files, going through the process of XMIT + TERSE might not even be required, you can just FTP them.

Hi, I installed FileZilla server and changed my linksys router to forward port 21 to my PC IP and was able to FTP to my PC and download a file ...was going to try some more FTPs upload/download but my TSO/ISPF session is timing out or something ? I'm using Bluezone Mainframe Display. I thought it might be the port forwarding but I changed the router back and my session is still timing out. My session is disconnecting by leaving me logged on and when I try to reconnect it shows I'm already logged on . . .then have Logoff your userid and log my session off . . .any ideals what would cause this ? Never had this problem with the Bluezone software before

Rick - Fandezhi does not use session time out. I've had TSO sessions run for hours at the READY prompt and days when running a process that writes a line to the terminal every hour. I've never heard of Bluezone Mainframe Display before. It seems to me if you were running OK until you started the FTP client, the port forwarding in your router shouldn't have anything to do with whatever your problem is.

I tried the Filezilla FTP server years ago, but didn't like the way it ran and completely uninstalled it. The machine I installed it on was retired several years ago when its power supply gave up the ghost. I won't touch Sourceforge any more because they have such a terrible reputation for bundled malware/crapware, so I won't try to install a current version.

I get adequate performance with IND$FILE. Not great, and certainly not what you should get with a proper FTP linkup, but adequate for my purposes.