Unexpected Error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
naren6876
Participant
Posts: 233
Joined: Mon Feb 07, 2005 7:19 pm

Unexpected Error

Post by naren6876 »

DataStage Job 508 Phantom 12192
Subroutine "DSU.ReadRecords" called with 2 arguments, 3 were expected"
Program "DSU.ReadRecords": Line 13, Unable to load subroutine.
Attempting to Cleanup after ABORT raised in stage COV..xfm_COV
DataStage Phantom Aborting with @ABORT.CODE = 3

this job was running perfectly till now.Suddenly my job has aborted with the above message.There was no changes in ReadRecords Routine.

Any help would be appreciated.

thanks alot.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

The compiled routine is requiring 3 arguments per the message. Check the routine and if necessary recompile it. See if the job complains again after you recompile the routine. If this is a standard before/after Routine there are only two arguments allowed, it it's a custom Universe function then more are allowed.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
naren6876
Participant
Posts: 233
Joined: Mon Feb 07, 2005 7:19 pm

Post by naren6876 »

kcbland wrote:The compiled routine is requiring 3 arguments per the message. Check the routine and if necessary recompile it. See if the job complains again after you recompile the routine. If this is a standard before/after Routine there are only two arguments allowed, it it's a custom Universe function then more are allowed.

Hi,
The routine requirea only 2 arguments.

I dont understnd why it is expecting 3 arguments. It is defined as
FUNCTION ReadRecords(Arg1,Arg2).

It is not behaving like this earlier.

any clues pls.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

ReadRecords is not compiled/cataloged in this project.
The third argument is the result.

Please post in correct forum.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Unexpected Forum should be the apropriate answer to this post in my opinion.
Moved to server forum...
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply