how to transfer the file from pc to mainframe??
Answers were Sorted based on User's Feedback
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 |
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 |
what is the advantage of using redefines instead of delaring the variables ?
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
Explain fixed length record in cobol? with suitable example
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
can we print comp 3 stmts how ?
Can we move X(7) to S9(7) COMP?
Can the OCCURS clause be at the 01 level?
can we use the two 01 level in file discription ?
WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?