Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > File Transfer
  New Posts New Posts RSS Feed - FTIMPORT no errors and no data
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedFTIMPORT no errors and no data

 Post Reply Post Reply
Author
Message
jkristof View Drop Down
Newbie
Newbie


Joined: October 14 2014
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jkristof Quote  Post ReplyReply Direct Link To This Post Topic: FTIMPORT no errors and no data
    Posted: October 14 2014 at 5:47am
I'm using FTIMPORT to import an Excel 2010 spreadsheet. I'm using the complete path the to spreadsheet. I get this output when I call the routine
Converting TB.xls!!A3 from Excel format for upload... done.
But nothing is loaded. I tried with .csv and it works fine. I'd rather update the .xls directly. I only used the range of A3 as that is the upper left cell of the range I want to import. I do not know before hand how many rows I'm going to need to import.
Here is my code:
REMOTE.FILE = FNAME:"!!A3"
HOST.FILE = "RE-AUTO.INPUT"
ATTRS = "-,-,-,-,1,-,-,-,-,-,2,4,3"
CONVERT "," TO @VM IN ATTRS
HDR.SKIP = 2
ID.PREFIX = ""
ID.START = 1
ITEM.COUNT = 0
BYTE.COUNT = 0
STAT = ""
PRINT @(0,22):
CALL FTIMPORT(MODE,REMOTE.FILE,HOST.FILE,ATTRS,HDR.SKIP,ID.PREFIX,ID.START,ITEM.COUNT,BYTE.COUNT,STAT)
JK
Back to Top
jkristof View Drop Down
Newbie
Newbie


Joined: October 14 2014
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jkristof Quote  Post ReplyReply Direct Link To This Post Posted: October 14 2014 at 5:48am
MODE = "KERMIT,OVERLAY,GENERATE"
JK
Back to Top
jkristof View Drop Down
Newbie
Newbie


Joined: October 14 2014
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jkristof Quote  Post ReplyReply Direct Link To This Post Posted: October 14 2014 at 6:03am
Never mind. Forgot the ":" at the end of the cell.
JK
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.