ftp for partition dataset file from pc to mainframe



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

ftp for partition dataset file from pc to mainframe

Postby jaggz » Fri Nov 19, 2010 12:22 pm

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.
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: ftp for partition dataset file from pc to mainframe

Postby jaggz » Fri Nov 19, 2010 4:34 pm

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.
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: ftp for partition dataset file from pc to mainframe

Postby dick scherrer » Sat Nov 20, 2010 1:12 am

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 . . . :?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ftp for partition dataset file from pc to mainframe

Postby jaggz » Sun Nov 21, 2010 11:40 am

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:
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: ftp for partition dataset file from pc to mainframe

Postby dick scherrer » Sun Nov 21, 2010 12:48 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ftp for partition dataset file from pc to mainframe

Postby enrico-sorichetti » Sun Nov 21, 2010 1:13 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: ftp for partition dataset file from pc to mainframe

Postby jaggz » Mon Nov 22, 2010 8:00 pm

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.
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: ftp for partition dataset file from pc to mainframe

Postby enrico-sorichetti » Mon Nov 22, 2010 8:05 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: ftp for partition dataset file from pc to mainframe

Postby NicC » Mon Nov 22, 2010 8:58 pm

Could you not just XMIT directly from one lpar to the other without having to go via a PC??
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: ftp for partition dataset file from pc to mainframe

Postby jaggz » Tue Nov 23, 2010 9:37 am

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.
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Next

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post