Search found 254 matches
- Thu Feb 04, 2016 4:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SQL Stored Procedure on failure
- Replies: 2
- Views: 2552
- Tue Feb 02, 2016 4:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Consolidating Message into a new Project level message
- Replies: 1
- Views: 1890
Consolidating Message into a new Project level message
In our new DataStage environment, there have been a number of Message handler (.msh) files that were created independently and with files name structured like abc def.msh I now wish to create a consolidated project level file with a name like project.msh Would the steps be 1. In Unix (Dev environmen...
- Mon Feb 01, 2016 9:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SQL Stored Procedure on failure
- Replies: 2
- Views: 2552
SQL Stored Procedure on failure
I have now developed a number different jobs calling SQL server stored procedures, all the jobs have run successfully with returning ProcCode 0 I now want to design my job to handle when the sql server stored procedure fails. I believe sql server returns ProcCode and ProcMess My example job Simple s...
- Mon Feb 01, 2016 1:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Simple Example of executing a SQL server stored procedure
- Replies: 8
- Views: 10836
- Sun Jan 31, 2016 9:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Simple Example of executing a SQL server stored procedure
- Replies: 8
- Views: 10836
Job is now working Stored Procedure CREATE proc [dbo].[uspGetCurrentDayOfWeek] @Result varchar(200) OUTPUT as select @Result = ( DATENAME(dw, CAST(DATEPART(m, GETDATE()) AS VARCHAR) + '/' + CAST(DATEPART(d, GETDATE()) AS VARCHAR) + '/' + CAST(DATEPART(yyyy, GETDATE()) AS VARCHAR)) ) GO SQL Server St...
- Fri Jan 29, 2016 6:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Simple Example of executing a SQL server stored procedure
- Replies: 8
- Views: 10836
- Fri Jan 29, 2016 12:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Simple Example of executing a SQL server stored procedure
- Replies: 8
- Views: 10836
Thank you Andy - I have made some good progress Latest solution version ran without warnings - but no result value SQL server stored procedure changed to CREATE proc [dbo].[uspGetCurrentDayOfWeek] @Result varchar(200) OUTPUT as select ( DATENAME(dw, CAST(DATEPART(m, GETDATE()) AS VARCHAR) + '/' + CA...
- Thu Jan 28, 2016 10:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Simple Example of executing a SQL server stored procedure
- Replies: 8
- Views: 10836
Simple Example of executing a SQL server stored procedure
I have already searched the DSX forums relating to executing SQL server stored procedures - yet I am still unable to create a working example. Simple Example. SQL Server stored procedure return current Day of week CREATE proc [dbo].[uspGetCurrentDayOfWeek] @Dummy varchar(200) = null, @Result varchar...
- Mon Jan 18, 2016 11:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data Rules Stage How to Validate a TimeStamp
- Replies: 6
- Views: 3462
- Mon Jan 18, 2016 7:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data Rules Stage How to Validate a TimeStamp
- Replies: 6
- Views: 3462
- Mon Jan 18, 2016 5:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data Rules Stage How to Validate a TimeStamp
- Replies: 6
- Views: 3462
Data Rules Stage How to Validate a TimeStamp
Have just started using the Data Rules stage, with only a couple of jobs done so far.
I now have to validate a TimeStamp value (read as a string)
Has anyone validated a TimeStamp with the Data Rules Stage
Thanking you all in advance
I now have to validate a TimeStamp value (read as a string)
Has anyone validated a TimeStamp with the Data Rules Stage
Thanking you all in advance
- Wed Dec 16, 2015 7:24 pm
- Forum: General
- Topic: Re-start ability Before-job Subroutine
- Replies: 3
- Views: 2299
The ExeSH Before job subroutine is basically ..../dsjob -run ... -mode RESET -warn 0 -wait JOB_A; .../dsjob -run ... -mode NORMAL JOB_A It appears that I have not -wait on the second instance I will add the required wait So the expectation is that only when JOB_A has finish that the main job will th...
- Wed Dec 16, 2015 5:48 pm
- Forum: General
- Topic: Re-start ability Before-job Subroutine
- Replies: 3
- Views: 2299
Re-start ability Before-job Subroutine
A team member has the following issue with expectation of a Before-job Subroutine completing before the main job is run The team member job is slightly different to my original job - I do not seem to have the same issue. The ExeSH Before job subroutine runs two dsjob commands. The first occurrence i...
- Wed Sep 16, 2015 10:20 pm
- Forum: General
- Topic: First Scheduled job does not run
- Replies: 26
- Views: 13204
- Wed Sep 16, 2015 8:13 pm
- Forum: General
- Topic: First Scheduled job does not run
- Replies: 26
- Views: 13204