Page 1 of 2

ftp for partition dataset file from pc to mainframe

PostPosted: Fri Nov 19, 2010 12:22 pm
by jaggz
Hi ,

I have extracted all the 22 PDS member from Mainframes to my Local directory(PC). Is it possible to FTP all the 22 PDS member from PC to mainframe(SYS1.COMP) at one shot.

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Fri Nov 19, 2010 4:34 pm
by jaggz
to add the both the LPARS are standalone. target system has FTP, and TCPIP is available on the source system. How to initiate the connection between two LPARS via FTP.

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Sat Nov 20, 2010 1:12 am
by dick scherrer
Hello,

If you are trying to copy files from the pc to the mainframe, why mention multiple lpars?

Simply copy the pc data to the mainframe.

Possibly there is something i am missing . . . :?

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Sun Nov 21, 2010 11:40 am
by jaggz
Dick,

Here we have two different LPARS(Standalone). Extracting the pds members from one LPAR1 to PC is done. I wanna upload the same PDS members(already downloaded from LPAR1) to LPAR2. The target LPAR 2 already has a PDS member DATASET to recieve this members. My concern here is that instead of uploading a member one by one, can we upload it at one shot.

To make it more precise :

Step 1:
1st lpar - SYS1.COMPILER(23 MEMBER) is already Downloaded to PC.

Step 2 : Can I upload the extrcted Member to LPAR 2 at one shot.(I mean refraining one by one).

Copying the PC data was a fine answer, but I am not able to understand the concept of simply copying the PC data to mainframe. Probably this time you can answer me in more elaborate manner. :shock:

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Sun Nov 21, 2010 12:48 pm
by dick scherrer
Hello,

Probably this time you can answer me in more elaborate manner.
Probably not. . . Without making guesses (which i prefer not to do) only generalities are possible - you provide very little detail. . . .

Does lpar2 have an ftp service? If it does not, you cannot use ftp to upload data to that system. Does the system have shared dasd? If yes, simply use the ftp service on lpar1.

Most tcp/ip client products (your terminal emulator most likes is connected via tcpip) have a Windows ftp client. To upload multiple files, highlght them and send them to the mainframe.

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Sun Nov 21, 2010 1:13 pm
by enrico-sorichetti
some time ago I gave You some advice about mget
why not investigate Yourself a bit, guess what ? mput

try to learn from previous suggestions and progress a bit by Yourself

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Mon Nov 22, 2010 8:00 pm
by jaggz
Enrico,

I was able to do it one shot.

Let the other forum members too know it,

to download all the Pds MEMBERs from SYS1.COMPILER
step 1) CMD => FTP LPAR1 IP => CD SYS1 => CD => COMPILER => MGET * => Everything will be downloaded to your home directory.

To upload all the members to LPAR 2.

step 1) CMD => FTP LPAR2 IP => CD . .( To come out of your home directory) => CD ..(returning to Null value) => then CD "SYS1.COMPILER"(Same convention used as LPAR1) => now our working directory changes to "SYS1.COMPILER" => MPUT * SYS1.COMPILER => Then say Y to whichever Pds member we wanna upload it.


Note : This method can be applied to Standalone LPAR environment.

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Mon Nov 22, 2010 8:05 pm
by enrico-sorichetti
the last remark about standalone lpar is completely irrelevant

the <things> relevant are
a properly defined TCP/IP environment
a properly defined FTP environment
the proper dataset access authorizations granted
that' s all!

and You do not even have to know anything about lpar setup/naming,
all You need is a valid/correct tcp host name

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Mon Nov 22, 2010 8:58 pm
by NicC
Could you not just XMIT directly from one lpar to the other without having to go via a PC??

Re: ftp for partition dataset file from pc to mainframe

PostPosted: Tue Nov 23, 2010 9:37 am
by jaggz
NicC,

Even I would Love to XMIT
If i am not wrong the XMIT is applicable only when JES is shared between two different LPARS. Here in our shop the two LPARS have a seperate JES.

Enrico,

I agree your comments. Much appreciated.