how to transfer the file from pc to mainframe??

Answers were Sorted based on User's Feedback



how to transfer the file from pc to mainframe??..

Answer / ajay ahuja

Through FTP (File Transfer Protocol) !!!!!


Also Manually we can do this ==>

1. On menu options use "Transfer" option (Host File
Transfer).

2. Use host system TSO (click radio Button).

3. Specify Host file name and member (if want to store in
PDS member). Remember, file name ur specifying must be
existing one and of same record length as of PC file. say
ABC.XYZ.FILE

4. At Browser "specify the path of file to be copied from
PC to Mainframe. then Apply and OK.

5. Go to ISPF Screen, option =6.

6. again go to option "Transfer", underneath "Send". The
PC file will be copied to Mainframe file (ABC.XYZ.FILE).


Similarly if one want to Transfer from Mainframe to PC,
same process can be followed Except use "Receive" in point
6.

Note: Manually transfer will be used for small files only
coz its time consuming.


I hope this will help u all.

Is This Answer Correct ?    2 Yes 0 No

how to transfer the file from pc to mainframe??..

Answer / richard

how do you write a vbscript to do this using aviva
interface or eiconbasic macro..none work right now

Sub Main()

rc% = session.connect(false)
msgbox rc%
rc% = session.hostname
Msgbox rc%


pcfile = "c:\Documents and Settings\e454221
\Desktop\testblk.txt"

FileTransfer.PCFIle = pcfile
FileTransfer.scheme = "SendTXT_TSO"
FileTransfer.hostfile = "e454221.testxfer.clist"
rc% = FileTransfer.send(FALSE)
msgbox rc%
rc% = filetransfer.status
msgbox rc%

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What are subroutines ? and how do we pass data to the sub routines?

2 Answers   Xansa,


Define static linking and dynamic linking.

0 Answers  


What is the LINKAGE SECTION used for?

4 Answers  


What is an in-line perform ?

4 Answers   Accenture,


i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

7 Answers   CTS,






What is cobol?

0 Answers  


)what is retrieve?

1 Answers   IBM,


COMP-3 field occupy ?

8 Answers  


how to create temporary data set in jcl? what is the use?

3 Answers   Cap Gemini, Temenos,


What does EXIT do ?

3 Answers   Deloitte,


What is a scope terminator give example?

0 Answers  


how many divisions are there in cobol

3 Answers   ADP,


Categories