Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Data & Imports Forums - T-SQL & Queries
Forum to discuss general T-SQL questions and help with queries related to SalesLogix data. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to T-SQL & Queries | New ThreadView:  Search:  
 Author  Thread: Scribe Error
Ian Fitzpatrick
Posts: 146
 
Scribe ErrorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 May 08 3:16 PM
I'm using the Scribe Console to schedule an import. Basically every morning I want to set off an FTP script to download a file and then run an import using Scribe after the file appears. The problem is that sometimes the file will take a few seconds to download the file and when that happens the job fails because it doesn't see the file. Right now I have a dummy job running first on a schedule that runs the Pre-job command to download the file (and then ends with WScript.Quit 901, so the dts doesn't run) and then another job running based on a file appearing in the folder to run the scribe job.

This doesn't feel like the best way to do this, does anyone else have any insight?

Thank you!
[Reply][Quote]
Kevin Ritch
Posts: 1
 
Re: Scribe ErrorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 May 08 6:19 PM
G'day Ian,

I do a lot of VB6 development.

In my apps, I set a shared memory variable (clsMemoryMap) and the calling app waits for the FTP app to say "Downloads/Uploads Completed!" - (Well it sets a value anyway )

Because I have not done any SLX scripting for 7 years or so (apart from ASP) I don't know if this might help you at all, but I hope it does.

Cheers,
Kevin
[Reply][Quote]
Vince Schneider
Posts: 9
 
Re: Scribe ErrorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jul 08 10:10 AM
In the past we processed lots of files from FTP using scribe. We no longer have any in place. Below is how we managed it for a long time and it work very well.

Write a vb script and schedule it using the windows scheduler to check the FTP server several times a day for the file we needed.

Once the file was detected, the script would transfer it to our scribe server. After the file transfer was complete, the script would create a blank txt file (something like trigger_for_account_load.txt) that a scribe integration process (Event type File Runs a DTS when a file in a folder is detected) would monitor for.

The scribe event would detect the trigger file and run the event to process the FTP transferred file. We used a post process vbs script to clean up the processed file and trigger file. Also created a copy of the processed file in an “archive” directory named with the current date and time. We would keep 15 days worth incase we needed to go back and trouble shoot the source file.
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: Scribe ErrorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jul 08 10:42 AM
Thanks guys!
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 2:03:00 AM