Author |
Message |
Joel in KC
Participant
Joined: 10 Aug 2018
Posts: 3
Points: 30
|
|
DataStage® Release: 11x |
Job Type: Parallel |
OS: Unix |
|
Running a job and after after 4 warnings I get the following:
"No further reports will be generated from this partition until a successful import."
The job finishes but does not load any data.
How can I get the job to abort rather than to complete the load?
My warnings are set to 50.
Any help is appreciated!
Joel
|
|
|
|
 |
chulett
 since January 2006
Group memberships: Premium Members, Inner Circle, Server to Parallel Transition Group
Joined: 12 Nov 2002
Posts: 42881
Location: Denver, CO
Points: 221079
|
|
|
|
|
|
Welcome.
How about describing your job design? That might help folks help you out. That or let us know what stage is generating that message. I'm assuming it's related to a sequential file but would like confirmation.
Another option, do an
exact
search here for your error message, it turned up 15 other posts for me and something in there should help you I would imagine. At least on the why of this, perhaps not on the core question. We'll see.
|
_________________ -craig
The Old Ones were, the Old Ones are, and the Old Ones shall be. Not in the spaces we know, but between them. They walk serene and primal, undimensioned and to us unseen.
|
|
|
 |
UCDI

Group memberships: Premium Members
Joined: 21 Mar 2016
Posts: 345
Points: 3470
|
|
|
|
|
|
Answering the subject and not the body...
You can drop your extract to a dataset, count the # of records in the dataset with a routine, and use that to gracefully exit or proceed depending on having data or not. This is nice for efficiency as well for complex jobs that do a whole lot of nothing like extracting lookup tables and such for nonexistent data...
There are several other ways to count as well. We use a lot of datasets so checking there is natural for us.
|
|
|
|
 |
Joel in KC
Participant
Joined: 10 Aug 2018
Posts: 3
Points: 30
|
|
|
|
|
|
I appreciate the feedback.
I was hoping there was a parameter that controlled the number of records that could be processed before the application replies "No further reports will be generated from this partition until a successful import."
Apparently that is a hard coded number of records,,,set to 4? Or is there a parameter to control it?
Then, I could turn the parameter up to over 50 and the warnings would then cause the job to abort.
Again, thank you much for your replies and insights.
Joel
|
|
|
|
 |
qt_ky

Group memberships: Premium Members
Joined: 03 Aug 2011
Posts: 2850
Location: USA
Points: 21668
|
|
|
|
|
|
I am not aware of such a parameter or setting for that, however, you would not have to run your job using the default to abort after 50 warnings. You could set it to abort after 1 or 2 warnings at run time. If this is a scheduled job, then you would need to reschedule it to alter the setting.
|
_________________
Choose a job you love, and you will never have to work a day in your life. - Confucius
|
|
|
 |
ray.wurlod
Participant
Group memberships: Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group
Joined: 23 Oct 2002
Posts: 54464
Location: Sydney, Australia
Points: 295356
|
|
|
|
|
|
One job to prepare the data, loading the result into a Data Set. Another job to load the data from the Data Set into its real target. These two jobs are run from a controlling sequence that determin ...
|
_________________ RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong | Hobart | Brisbane |
|
|
 |
|