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

i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..

5 Answers   IBM,


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

0 Answers  


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

1 Answers   Syntel,


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

2 Answers   IBM, Wipro,


We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.

1 Answers  






Can we use icetool in cobol program?

3 Answers  


copy 100 records without using ibm utilities

3 Answers  


How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

5 Answers   TCS,


What is the default value(s) for an initialize and what keyword allows for an override of the default?

0 Answers  


how we separate the cobol cics statements from cobol&cics programming?

1 Answers   Valtech,


can we read in input the file with a variable length ? please , how ..could you help me ?

3 Answers   EDS,


What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


Categories