Search found 44 matches

by Sgiri1
Wed May 06, 2009 3:07 am
Forum: General
Topic: Neglect the duplicate from the string
Replies: 6
Views: 1554

Neglect the duplicate from the string

hi

i get a field with values like

8803981188PCLAW018803981188PCLAW01
MMNQ1MMNQ1
TTHQ1VGTTHQ1VG

how do i neglect the second set of duplicate string from the above using transformer?my output should be somethng like

8803981188PCLAW01
MMNQ1
TTHQ1VG

Thanks
by Sgiri1
Tue May 05, 2009 1:43 am
Forum: General
Topic: string extract
Replies: 3
Views: 1967

string extract

hi i have a string like 87658799_qw456huji78_AT_TIME1 i should extract the first '_' delimited field from the string i.e. 87658799 how could this be done through a transformer. can some1 provide the exact function. and also the first '_' string may have any length. nothing can be considered as a con...
by Sgiri1
Sat Apr 25, 2009 6:30 am
Forum: General
Topic: finding max date from a file grouping by another column
Replies: 3
Views: 2618

finding max date from a file grouping by another column

hi, i have a sequential file stage with input columns : status varchar completed_date timestamp the column status will have value as 'S' and 'C'. i want to pick the maximum date from the completed_date column with status as 'C' and load it in the target file. i used the logic of filtering the column...
by Sgiri1
Sat Feb 07, 2009 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: regular expression in datastage
Replies: 2
Views: 2958

regular expression in datastage

I need to use regular expression to strip words from the i/p sequential file stage using regular expression. which stage in datastage can be used for regular expressions?
by Sgiri1
Sat Jan 10, 2009 12:37 pm
Forum: General
Topic: webservices
Replies: 1
Views: 1016

webservices

how do i create a perl script that hits my webservice and passes i/p to WISD stage as an xml input
by Sgiri1
Mon Dec 15, 2008 2:21 am
Forum: General
Topic: External filter stage
Replies: 3
Views: 1441

You can't. An External Filter stage requires both an input and an output link. Try thinking about other stage types, perhaps an External Source stage. ... I have to filter the regular expressions using an external filter stage, and get the o/p in a sequential file stage. what type of script should ...
by Sgiri1
Fri Dec 12, 2008 9:48 am
Forum: General
Topic: External filter stage
Replies: 3
Views: 1441

External filter stage

how can i pass inputs to my job by calling a perl script in external filter stage.
by Sgiri1
Thu Dec 11, 2008 10:03 am
Forum: General
Topic: how to execute stored procedure from open command
Replies: 1
Views: 1018

how to execute stored procedure from open command

i need to call a procedure at the odbc stage of my job at the open command. this procedure will truncate the table mentioned in the odbc stage. give me the exact syntax to call the procedure at open command.
by Sgiri1
Sat Nov 15, 2008 1:11 am
Forum: General
Topic: APT configuration for 2 cpu
Replies: 3
Views: 3754

Whenever a *.so file can not be found, in my experience, the problem is almost always an improperly-set shared library search path - the environment variable LD_LIBRARY_PATH, SHLIB_PATH or LIBPATH, de ... hi im nt a premium member yet so i cant view the latter part of ur post..can u please post the...
by Sgiri1
Sat Nov 15, 2008 12:43 am
Forum: General
Topic: loading japanese characters through DS jobs
Replies: 4
Views: 1945

the job has i/p as sequential file stage. it take a dat file as i/p validate it againsta an xsd an load it in db. in this case the i/p file may contain japanese characters. can u please elaborate on the NLS_Lang parameter for oracle db?
by Sgiri1
Sat Nov 15, 2008 12:30 am
Forum: General
Topic: APT configuration for 2 cpu
Replies: 3
Views: 3754

APT configuration for 2 cpu

when i run parallel jobs with 2box2node configuration or 2box4node configuration. i get the following errors. node_node5: Warning: library "dsjobsh" failed to load: Could not load "dsjobsh": libACS_client_cpp.so: cannot open shared object file: No such file or directory. CRCAccou...
by Sgiri1
Fri Nov 14, 2008 10:52 pm
Forum: General
Topic: loading japanese characters through DS jobs
Replies: 4
Views: 1945

i prepare the *.dat file using textpad editor. does the font also matters? because only few fonts like arial unicode and ms mincho supports japanese characters.

i have tried with shft JIS NLS settings also but the data in DB are reproduced as error characters.(square boxes)
by Sgiri1
Fri Nov 14, 2008 8:37 am
Forum: General
Topic: loading japanese characters through DS jobs
Replies: 4
Views: 1945

loading japanese characters through DS jobs

Hi,

has anyone tried loading data with multi-lingual characters like japanese or chinese through DataStage jobs into Oracle DB. the data should be in a dat file. rcommend procedures to create multilingual data and loading it in DB.

thnx
by Sgiri1
Sun Nov 09, 2008 5:49 am
Forum: General
Topic: Job Resest
Replies: 1
Views: 831

Job Resest

how to enable the jobs reset option in the jobs(parallel and server), so that it gets reset everytime after an abort?