Search found 231 matches

by DS_SUPPORT
Thu Oct 30, 2008 4:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetLinkInfo returning Warning
Replies: 10
Views: 3811

Have you checked "Log Warnings after activities that finish with status other than OK". This will cause the warning
by DS_SUPPORT
Thu Oct 30, 2008 2:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetLinkInfo returning Warning
Replies: 10
Views: 3811

Might be, you have checked "Automatically Handle Activities that fail" in the job properties of your sequencer, which will treat that routine has failed if it returns value other than 1. Uncheck it and try running the job. Or is there any triggers from your routine activity, which is causi...
by DS_SUPPORT
Thu Oct 30, 2008 2:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load Balancing
Replies: 4
Views: 1503

Yes, dont let your routine to complete until all the jobhandles are 0. The current loop will execute until all the jobs are assigned, so start a loop after this, which will execute untill all jobhandles are 0. I would request to stop the process for a small amount of time by using SLEEP, instead of ...
by DS_SUPPORT
Thu Oct 30, 2008 1:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load Balancing
Replies: 4
Views: 1503

Ken Bland has a nice utility in his website, for doing this. if you want to change your code, the first thing you have to remove is DSWaitForJob(JobHandleArray(k)), it only make the control to wait until the job finishes. And other thing is, i dont see DSDetach anywhere in your code. Have you posted...
by DS_SUPPORT
Wed Oct 29, 2008 10:05 pm
Forum: General
Topic: export and import job on UNIX
Replies: 14
Views: 21882

Might be this script will help you. ::****************Begin Export Loop For /F "tokens=1" %%i in (C:\export\DsxList.txt) do ( echo **** Exporting Job %%i C:\Progra~1\Ascential\DataStage7.5\dsexport /H=HOSTNAME /U=USERID /P=PASSWORD /JOB=%%i PROJECTNAME c:\export\aa.dsx type C:\export\aa.ds...
by DS_SUPPORT
Tue Oct 28, 2008 11:39 pm
Forum: General
Topic: DataStage Pack for PeopleSoft Enterprise
Replies: 1
Views: 1029

DataStage Pack for PeopleSoft Enterprise

What exactly is DataStage Pack for PeopleSoft Enterprise? What does it contain?

How it is differed from OEM provided by EPM?
by DS_SUPPORT
Thu Oct 23, 2008 5:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function for extracting delimited substrings in a string
Replies: 11
Views: 3890

Convert the ^~ to a single delimeter by using CONVERT and use the field function

Code: Select all

Convert("^~","|",InputLink.Col)
by DS_SUPPORT
Wed Oct 22, 2008 1:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date conversion
Replies: 5
Views: 2211

Search the forum for OCONV or look into help for OCONV
by DS_SUPPORT
Tue Oct 21, 2008 9:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing multiple values to the 'SELECT' query in ODBC stage
Replies: 8
Views: 3032

Easiest way should be , store the value as you need, because anyway someone has to create the parameter file, you can istruct them how you want to read the parameter and ask them to store in the same format. or you need to custom routine, where you need to parse all the values and construct the para...
by DS_SUPPORT
Tue Oct 21, 2008 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Having a dynamic filename in the sequential file stage
Replies: 1
Views: 932

Yes , you can do that. You can define a job parameter, like SEQFILENAME.
and in the filename textbox, just give like #SEQFILENAME#, it will be repalced by the value what you are passing in the job parameter.
by DS_SUPPORT
Tue Oct 21, 2008 7:38 am
Forum: General
Topic: import jobs command
Replies: 3
Views: 1380

dsimport will import a particular DSX file, if your dsx file has executables also, it will import it.
by DS_SUPPORT
Tue Oct 21, 2008 7:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: clearing log files at one shot
Replies: 14
Views: 7532

CLEAR.&PH& wont clear the log files, as you are thinking. For clearing the log file , you need to execute the command CLEAR.FILE RT_LOGXXX where XXX is the job number. you can get the job number by querying DS_JOBS. but if you just execute this , it will clear your auto purge settings also. ...
by DS_SUPPORT
Tue Oct 21, 2008 5:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing multiple values to the 'SELECT' query in ODBC stage
Replies: 8
Views: 3032

You can actually do it, but it will be like concatenation of all the columns to a single column, and you have to decide in your further transformations how you want to split it. And lot of work has to be done for the Select statement also. Define a Job parameter , say DYNAMICSELECT. Define a single ...
by DS_SUPPORT
Tue Oct 21, 2008 5:30 am
Forum: General
Topic: import jobs command
Replies: 3
Views: 1380

dsimport (client exe) will import the job into the server. You can write a bat file and do the looping to import the jobs, or the simple way could be concatenate all the 50 jobs to a single dsx and import the concatenated dsx.
by DS_SUPPORT
Fri Oct 17, 2008 3:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS User Information
Replies: 5
Views: 1960

System variable @LOGNAME will give you the user login name.