Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to transfer the file from pc to mainframe??

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pertinent COBOL commands?

3105


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1954


Write a program to enter and display the names of students in a class using the occurs clause.

1154


Mention the guidelines to write a structured cobol program?

1028


In COBOL programming, what is PERFORM? What is VARYING?

1087


Give some examples of command terminators?

1195


what is the use of outrecord?

2153


How do define dynamic array in cobol.

1082


how to move the records from file to array table. give with code example

2631


Explain how to differentiate call by context by comparing it to other calls?

1128


what is difference between cobol and cobol/400

22734


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1118


What is the usage of comp fields in cobol?

1130


) How do u handle errors in BMS macro

1958


Whats the difference between search & search ALL?

6364