IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

file transfer


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dbamain

New User


Joined: 28 Jun 2005
Posts: 12

PostPosted: Fri Aug 19, 2005 3:14 pm
Reply with quote

hai,

how to transfer a program from the pc to the mainframe(tso) using the option =6.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Fri Aug 19, 2005 3:25 pm
Reply with quote

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
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Fri Aug 19, 2005 3:44 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Aug 19, 2005 6:34 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top