View previous topic :: View next topic
|
Author |
Message |
dbamain
New User
Joined: 28 Jun 2005 Posts: 12
|
|
|
|
hai,
how to transfer a program from the pc to the mainframe(tso) using the option =6. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
You can use Option 6 to transfer file from PC to mainframe.
Follow the following steps
1 Go to option 6
2 Use Upload file option
3 Give Host file as your file PDS with Member and PC file as complete file path which you want to upload
4 Press OK
Your Pgm will be transferred into mainframe
Regards
Rupesh |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
From DOS prompt, pc pgm can be transferred to mainframe.
Put the file in C:drive
In dos prompt,give the following:
1. C:\ ftp port-id of mainframe
2. issue ur mainframe id and passwd
3. PUT pc-program-name 'mainframe ds name'
It will say :
port id OK
file transferred successfully
total bytes...bytes transferred/second
Then your program is transferred succssfully to mf. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Rupesh, I think you may have left out a couple of steps:
1. From ISPF option 6, enter WSCON. Enter the appropriate information on the "Initiate Workstation Connection" screen and then press ENTER. (You will, of course, need to have started your workstation agent -WSA.EXE).
2. Once the connection has been established, you will see the message "Connected" on the screen.
3. In order to transfer the data, you will have to leave ISPF option 6 and go to ISPF option 3.7 (Transfer).
4. Select option 2 to transfer data set. Fill in the appropriate information for the host dataset name, the workstation file name, the transfer option (To Workstation or From Workstation) and when finished, press ENTER.
5. You will receive the message "Transfer completed".
6. Exit out of ISPF option 3.7 and go back to option 6.
7. Enter WSDISCON to disconnect. You will receive the message "Disconnected". |
|
Back to top |
|
|
|