Nafez, as I had a similar case just yesterday I may add the following:
use a 'quote site' statement to supply attributes for the receiving dataset like SPACE, RECFM, LRECL, BLKSIZE. Windows files quite often have records of varying length, so correspond to a VB dataset on z/OS. You can navigate through the qualifiers of an MVS dataset using a 'cd' statement. Example: you have a dataset 'NAFEZ.TSO.DATA'. If you are in an interactive ftp session you could enter cd nafez And you would get a reply along the lines of 'Current directory is NAFEZ.' If the next thing you do is cd tso you will find yourself at 'NAFEZ.TSO' and so on and so on. So from the look and feel it is as if you were traversing a directory tree in either Unix or Windows. Note that this applies to PDS datasets as well. If 'NAFEZ.TSO.DATA' were a PDS then cd'ing down to the last qualifier would make the members available as if they were individual files. To reiterate what Gadi wrote: easiest will be to fully qualify the dataset name. Add a 'quote site' to it and you have control over the resulting allocation. quote site cyl pri=10 sec=20 recf=vb lrec=27994 blks=27998 Put PC_File_Name 'MVS.FILE.NAME' --- Hope this helps Robert Bardos Ansys AG, Zurich, Switzerland > -----Ursprüngliche Nachricht----- > Von: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] > Auftrag von nafez > Gesendet: Montag, 30. April 2007 09:25 > An: [email protected] > Betreff: FTP to TSO > > > Hi; > > how can I FTP from windows to MVS(TSO) session? When I > FTP it goes to USS > directory, thanks for help. > > Regards, > > Nafez Albesheeti > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

