Losing log in multi instance enabled Job version 8.1 linux

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
informdaya@gmail.com
Participant
Posts: 37
Joined: Tue Nov 30, 2010 10:51 am

Losing log in multi instance enabled Job version 8.1 linux

Post by informdaya@gmail.com »

Hi All,
we have two source system AUS and UK . Tables are pulled are same structure in both the instance. So we have created one multi instance enabled job that will used for both the instances. Now one separate sequence for each job that is multi instance enabled.

Two main sequences has been created like AUS_MAIN and UK_MAIN as calling subsequence -> jobs via different parameter.

for example
AUS_MAIN ->subsequence->job
UK_MAIN->subsequence->job

here subsequence and job are multi instance enabled.
The problem is when i ran separately AUS sequence and UK sequence only latest logs retain in sub sequence,other one is gone.
lets say i ran AUS_MAIN followed by UK_MAIN then subsequence.AUS and subsequence.UK is created but subsequence.AUS has no entry. Please help.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What is the log purge setting for this job?

Log purge based on runs is across all invocations. So, if you keep only one run, each instance will purge all other instances.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
informdaya@gmail.com
Participant
Posts: 37
Joined: Tue Nov 30, 2010 10:51 am

Post by informdaya@gmail.com »

Hi,
Auto-purge of job log check box is not clicked in administrator.
so purge option of log is not active.

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You can't check in the Administrator, that's just the project-wide default. You need to check the individual jobs via the Director as the default could have been overridden there.
-craig

"You can never have too many knives" -- Logan Nine Fingers
FranklinE
Premium Member
Premium Member
Posts: 739
Joined: Tue Nov 25, 2008 2:19 pm
Location: Malvern, PA

Post by FranklinE »

You don't mention it, so I thought I would: make sure that you set the Invocation Id in the Job Activity stage that calls the mult-instance job. If it is differently named for the calling sequence, it will have its own distinct entry in Director:
jobname.AUS_MAIN
jobname.UK_MAIN
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson

Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
Post Reply