Search found 263 matches

by snt_ds
Tue Aug 26, 2008 7:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJ.LINKROWCOUNT not working properly for PX job
Replies: 12
Views: 8017

Following image is for Job Activity:-
Image

Following image is for Rotine Activity:-
Image
by snt_ds
Tue Aug 26, 2008 11:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJ.LINKROWCOUNT not working properly for PX job
Replies: 12
Views: 8017

chulett wrote:And "Stage Name from PX job" means a hard-coded value or something derived?
Yes Craig, The Stage Name and Link Name are hard-coded. But job name is not hard-coded, it just pass through activity variable.

How can I attach snap-shot with this post? :?:
by snt_ds
Tue Aug 26, 2008 9:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJ.LINKROWCOUNT not working properly for PX job
Replies: 12
Views: 8017

As noted, the job name requires the invocation id but the stage and link name do not. Correct your call. That's Correct.We are doing same way. Job Design :- ...Job_Activity ---> Routine_Activity .... Routine Code:- $INCLUDE DSINCLUDE JOBCONTROL.H Ans = 0 handleJob = DSAttachJob(extractJobName, DSJ....
by snt_ds
Tue Aug 26, 2008 6:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJ.LINKROWCOUNT not working properly for PX job
Replies: 12
Views: 8017

I tried printing the stagename in Email subject & it gives me Jobname.InvocationId.

#JA_Company_Loaded_Staging_Job.$JobName#
returned - Company_Loaded_Staging_Job.TestInvocation_Seq
by snt_ds
Mon Aug 25, 2008 5:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJ.LINKROWCOUNT not working properly for PX job
Replies: 12
Views: 8017

ray.wurlod wrote:Are you attaching the correct instance when invoking DSGetLinkInfo() ?
We are passing StageName.$JobName (Stage Name of Job Activity which calling Multi Instance PX Job)
by snt_ds
Mon Aug 25, 2008 9:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJ.LINKROWCOUNT not working properly for PX job
Replies: 12
Views: 8017

Hi Ray, I have an example below which explains the issue. Check_If_Already_Run_Job - Multi instance job which checks if the process is completed for today. Abc_Seq - Sequence invoking above job. Based on a requirement we run this sequence for a period ex: 3:00pm - 7:00pm every 15 mins. Multi instanc...
by snt_ds
Mon Aug 25, 2008 8:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sql server Commit
Replies: 7
Views: 2111

Sql server Commit

In sqlserver target, how to commit records all at once (single commit)

Thanks in Advance
by snt_ds
Mon Aug 25, 2008 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sqlserver Stored Procedure
Replies: 3
Views: 1332

Sqlserver Stored Procedure

I have a job in which stored procedure will be called and output of stored proc will be sent to further process. Stored Proc will take 2 arguments as input and provides the output in 2 arguments. Input arg : startdate and enddate Output are : ABC and XYZ. Please let me know which stage (STP or ODBC)...
by snt_ds
Sat Aug 23, 2008 2:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJ.LINKROWCOUNT not working properly for PX job
Replies: 12
Views: 8017

DSJ.LINKROWCOUNT not working properly for PX job

Hi All, We are using DSGetLinkInfo (with 4th option as DSJ.LINKROWCOUNT) to get row count of the link of PX job once job is finished successfully. But we encountered a situation in which it is returning wrong value (for ex. it is giving row count = 0 instead of 1). I did search on the different foru...
by snt_ds
Fri Aug 15, 2008 11:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 2 Char year - YY Conversion
Replies: 9
Views: 4412

Yes you are right..If I pass the same date values in a Server job and use ICONV & OCONV functions as mentioned in my previous message, it seems to be intelligently converting 96 to 1996 and 08 to 2008. This is precisely my question, how is it working correctly in Server? I have not done any Env ...
by snt_ds
Fri Aug 15, 2008 11:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 2 Char year - YY Conversion
Replies: 9
Views: 4412

My question is..the dates mentioned in my previos message are translated correctly in Server where as in PX using the Env Variable, it traslates the Centruy part incorrectly..always add "20" to the YY part and makes it YYYY e.g 96 comes 2096 and 08 becomes 2008 in PX where as in server it ...
by snt_ds
Fri Aug 15, 2008 11:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 2 Char year - YY Conversion
Replies: 9
Views: 4412

My question is..the dates mentioned in my previos message are translated correctly in Server where as in PX using the Env Variable, it traslates the Centruy part incorrectly..always add "20" to the YY part and makes it YYYY e.g 96 comes 2096 and 08 becomes 2008 in PX where as in server it ...
by snt_ds
Fri Aug 15, 2008 9:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 2 Char year - YY Conversion
Replies: 9
Views: 4412

2 Char year - YY Conversion

Hi, In PX, using the Env Variable for APT_DATE_CENTURY_BREAK_YEAR with values 2000 will ensure that all YY will be converted to 20YY or using the format %2000yy will do the same. But if we have dates like 20-AUG-96 and 10-SEP-08 both will be converted to 20-AUG-2096 and 10-SEP-2008 , which is wrong ...
by snt_ds
Wed Aug 13, 2008 6:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: expecting 1 segments, read 2 segments
Replies: 15
Views: 4809

Hi Ray, We have been using the same job with different invocation id's, Few of invocations are running successfully and few of them are throwing warning like "expecting 4 segments, read 6 segments." When we view the dataset management utility it is showing like below message Exception_745 ...
by snt_ds
Wed Aug 13, 2008 3:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: expecting 1 segments, read 2 segments
Replies: 15
Views: 4809

ray,

we used hash and same partition earlier but same issue happening