Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Locked *.tmp files when polling images with Rulerunner (aka Quattro) and VScan task in Datacap 8.1

270002G8WJ gravatar image
Question by S.Baars  (0) | Apr 01, 2014 at 08:01 AM datacaprulerunnerfilesvscan8.1.0.2tmptiming

Hallo, greetings from The Netherlands,

I use a Rulerunner service for automatic actions (VScan, Profile, Export). I have some problems with 'timing' in VScan.

When I copy the files into the input folder (image), the service is picking up the files. But sometimes it's stopping and it is leaving a *.tmp file. Looks like some timing issue with writing of filesystem, and Datacap reading to quick. Causing a 'Abort', and stops Rulerunner service. (I have configured 'Stop after error')

Anybody experiencing same problems? And maybe some tips?

Thanks, Sander.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

6 answers

  • Sort: 
270004EG46 gravatar image
Accepted answer

Answer by Tony Nguyen (51) | Apr 01, 2014 at 02:21 PM

This isn't a problem with 8.1. It has been a problem with prior releases of Datacap. I found that the out of the box vScan actions are not production ready due to the issue you're experiencing. I've only used the out of the box vScan actions for demos. You will need to customize a vScan action to:

  • look for a trigger file that is written to the ingestion path once the image has successfully complete prior to ingesting the image or
  • create a custom vScan that evaluates a files created date. If the date is older then a configurable property (i.e., 15 min), then you can assume the file is complete so you could ingest those images.

I hope this helps.

Tony

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270006H8YT gravatar image

Answer by Tom Price (1431) | Apr 01, 2014 at 02:23 PM

Hi S.Baars

This is a common issue. There is a post regarding it in Datacap 8.0 which was supposedly fixed. However it is still prevalent.

My recommendation would be to use the C# VScan library (Available as VScanSample from developerworks site). With some modification this action library performs better than the VBScript default one.

I believe it to be some form of contention issue (file access denied, corrupt etc)

I have not seen any instances of .tmp files with a C# VScan... comments from others would be appreciated.


Regards

Tom.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270002G8WJ gravatar image

Answer by S.Baars (0) | Apr 01, 2014 at 02:43 PM

Thanks, no easy fix, but fixable...

Thanks for your time and sharing your experience.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270002G8WJ gravatar image

Answer by S.Baars (0) | Apr 01, 2014 at 02:46 PM

Thanks Tom,

I will look which one is used (We use FastDoc/FastApp as template). And than I will do some extra testing.

Thanks for your time and sharing your experience.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270006CAV9 gravatar image

Answer by Juan Breuer (0) | Apr 09, 2014 at 02:38 PM

Hi S.Baars

We used to have the same issue in our implementation. We have ftp jobs from our branches pooling the multi image tifs from the branch servers to the central server where datacap process it with vscan. The Vscan was configured to get only one tif for each batch.

When the FTP was slow, it created a lot of tmp files ( that where the processed tif incomplete, rename it and open it to check).

We fixed this issue changing the image folder to another one and having a new job moving the files.

This job moves the tif files to the new images folder but with a changed extension that datacap ignores. After it renames it. Because this last action its really fast we issues with the tmp files disappears.

(Note: Whe didn't change the ftp jobs to upload the files with a temp extension because we needed to change more than 600 jobs manually)

One more issue when you got the tmp files issue is that some times with the correct timing Datacap process an incomplete tif file (Last image of the tif truncated).

Regards,

Juan.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270002G8WJ gravatar image

Answer by S.Baars (0) | Apr 10, 2014 at 05:48 AM

Juan, thank you for the tip. Always nice to learn different solutions from other people. Will discuss it with client to see if this strategy is the way to go. Thanks, Sander.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

103 people are following this question.

Answers

Answers & comments

Related questions

Rulerunner Configuration: one thread with multiple Vscan tasks 1 Answer

VScan Job in Rulerunner 2 Answers

VScan Job in Rulerunner 2 Answers

How do I manage batches left in running state by rulerunner 8 Answers

Suggestion when using VScan polling (VScan in Rulerunner) 4 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges