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 |
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.
comp-3 field occupy?
What is a SSRANGE and NOSSRANGE?
can we display comp-3 variables. if we want to display what we have to do . give me one example
how to crack cts interview apps? NOVEMBER 21 2010
What is sqlca and why is it needed in any cobol-db2 program?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
What is amode(24)?
If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....