Search found 13 matches

by satyanarayana
Thu Dec 08, 2016 11:20 pm
Forum: General
Topic: how to validate CFF file structure
Replies: 7
Views: 4892

Try to read EBCDIC Data File Using Sequential Stage and Pass the Metadata using Schema File(You can parameter the Schema file Name ).
by satyanarayana
Tue Aug 03, 2010 12:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Selecting Max(date) column with multiple rows
Replies: 19
Views: 16860

Re: Selecting Max(date) column with multiple rows

SELECT code, seq_no, ref_date from <TABLE NAME> OUTT
WHERE ref_date =(SELECT MAX( ref_date ) from <TABLE NAME> INN
WHERE INN.code=OUTT.code )
by satyanarayana
Fri Jul 23, 2010 3:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Controlling the data flow between the stages in same job.
Replies: 15
Views: 8771

1) Creat 'HEADER' record using 'CAT' command in job sequencer or before job routine. 2)append 'DETAIL' records in to XYZ.txt file 3)Create and append 'TRAILER' record in job sequencer or in same job it self. if you want create TRAILER in same job then get row num from source file as column,if you ha...
by satyanarayana
Fri Jul 23, 2010 3:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Subtract one day from a timestamp column
Replies: 3
Views: 4818

Re: Subtract one day from a timestamp column

convert into julian date and minus number of days you want and reconvert into date format.
by satyanarayana
Fri Jun 25, 2010 3:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass column value as parameter
Replies: 8
Views: 4017

Re: pass column value as parameter

I think you can achieve this by splitting the job into two jobs, In first job get distinct of Column1 values. in second job use this values to crate file and filter the data on Column1. in sequencer job call JOb1 then use a loop activity and call JOB2. if distinct list of COLUMN1 in JOB1 is 1,2........
by satyanarayana
Mon Jun 07, 2010 5:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Custom Stage Type BuildOp Help
Replies: 9
Views: 5294

Re: Custom Stage Type BuildOp Help

Hi,

1)You can find the occurrence of sub string in string using offsetOfSubstring() function, It is a APT_STRING function.
2)If sub string is found then find the index of sub string using occurrences() function,it is also a APT_STRING function.[/i]
by satyanarayana
Wed Sep 05, 2007 12:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal precision warning
Replies: 5
Views: 2970

Re: Decimal precision warning

Hi

fields "STORE_AGE_CLS_NUM" and "STORE_AGE_CLS_NUM" read as Varchar from source and cover to decimal using StringToDecimal.
by satyanarayana
Thu May 31, 2007 6:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .txt File without delimiter
Replies: 4
Views: 2648

Re: .txt File without delimiter

Useing SequentialfileStage with Filltercommand(use Unix(HEAD or TAIL) Command to cut first two lines) and deffine single column in metadat(to read file as a single column)
by satyanarayana
Thu May 31, 2007 5:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between filter stage and constraint
Replies: 4
Views: 2434

Re: Difference between filter stage and constraint

there is no diff.. in working but... Filterstage as good performance compare to Trans..
by satyanarayana
Thu May 31, 2007 5:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting today's date in datastage
Replies: 7
Views: 21349

Re: getting today's date in datastage

you can use DSJobStartTimestamp OR DSJobStartDate
by satyanarayana
Mon Jun 05, 2006 1:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Guidlines needed - DataStage
Replies: 5
Views: 2420

Re: Guidlines needed - DataStage

Hi, I am looking for documents for the following : a) guidelines to design and development of Data stage jobs (ETL standards document) b) Change Management processes c) Templates for Data stage design The client has chosen datastage as the ETL tool and I have to come up with the above mentioned doc...
by satyanarayana
Thu May 25, 2006 1:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Upgradation to 6.0
Replies: 4
Views: 1580

Re: Datastage 6.0 is supported by Windows 2003

Latha1919 wrote:Does Windows 2003 supports DataStage 6.0 ?
yes,it supports DataStage6.0 and 7.x