Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Transfer from mainframe 1

Status
Not open for further replies.

swissbo

Programmer
Sep 19, 2008
1
GB
I am using myEXTRA!Enterprise 7.11. I need to transfer a file from the main frame and save it on a PC.
Session and LOGON to the mainframe "Ready" prompt is fine, but when I use the command from the attachmate help panels --> FNMF.FileTransferScheme = "Text Default", I get the "No such Method or property" error.
The other methods I use are
FNMF.FileTransferHostOS = 1
FNMF.ReceiveFile "U:\Chafes_Active.csv", "CHAFES.ACT.TXNS"

H E L P!
Thanks you all.
 
Dim objExtra As New EXTRA.ExtraSystem
Dim strFileTo As String
Dim strFileFrom As String

objExtra.ActiveSession.FileTransferScheme = "Text Default"
objExtra.ActiveSession.FileTransferHostOS = 0

objExtra.ActiveSession.ReceiveFilE(strFileTo, strFileFrom, 0)

0 is with transfer prompt
1 without.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top