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 is the different between index and subscript?

3 Answers  


Minimum how many Number of Paragraphs are there in ID- Divison?

7 Answers   IBM,


What are different file OPEN modes available in COBOL?

4 Answers   Sun Life,


How you can delete a record from a ps file in cobol?

1 Answers  


if someone is using my file,how can i find which user id is using?

4 Answers  






How to read records from flat file in reverse order through COBOL program?

14 Answers   Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,


When would you use in-line perform?

2 Answers  


i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19

2 Answers  


Difference between file status codes 02 and 22.... since both are for duplicate key detection.

1 Answers  


BY seeing a program how can we say that it is static call or dynamic call

5 Answers   CGI,


can we declare occurs in 01 level?

2 Answers   Temenos,


How do you do in-line PERFORM?

4 Answers   Accenture,


Categories