Multiload - Hangs in Datastage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
amit_dwh
Participant
Posts: 22
Joined: Tue Apr 11, 2006 6:04 am

Multiload - Hangs in Datastage

Post by amit_dwh »

Details:-
Teradata V2r5
Datastage 7.5x2
OS Unix

I have a simple job of sequential file + Transform + Multiload.

Within MultiLoad Stage in the Output file path i mention a directory having permissions ( drwxr-xr-x) and no file is mentioned in the Report Files.

If one gives wrong password, the job hangs within Datastage and it does not abort within Datastage, however the multiload log file is generated mentioning Invalid Password.

I have tried with various combinations within
Sessions ( max - 4 , min - 1)
Error Counts
Tenacity

However the working does not change in either of the cases.

If one mentions a Report File Name the job successfully aborts within Datastage and the multiload log file is generated as usual.

I searched the forums however was unable to find a relevant link with such a problem.

I am unable to understand why it behaves so.


Thanks in advance,
bcarlson
Premium Member
Premium Member
Posts: 772
Joined: Fri Oct 01, 2004 3:06 pm
Location: Minnesota

Post by bcarlson »

May I offer one possible solution? It does not explain your error but may work for you anyway. We have had problems getting MultiLoad to work correctly here (different errors, though). As a result, we have switched to using the Teradata Enterprise stage for all read/write processing. My understanding is that it is faster and better supported (this recommendation came 'unofficially' from both IBM/Ascential and NCR).

The Enterprise stage uses FastExport to read data and FastLoad to write. Normally, the FastLoad utility requires that the target table is empty. However, I believe the way DataStage gets around this is to build a temporary table for loading and the data is then written to the designated target table. (Anyone can correct me if I am wrong).

HTH.

Brad.
amit_dwh
Participant
Posts: 22
Joined: Tue Apr 11, 2006 6:04 am

Multiload - Hangs in Datastage

Post by amit_dwh »

Hi,
Yes, the Enterprise Stage does an FastLoad and Insert Select statement.
However, we had a requirement of Upsert hence were interested in using Multiload.
We were thinking along the lines that one can apply change capture to identify inserts and updates. However with Updates one is still stuck with either Multi Load or API stages.
Thanks for the reply,
Cheers
Lawrence
Premium Member
Premium Member
Posts: 46
Joined: Thu Jun 10, 2004 12:47 am
Location: Australia

Post by Lawrence »

Had the same problem at the previous client and could never find a solution either. Ended up documenting the process of 'if the job is hanging check the multiload log file to see if there is a password error. If so abort job manually, set password correctly then restart job sequence' in the production support notes and leaving it at that. Not the nicest workaround.
Post Reply