Search found 86 matches

by danddmrs
Fri Jan 09, 2009 10:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC Derivation?
Replies: 7
Views: 2769

I can assemble the date within datastage but if I can assemble the date in the query it would allow me to use the query to select only data that has changed in the last 30 days. Reading 4M rows to get the 1000 that changed seems clunky but perhaps that's what will have to be done. I thought the deri...
by danddmrs
Fri Jan 09, 2009 9:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC Derivation?
Replies: 7
Views: 2769

ODBC Derivation?

We use an ODBC Stage to connect to Datacom tables. Some date fields on the database are stored in 3 separate fields DT_YY, DT_MM, DT_DD. Is it possible to concatenate these fields in the select of the query? Tried DT_YY || DT_MM || DT_DD - failed, datacom doesn't like the || DT_YY + DT_MM + DT_DD - ...
by danddmrs
Mon Nov 10, 2008 2:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in datastage scheduling
Replies: 8
Views: 4396

I encountered this problem, searched DSX for help, and later fixed with assistance from our DBA. Here are his notes for resolution: When i searched for the at.exe, i found it in 3 different places. 1) C;\Windows\system32, 2) C:\Windows\ServicePackFiles\i386 and also at 3) C:\Windows\MKS Toolkit\bin....
by danddmrs
Fri Sep 26, 2008 2:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can Zeke detect a job aborted within a sequence?
Replies: 7
Views: 6964

This seems to work. While some of the status codes are for validation only, the objective here is that Zeke scheduler stops, operator notifies the programmer, and the programmer determines course of action. Anything other than 1 or 2 should generate a phone call. Code: IF ERRORLEVEL 99 GOTO Aborted ...
by danddmrs
Fri Sep 26, 2008 1:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can Zeke detect a job aborted within a sequence?
Replies: 7
Views: 6964

-jobstatus returns 1, 2, 3, etc. as expected. Now (at the risk of hijacking) I need to return a 0 to the scheduler if errorlevel is 1 or 2 and the errorlevel value if greater than 2. Have tried several things, and this is close as close as I've come, but the results are unexpected. IF ERRORLEVEL 1 S...
by danddmrs
Thu Sep 25, 2008 6:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can Zeke detect a job aborted within a sequence?
Replies: 7
Views: 6964

Thanks for the responses, cannot change the .cmd from home but will give it a go in the a.m.

Ray - I found the DataStage Basic and Server to Parallel DVD classes very helpful. Thanks for doing those.
by danddmrs
Thu Sep 25, 2008 2:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can Zeke detect a job aborted within a sequence?
Replies: 7
Views: 6964

Can Zeke detect a job aborted within a sequence?

.cmd file zeke executes looks like: call \\LMDSTAGE1MV.AAMHC.LOCAL\E$\Ascential\DataStage\Engine\bin\DSJOB -run -wait -param "param1=value1" -param "param2=value2" CF_WH_TEST CSS_ADDR_Control IF %ERRORLEVEL% EQU 0 goto end echo ============ >> e:\fail.txt echo failed >> e:\fail.t...
by danddmrs
Wed Sep 24, 2008 9:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduling DataStage Sequences with Zeke
Replies: 3
Views: 3108

Thanks for the responses. Found the solution searching with DSJOB (much weeding though). Needed to get zeke to the datastage server \\DSServerDNS\E$\Ascential\DataStage\Engine\bin\dsjob -run -wait -param "param1name=param1value" -param "param2name=param2value" projectname jobname
by danddmrs
Tue Sep 23, 2008 9:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduling DataStage Sequences with Zeke
Replies: 3
Views: 3108

Scheduling DataStage Sequences with Zeke

Our company has installed a Zeke Agent on our test DataStage server and required that scheduling of jobs be handled through Zeke instead of the DataStage scheduler. I think I need to set up batch scripts that Zeke will use to pass parameters and execute DataStage sequences. Does anyone have any exam...
by danddmrs
Fri Apr 25, 2008 6:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changed Data Capture questions
Replies: 6
Views: 2685

Thanks for replies.

Does anyone have thoughts on dumping all the mainframe data to a Staging Oracle DB and using DStage for capturing data changes vs the Production Oracle DB?

Pro or Con would be great.
by danddmrs
Fri Apr 25, 2008 7:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changed Data Capture questions
Replies: 6
Views: 2685

On the Mainframe we currently extract data from various systems. The data is FTP'd to the host server, then the tables are truncated and reloaded. One suggestion is to compare the current mainframe extract with the previous extract to determine changes from cycle to cycle. Using the CDC files, a Dat...
by danddmrs
Thu Apr 24, 2008 2:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changed Data Capture questions
Replies: 6
Views: 2685

Changed Data Capture questions

Currently our company data from the mainframe each night, FTP's the data to a server at a remote location, then transforms and loads the data. Issues are the time it takes to run the cycle and the growing volume of data. Changed Data Capture seemed a viable alternative so I suggested it. My thought ...
by danddmrs
Thu Apr 24, 2008 2:32 pm
Forum: Site/Forum
Topic: CDC questions
Replies: 2
Views: 3066

ag_ram

Thanks for pointing that out. Not sure how I even got there. Probably landed there in a search and didn't realize I hadn't specified the forum.

Sorry!
by danddmrs
Thu Apr 10, 2008 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert this string 'm/d/yyyy h:mi' to date?
Replies: 7
Views: 6190

A routine with something like this should work. InternalD = iconv(Arg1,"D4/MDY[2,2,4]") InternalT = iconv(Arg2,"MT") Ans = oconv(InternalD, "D4-YMD[4,2,2]"):' ':oconv(InternalT, "MT") Guru's may have something better but I think this will get the job done. Ric...
by danddmrs
Thu Apr 10, 2008 10:25 am
Forum: Site/Forum
Topic: CDC questions
Replies: 2
Views: 3066

CDC questions

Currently our company extracts 6 billion bytes of data from the mainframe each night, FTP's the data to a server at a remote location, then transforms and loads the data. Issues are the time it takes to run the cycle and the growing volume of data. Changed Data Capture seemed a viable alternative so...