- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-17-2009 05:33 AM
I've written a VI job to import new sales orders, which runs via command line. Where are errors (or other results) stored / presented? I'd like to have my triggering program return any errors (or an indication of success, if one is available).
Thank you,
Mike
Solved! Go to Solution.
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-17-2009 06:18 AM
--------------------------------------------------------------------------
You have enemies? Good. That means you've stood up for something in your life.
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-17-2009 01:00 PM
--------------------------------------------------------------------------
You have enemies? Good. That means you've stood up for something in your life.
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-17-2009 02:27 PM
BigLouie wrote:
Note that this log file cannot be opened by Notepad or WordPad. A gentleman by the name of Slade developed a way to read the file and have it sent to you. It was posted on the old Sage Talk. Maybe some of the old timers remember how.
I assume you're referring to the M4T file with the same name as the VI import job. I had overlooked it until your previous post, after which I noticed that it was only semi-legible in notepad. I'll see if one of my more programming-savvy partners can parse the file.
Thank you.
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-22-2009 07:45 AM
You can use the following perform logic in this thread to create a text file that is legible.
Using MAS200 v4.2 & MAS90 v4.2, FRx (w/Report Server), FRx Webport, & F9
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-22-2009 07:49 AM
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-22-2009 07:55 AM
No problem.
It is the process BL mentioned that was created by Slade. We use it on a daily basis.
Don't forget to mark solved questions so others know there is a solution for the question.
Using MAS200 v4.2 & MAS90 v4.2, FRx (w/Report Server), FRx Webport, & F9
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 02:10 PM
When I attempt to use your PL file, I get returned an Error #14: Invalid I/O request for file state on Line 0007.
It does create the .log file, but does not export the log to it. Any ideas?
My .PL is:
log_file$="C:/Users/john.smith/Desktop/Export.log"
erase log_file$,err=*next
serial log_file$
open (hfn)log_file$
log_chn=lfo
lock(log_chn)
read (59,key="",dom=*next)
read record (59,end=*next)rec$; translate rec$," ",sep; write record (log_chn)rec$; goto *same
close (log_chn)
exit
Thanks!
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-15-2010 05:50 AM
Using MAS200 v4.2 & MAS90 v4.2, FRx (w/Report Server), FRx Webport, & F9
Re: Location of Visual Integrator import (error) log?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-15-2010 09:17 AM
Kemp, good idea! I tried it placing the .log file in the textout folder, and I get the same results. Which folder did you put the .pl file in?
Thanks!


