you can also use before subroutine in job properties
execDos sqlplus -s username/password @filename.sql,>file.log
in filename.sql you can write the delete statement.
Search found 324 matches
- Wed Oct 10, 2007 6:21 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Delete statement in a job
- Replies: 5
- Views: 2173
- Tue Oct 09, 2007 6:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Deploying .dsx job from Window platform to Unix platform
- Replies: 3
- Views: 1202
- Tue Oct 09, 2007 6:21 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Is there a way to turn off the "Run" button in Dir
- Replies: 9
- Views: 2628
Re: Is there a way to turn off the "Run" button in
yes their is Readonly "0" flag in DSX (.dsx file), which when set to Readonly "1" and imported, will not allow to run a job from datastage designer but will allow to run in director for that particular user/password.
- Tue Oct 09, 2007 6:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Need help for XML input stage and XML output stage ver 7.5
- Replies: 8
- Views: 1784
- Mon Oct 08, 2007 4:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: how can i have previous month-end date(sept) in this month
- Replies: 5
- Views: 2364
Re: how can i have previous month-end date(sept) in this mo
search for forum you will get answer
- Mon Oct 08, 2007 3:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: If count exceeds Job should Abort
- Replies: 3
- Views: 1754
Re: If count exceeds Job should Abort
you use a stage variable where you declared initial value for it as 100 and use dslinkrowcount, which increments for each row processed. you then compare values and use SDK utitlity --->UtilityAbortToLog
- Thu Oct 04, 2007 6:33 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Abnormal Behaviour of DS Job
- Replies: 4
- Views: 2081
Re: Abnormal Behaviour of DS Job
please qoute your warning message
- Thu Sep 27, 2007 2:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Execute Oracle Stored Procedure(SP)
- Replies: 2
- Views: 1380
Re: Execute Oracle Stored Procedure(SP)
hello can you define upper limit for your procedure, like until what date you want your procedure to run say upto say 01-01-2010 in interval of 30 mintues. i have an idea like you define one job with stored procedure stage and call that job from other job using job control and sleep statement, hope ...
- Tue Sep 25, 2007 12:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Routines and Subroutines
- Replies: 2
- Views: 984
Re: Routines and Subroutines
Subroutines do not return a value,Not available in expressions.When designing a job you can specify a subroutine to run before or after the job, or before or after an active stage.
- Thu Sep 20, 2007 11:59 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Call stored procedure in Sequence
- Replies: 5
- Views: 3489
- Thu Sep 20, 2007 11:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Delete Hash File via Routine
- Replies: 2
- Views: 1305
Re: Delete Hash File via Routine
hello for writing custom routine you need to check for paticular directory and hash file to delete, i mean to say their should be two input parameter. next is basic code help text. Use the EXECUTE statement to execute DataStage commands from within the BASIC program and then return execution to the ...
- Wed Sep 19, 2007 10:08 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: query in a column
- Replies: 7
- Views: 1964
my question is that your table contains a column in which query is stored, is this query static i mean to say same query always or dynamic which means that table columns contains different query for each execution, if it is different then how are you populating your columns viewed through datastage.
- Wed Sep 19, 2007 9:49 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Warning Limit
- Replies: 2
- Views: 1078
Re: Job Warning Limit
hello if you are using basic code to execute jobs and have some code in Job Control tab of job then below will help
JobHandle = DSAttachJob (JobName, ErrorMode)
ErrCode = DSSetJobLimit(JobHandle, LimitType, LimitValue)
ErrCode = DSDetachJob(JobHandle)
JobHandle = DSAttachJob (JobName, ErrorMode)
ErrCode = DSSetJobLimit(JobHandle, LimitType, LimitValue)
ErrCode = DSDetachJob(JobHandle)
- Wed Sep 19, 2007 8:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error calling DSRunJob -99
- Replies: 11
- Views: 6749
Re: Error calling DSRunJob -99
what is an error message please post it
- Wed Sep 19, 2007 2:29 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Warnings for Null Values
- Replies: 3
- Views: 1565
Re: Warnings for Null Values
sorry regarding improper relply, yes the sdk routine UtilityWarningToLog is what you wanted