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 is the difference between COBOL2 AND COBOL390?

3032


How do you define a variable of comp-1 and comp-2?

1184


Explain how you can characterize tables in cobol?

1043


Name the sections present in data division.

1216


How you can read the file from bottom?

1127


How arrays can be defined in COBOL?

1189


What is the use of intialize verb?

1218


how to refer the data field?

2249


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1133


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

9066


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

1188


How are the next sentence and continue different from each other?

1274


What is inspect in cobol ?

1280


What is the Purpose of Pointer in the string?

1061


how do you define single dimensional array and multidimensional array in your cobol?

1074