Search found 4605 matches

by kduke
Wed Nov 18, 2015 8:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running job with multiple parameters
Replies: 8
Views: 9599

I would read the database in a job. You need to get the parameter values in a variable in the sequence to use in a parameter. I would make the sequence multiple instance. Use the source as the instance id. There are lots of ways to get the values into variables. No need to to use environment variabl...
by kduke
Fri Nov 06, 2015 10:24 am
Forum: General
Topic: Sequencer design
Replies: 5
Views: 3372

You do not have to use an exception handler. You can execute a failed link which all it does is go straight to last sequencer before the end. Then Job2 never executes and it does not abort. You can have as many links as you want coming after a job or a wait for file. Each with there own status. Norm...
by kduke
Sat Oct 24, 2015 9:38 am
Forum: General
Topic: Job activity not moving to next activity
Replies: 2
Views: 2076

Do you have an after job routine or script? If so then it might have failed.
by kduke
Sat Oct 24, 2015 9:37 am
Forum: General
Topic: issuse with ds director
Replies: 4
Views: 2131

You might need to call support. I guess you need to reindex.
by kduke
Wed Oct 21, 2015 7:23 pm
Forum: General
Topic: dsexport without dependent items
Replies: 9
Views: 8390

The operator role probably does not have export rights. Not sure which do and which do not.
by kduke
Sun Sep 27, 2015 11:12 am
Forum: General
Topic: Running multiple instance of a job
Replies: 3
Views: 2368

Running the job is easy as Craig explains. Just learning the syntax of dsjob command.

This is not easily done within the job. Unless each table has the same metadata then this might be very difficult.
by kduke
Sun Sep 27, 2015 11:02 am
Forum: General
Topic: Compilation through dscc
Replies: 7
Views: 7541

Here is my code from my batch file. SET DsBaseDir=C:\Progra~1\Ascential\DataStage7.5.1 SET DsCompileCmd=%DsBaseDir%\dscc.exe %DsCompileCmd% /h %ImportHost% /u %ImportUser% /p %ImportPassword% %ImportProject% /j %%i /f >> %LogFileName% This is obviously older version of DataStage but all you need to ...
by kduke
Sun Sep 27, 2015 10:49 am
Forum: General
Topic: Compilation through dscc
Replies: 7
Views: 7541

I don't think you can compile a whole folder like that. You need to compile one job at a time. All you need is the job name. I also think you are quoting the command wrong. "C:\PF\IBM\IS\Clients\Classic\dscc.exe" or leave them off because the is no space in the command path. C:\PF\IBM\IS\C...
by kduke
Wed Sep 16, 2015 10:28 am
Forum: General
Topic: Need to Automate the creation of DSX's for DS jobs
Replies: 18
Views: 8093

There are backup scripts on Ray's web page you can download. The are several. The one most people use does a full export. There is one called DataStageExport.bat which will export a list of jobs. The list name is hardcoded to a specific directory. You have source code so modify this to meet your nee...
by kduke
Fri Sep 04, 2015 4:34 pm
Forum: General
Topic: How to find out total number jobs from the project
Replies: 3
Views: 2232

dsjob is the easiest. Build you a shell script.

Code: Select all

dsjob -lprojects |
while read Project
do
   NOJOBS=`dsjob $Project -ljobs | wc -l`
   echo "$Project $NOJOBS"
done
Something like this. Kind of off the top of my head. Should be close to accurate.
by kduke
Fri Sep 04, 2015 10:43 am
Forum: General
Topic: How do I create a basic Sequencer?
Replies: 16
Views: 7409

You can do the same thing in BASIC by commenting out the wait routine.

ErrCode = DSWaitForJob(hJob1)

This one line waits for the job to finish.
by kduke
Fri Sep 04, 2015 10:38 am
Forum: General
Topic: Get all child status recursively
Replies: 11
Views: 7628

EtlStats does this. There is code in the get row count driver that if the job name is a sequence then it will loop through all the jobs and send each job name to the get row counts job. * ------------------------------------------------------------ * DSJobReportDbDriver * ---------------------------...
by kduke
Mon Aug 03, 2015 11:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase IQ Wire Protocol Driver - problem with inserting data
Replies: 7
Views: 4773

If you have special characters like '@' in column names then you need to quote it properly. The connector should know the valid quote character. Have it generate the statement with quote characters. Then try it.
by kduke
Fri Jul 24, 2015 2:27 pm
Forum: General
Topic: Operations DB
Replies: 5
Views: 2786

If ODB is your bottleneck then fire your Oracle DBA.