Search found 133 matches

by skp
Thu Oct 31, 2013 12:12 am
Forum: General
Topic: datastage code
Replies: 1
Views: 832

datastage code

Hi all,

I want to develop a routine which Should result me with all job names and its relevant elapse time into a Excel File as Notification after completing Production run.

Please provide be some ideas.

Thanks
by skp
Thu Oct 24, 2013 6:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not getting Required output after XML Output stage
Replies: 2
Views: 1617

Not getting Required output after XML Output stage

Hi, My input is having two fields one is id and another one is Name like below ID NAME 10 EDWARD'S CASH 20 RANJAN & RAJ 30 ROBERT BELL I am using xml output stage to create chunk and capturing output in sequential file and output looks like below <ServiceRequest><ID>10</ID><NAME>EDWARD&apos;...
by skp
Fri Oct 11, 2013 7:35 am
Forum: General
Topic: DataStage BASIC / job control code
Replies: 3
Views: 2097

DataStage BASIC / job control code

Hi all, I have the below code in datastage. errCode = DSSetParam(instanceHandle, "New Parameter Name", New Parameter Value) If (errCode <> DSJE.NOERROR) Then msg = DSMakeMsg("DSTAGE_JSG_M_0002\Error calling DSSetParam(%1), code=%2[E]", "WriteMode":@FM:errCode) msgId = j...
by skp
Thu Sep 19, 2013 7:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing spaces and certain characters in a string
Replies: 4
Views: 1705

Removing spaces and certain characters in a string

Hi all,

My Input
-------
Jun Fujimoto/Singapore/IBM@IBMSG

output should be in (trim ,upper case and removal of the last characters after @) like

Output
-------

JUNFUJIMOTO/SINGAPORE/IBM

please provide the logic for this conversion.

Thanks
by skp
Fri Aug 23, 2013 1:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to achieve logic for horizontal pivot
Replies: 11
Views: 3754

Andy,

My input record like below:

Col1
a
b
c
d


each record come in next line not in the same line.
by skp
Fri Aug 23, 2013 12:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to achieve logic for horizontal pivot
Replies: 11
Views: 3754

Hi Andy,

how to stri out the correct portion using field function please help me on this.
by skp
Thu Aug 22, 2013 9:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to achieve logic for horizontal pivot
Replies: 11
Views: 3754

Thanks a lot Andy... I will try this and let you know any problems...
by skp
Thu Aug 22, 2013 8:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to achieve logic for horizontal pivot
Replies: 11
Views: 3754

working on 9.1 version and there is no limit has been given by business for the number of records
by skp
Thu Aug 22, 2013 8:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to achieve logic for horizontal pivot
Replies: 11
Views: 3754

There are no other columns only two columns we will get from source but output should be one column but two different records 1 for first column and second one for second column
by skp
Thu Aug 22, 2013 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to achieve logic for horizontal pivot
Replies: 11
Views: 3754

How to achieve logic for horizontal pivot

Hi,

My source is like below:
Col1 Col2
a b
c d
e f
g h

Output should be like below:
Column
a|c|e|g
b|d|f|h

Help me on this please.
by skp
Tue Aug 20, 2013 2:43 am
Forum: General
Topic: Sequence Issue
Replies: 4
Views: 2635

Sequence Issue

Hi All,

I have a sequence with Three Jobs inside it. all jobs are NOT dependent and running in parallel. If the sequence is re-started when any job fails,then all the jobs are starting from the beginning.

Can any one advice a solution on this issue.


Thanks
by skp
Mon Jul 22, 2013 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changing precision and scale
Replies: 1
Views: 1387

Changing precision and scale

Hi Vivek,

Can you please elaborate your answer.

I am also facing the same problem.

My Source is 16 digit and I want to load into target with 16,8
Example:
Source: 1234567890123456
Output: 12345678.90123456

Thanks,
Skp
by skp
Fri Jun 28, 2013 2:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get percentage (%) of match
Replies: 9
Views: 3545

Hi Chulett,

Yes you are correct if my source record is coming as 'abcdefgh' and my reference record is 'abcdefg' Then i will get percentage of match is 90%. If percentage is having >= 90% then only I need to pass that record to target. How to achieve this in datastage.

Thanks,
SKP.
by skp
Thu Jun 27, 2013 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get percentage (%) of match
Replies: 9
Views: 3545

We will get one column "name" from source and the same column is also exist in reference table I have to check the percentage of match if it exceeds 90% then only I will process that record to target. I am not aware of Quality stage. The above mentioned is my requirement. Please let me kno...