Search found 17 matches
- Wed May 27, 2015 2:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with Stage Variable Loop
- Replies: 1
- Views: 1239
Problem with Stage Variable Loop
Hi guys, Good afternoon. I'm having a problem with my stage variable. I am using it as a group #. but the problem is, it is inconsistent. My data is this: 01|XXX 02|XXX 01|XXX 02|XXX 03|XXXX 01|XXX 02|XXX 03|XXXX I want to group it this way: 1 01|XXX 1 02|XXX 2 01|XXX 3 02|XXX 3 03|XXXX 4 01|XXX 4 0...
- Sun May 24, 2015 10:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Compare the current row to previous row
- Replies: 2
- Views: 2585
- Sun May 24, 2015 10:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Set the value of a Variable using a Variable
- Replies: 5
- Views: 2022
I just wonder, if vReference <-- 0 vCheck <-- If InLink.Col1 = 1 Then InLink.Col1 Else vReference When will vReference change in value? For example, if Col1 <> 1, vCheck =vReference; vCheck=0. So, vCheck is always equal to zero whenever the condition is not met? By the way, thank you for the answeri...
- Sun May 24, 2015 9:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Blank Rows are not Read by Datastage
- Replies: 4
- Views: 1981
- Sun May 24, 2015 6:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Blank Rows are not Read by Datastage
- Replies: 4
- Views: 1981
Blank Rows are not Read by Datastage
Hi guys,
good evening.
I have a problem on extracting a flat file on datastage.
The blank rows are ignored when extracting the data from a flat file.
is there a way that Datastage will consider those blank rows as NULL?
Any help please?
Thanks,
keith
good evening.
I have a problem on extracting a flat file on datastage.
The blank rows are ignored when extracting the data from a flat file.
is there a way that Datastage will consider those blank rows as NULL?
Any help please?
Thanks,
keith
- Sun May 24, 2015 5:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Set all Blank Files to Null
- Replies: 1
- Views: 967
Set all Blank Files to Null
Hi guys, Good evening. I have a problem with my source. In my source, the data looks like below: Col1 Type02|Group1 Type03|Group1 Type04|Group1 Type01|Group2 Type02|Group2 Type03|Group2 Note: Type01 in the Group1 is missing, so made a condition in the variable that if Col1="" then "Mi...
- Sun May 24, 2015 12:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Separately Group Rows then Re-group them in Exact Order
- Replies: 9
- Views: 2816
- Sat May 23, 2015 2:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Separately Group Rows then Re-group them in Exact Order
- Replies: 9
- Views: 2816
- Sat May 23, 2015 2:01 pm
- Forum: General
- Topic: Code on that checks if a file exists in a FTP Server
- Replies: 3
- Views: 1437
- Sat May 23, 2015 12:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Set the value of a Variable using a Variable
- Replies: 5
- Views: 2022
Set the value of a Variable using a Variable
Hi guys,
Is it possible to Set the value of a variable using a variable?
Example:
vReference=0 ; intial value
vCheck=
If Col1=1 then vReference=Col1
Else vReference
Thank you,
keith
Is it possible to Set the value of a variable using a variable?
Example:
vReference=0 ; intial value
vCheck=
If Col1=1 then vReference=Col1
Else vReference
Thank you,
keith
- Sat May 23, 2015 11:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Compare the current row to previous row
- Replies: 2
- Views: 2585
Compare the current row to previous row
Hi guys,
is there a way that i can compare the current row to the previous row?
The logic is this:
If CurrentRec = PrevRec
Then
ColumnOut= PrevRec
Else
Current Row
Thanks,
Keith
is there a way that i can compare the current row to the previous row?
The logic is this:
If CurrentRec = PrevRec
Then
ColumnOut= PrevRec
Else
Current Row
Thanks,
Keith
- Sat May 23, 2015 11:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Repeat the value of the first line of each group
- Replies: 2
- Views: 1124
Repeat the value of the first line of each group
Hi guys, i have a data that looks like this: col1,col2 1,A 2,xxx 3,xx 1,B 2,xxx 1,C 2,xx so, i want to repeat the value of each first line of the group. i want it to look like this: col1,col2,col3 1,A,A 2,xxx,A 3,xx,A 1,B,B 2,xxx,B 1,C,C 2,xx,C I can't find a way to to distribute it on every succeed...
- Fri May 22, 2015 8:09 am
- Forum: General
- Topic: Code on that checks if a file exists in a FTP Server
- Replies: 3
- Views: 1437
Code on that checks if a file exists in a FTP Server
Hi guys!
Can you help me on how to check if a file exists in a FTP Server?
I don't have a any idea.
Please help.
Thank you,
Keith
Can you help me on how to check if a file exists in a FTP Server?
I don't have a any idea.
Please help.
Thank you,
Keith
- Thu May 21, 2015 5:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Separately Group Rows then Re-group them in Exact Order
- Replies: 9
- Views: 2816
but i need the project# (that is in each type 1) to be iterated for each row. example: input Type 1|xx|project01 Type 2|xxxxx Type 3|xxxxxx Type 1|xx|project02 Type 2|xxxxx Type 3|xxxxxx it must be: project01|Type 1|xx|project01 project01|Type 2|xxxxx project01|Type 3|xxxxxx project02|Type 1|xx|proj...
- Thu May 21, 2015 3:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Separately Group Rows then Re-group them in Exact Order
- Replies: 9
- Views: 2816