HomeForum
Welcome, Guest

Packages within Packages
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Packages within Packages

Packages within Packages 5 years, 9 months ago #151

  • kriviere
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 0
I have created scores of packages for importing files into my database. In order to make this easier to manage I've created a package with a matching import for each file I want to import. Then I've created projects with logical groupings of import packages being run in sequence. Finally, I have a driver package which calls each of the group packages in turn. In addition I have an ftp package which gets all of the files I intend to import. My driver package's starting point is my ftp package.

This morning I encountered an error in my ftp module and with the ftp package the error handling within the package was invoked. However, in my driver package it continued on with routine processing, attempting to import all of the files even though I had been unsuccessful at downloading any data files.

Is there a way to indicate that when a package completes its processing via an object (the final object invoked in the package when an error is encountered within the package) that the package should return an error so that a calling package can recognize that an error has occurred? Do I need to incorporate my ftp object within the driver package in order to capture this error condition instead of including a package which invokes the ftp package?

RE: Packages within Packages 5 years, 9 months ago #153

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
Hi.

What kind of error was that?
What was the exact error message?
Can yoy email us your repository and log files please

Mike

RE: Packages within Packages 5 years, 9 months ago #155

  • kriviere
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 0
As requested, I have exported my repository and have sent an email with it and the log (where my ftp package failed within the running of my driver package) attached.

RE: Packages within Packages 5 years, 9 months ago #158

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
Kenneth

There is nothing wrong with your package
Such behavior is perfectly normal

Result of package is defined by the result of the action executed last

There are three possible ways to solve the problem

1 Move everything into one package
2 Force package to fail, for example add check file for the file which never exists
3 Modify Software as follows
Add Radio Box which will define Result of Action Execution
Result Is defined by Action Execution
Aways Failed
Always Succeeded

Option 3 will be aded to the next release

Mike

RE: Packages within Packages 5 years, 9 months ago #161

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
Hello

Please download version - 7.2.8

Mike
  • Page:
  • 1
Time to create page: 0.18 seconds

Testimonials

"DBSL software makes it much easier for us to enable new customers for automatic order processing. This alone sets us apart from the competition."

M. Clock, Director,
Clock Logistics

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top