Search found 11 matches

by prajish_ap
Fri Dec 07, 2007 4:48 am
Forum: General
Topic: Same sequential file as the source and the target
Replies: 10
Views: 4402

What the responders have alluded to, but not stated explicitly, is that a sequential cannot be read from and written to at the same time. This has nothing at all to do with DataStage but is an inherent limitation of the sequential file type on all operating systems. So the suggestions all try to wo...
by prajish_ap
Fri Dec 07, 2007 4:02 am
Forum: General
Topic: Same sequential file as the source and the target
Replies: 10
Views: 4402

Re: Same sequential file as the source and the target

Hi , I have a situation wherein I need to use the same Sequential file as the source , do some transformations and then load this data into the same sequential file which will have the updated data for the next run. Please help... :) Create 2 jobs ,in first job take one temporary file as target and...
by prajish_ap
Fri Dec 07, 2007 3:51 am
Forum: General
Topic: Same sequential file as the source and the target
Replies: 10
Views: 4402

ray.wurlod wrote:You're in a very bad situation, then. How would you do it with any other software? Seriously - all you can do is write to a temporary file then, once the job has completed, delete the source file a ...
I thought of this, but I was thinking if this is possible with DataStage...
by prajish_ap
Fri Dec 07, 2007 12:37 am
Forum: General
Topic: Same sequential file as the source and the target
Replies: 10
Views: 4402

Same sequential file as the source and the target

Hi ,

I have a situation wherein I need to use the same Sequential file as the source , do some transformations and then load this data into the same sequential file which will have the updated data for the next run.

Please help...

:)
by prajish_ap
Sat Aug 25, 2007 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job reports failure (code 139)
Replies: 5
Views: 4359

So what changed in your environment? Did you chek to confirm and then concluded this is not a memory issue but something else? Also, the job has been performing fine earlier with similar amount of data. No change has been made to the environement... Could you please could you please explain what yo...
by prajish_ap
Sat Aug 25, 2007 6:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job reports failure (code 139)
Replies: 5
Views: 4359

Segmentation fault can be because of many reasons like - running out of memory or there may be more than the program can handle ... For more refer THIS link. The data being transferred here into the Sequential file is hardly 33MB in size...I don't think that the job is getting aborted because of ru...
by prajish_ap
Sat Aug 25, 2007 3:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job reports failure (code 139)
Replies: 5
Views: 4359

Parallel job reports failure (code 139)

My job carries out a simple task of loading a sequential file from an ODBC Stage. It is getting aborted giving the error message as Contents of phantom output file => RT_SC256/OshExecuter.sh: line 20: 16908 Segmentation fault $APT_ORCHHOME/bin/osh "$@" -f $oshscript >$oshpipe 2>&1 Para...
by prajish_ap
Thu Aug 09, 2007 12:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim function in a User Variable Activity
Replies: 7
Views: 4305

Re: Trim function in a User Variable Activity

ray.wurlod wrote:
prajish_ap wrote:Can anyone please tell me what this trim function actually does?

Trim(oconv(date(), 'DMD[2,2]')," ","A")
Nothing at all in a parallel job. ...

The Developer has used the function in a User Variable Activity Stage in a Sequence Job
by prajish_ap
Wed Aug 08, 2007 11:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim function in a User Variable Activity
Replies: 7
Views: 4305

chulett wrote:Trims 'A' for all " " (spaces) from the string created by OConv. Test your derivation in the Manager with and without the Trim() to see. ...
I actually wanted to know as to what this OConv function does.. I should have been more specific with the question .. sorry about that.. :)
by prajish_ap
Wed Aug 08, 2007 11:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim function in a User Variable Activity
Replies: 7
Views: 4305

Trim function in a User Variable Activity

Can anyone please tell me what this trim function actually does?

Trim(oconv(date(), 'DMD[2,2]')," ","A")
by prajish_ap
Mon Jul 30, 2007 5:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Duplicate insert warning in the Database
Replies: 2
Views: 1384

Duplicate insert warning in the Database

INSERT,0: [DataDirect][ODBC SQL Server Driver][SQL Server]Cannot insert duplicate key row in object 'dbo.TableA' with unique index 'XPKTableA_SEQ'.