Hi,
DSGetLinkInfo(hJob1,StageName,LinkName,DSJ.LINKROWCOUNT)
This will give you link count,you need to pass jobname,linkname and stagename.
You can either call this in after job subroutine or write a routine and call it.
Search found 531 matches
- Tue Apr 22, 2014 2:03 am
- Forum: General
- Topic: LinkCount In Datastage
- Replies: 1
- Views: 1640
- Thu Apr 17, 2014 6:57 am
- Forum: General
- Topic: exporting job designs with executables
- Replies: 14
- Views: 7623
- Thu Apr 17, 2014 2:03 am
- Forum: General
- Topic: exporting job designs with executables
- Replies: 14
- Views: 7623
- Fri Apr 11, 2014 5:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Concatenate multirow data into one line
- Replies: 8
- Views: 3022
- Thu Apr 10, 2014 1:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Datastage Join
- Replies: 6
- Views: 4599
Hi, It is cross join. Job design will look like below:- c-----Lnk1---->LKP1------>f File2-----> Copy(c) File1----->Filter Funnel(f)----->Dataset c----Lnk2----->LKP2------->f Use file2 as a source.In Copy stage pass both columns to link1 and link2. File1 will be input to filter stage which has two ou...
- Wed Apr 09, 2014 7:34 am
- Forum: General
- Topic: job stream is continuously shown as running in TWS
- Replies: 2
- Views: 1999
- Wed Apr 02, 2014 7:24 am
- Forum: General
- Topic: How to pass current date in sequence job
- Replies: 4
- Views: 10966
- Wed Apr 02, 2014 3:47 am
- Forum: General
- Topic: How to pass current date in sequence job
- Replies: 4
- Views: 10966
How to pass current date in sequence job
Hi all, I have a requirement where i have preupdate,main loading job and post update. My requirement is to stored the current date before main job starts loading and pass this as a parameter to post update job in job sequence. To achieve this,i have used user variable activity stage between preupdat...
- Thu Mar 27, 2014 4:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Inserts more records than the source has
- Replies: 8
- Views: 5890
You can create a Test job with source as oracle connector stage and target as peek stage.
write below select query in connector stage:-
in coumn tab define ROW_CNT as bigint and check the result.
write below select query in connector stage:-
Code: Select all
select count(*) as ROW_CNT from (
select field1,field2...fieldn from schema.table
)
in coumn tab define ROW_CNT as bigint and check the result.
- Thu Mar 27, 2014 4:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Inserts more records than the source has
- Replies: 8
- Views: 5890
The connector was configured to run in parallel mode on 2 nodes, but the partitioned reads were not enabled. The connector will run in sequential mode. Source: Number of rows fetched on the current node: 21138554. Target: Number of rows inserted: 21,138,554 Hi, Your source connector stage is runnin...
- Wed Mar 26, 2014 3:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequential File Stage - Query
- Replies: 6
- Views: 2664
- Wed Mar 26, 2014 3:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequential File Stage - Query
- Replies: 6
- Views: 2664
- Fri Feb 28, 2014 3:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Regarding Round Robin partition
- Replies: 3
- Views: 3387
- Fri Feb 28, 2014 2:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: CheckSum Stage in datastage
- Replies: 13
- Views: 10042
- Mon Feb 17, 2014 7:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Break operation in row wise comparison
- Replies: 14
- Views: 8754