Search found 42189 matches

by chulett
Thu May 18, 2006 7:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: First Saturday of the month
Replies: 8
Views: 4005

Nice top of your head, Ray. I did manage to slap something together last night, taking a similar approach. Not quite the same level of error checking and messaging that you did, perhaps I'll 'borrow' some of that. FUNCTION IsCorrectDate(DateToCheck,Iteration,DayName) Ans = -99 lvFound = @FAL...
by chulett
Thu May 18, 2006 7:12 am
Forum: IBM<sup>®</sup> DataStage TX
Topic: specific function to add months in a date
Replies: 26
Views: 12686

I've asked similar questions over in the new post that was just started in the Server forum. Hopefully, they will come back here and answer them for you.
by chulett
Thu May 18, 2006 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dscmdexport aborted: Cannot create Repository
Replies: 8
Views: 4080

They noted their solution, it was an issue with having multiple versions of the client loaded and not having set the environment up properly via the MCM before exeucting their script. Are you in the same boat? If not, have you verified that all your variables that make up the output pathname are bei...
by chulett
Thu May 18, 2006 7:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Built in function to add months in a date
Replies: 8
Views: 2961

Ok, now I'm confused. You've been working on this over in the TX forum and now you're suddenly over here. Which is it? Are you working with a Server job or a TX job? If Server, we can take it from here. For TX you need to get yourself back to the original thread and continue that conversation. I alm...
by chulett
Thu May 18, 2006 6:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: change list of servers to use when starting Designer/Directo
Replies: 8
Views: 2073

Yah, too simple. :lol:

Strange, because it must be removing them from a registry entry somewhere so you should be able to reverse the process and nip (or add) them from the other end as well. However...
by chulett
Thu May 18, 2006 6:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in DS Start up
Replies: 2
Views: 983

ASsuming you are logged in as the 'administration' account - typically 'dsadm' - the command would be:

Code: Select all

uv -admin -start

Or fully pathed as:

Code: Select all

$DSHOME/bin/uv -admin -start
by chulett
Thu May 18, 2006 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting return code on warning greate than 10
Replies: 16
Views: 4315

Use the -jobstatus option with 'dsjob'. It returns the internal return codes as the status of the job. You can then declare it a 'good return' if the status is a 1 or a 2: 'Finished Ok' or 'Finished (see log)'. Anthing else would be a 'bad return' in your script. You don't really need to add this ex...
by chulett
Thu May 18, 2006 6:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job handling in Unix
Replies: 10
Views: 7304

My post is simple enough, just a mechanism to get the job status back directly in the return status without having to 'grep' or 'cut' anything out of the text that is returned as well.

I unmarked it.
by chulett
Thu May 18, 2006 6:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Set no of warnings thru script running the Datastage job
Replies: 2
Views: 1122

As noted, your post is a mess such that we don't really know what to make of it. Suggest your edit it and make it more... understandable. I don't see any evidence of your trying to set the warnings limit to 10, each occurance says -warn 1 that I can see - abort after 1 warning. You may want to post ...
by chulett
Wed May 17, 2006 11:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Export and Import of Datastage components
Replies: 4
Views: 4577

There really aren't 'many' ways. You could do either of your #1 or #2 import choices, neither one is 'better' than the other. And neither one is responsible for the errors you are/were seeing.
by chulett
Wed May 17, 2006 11:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Optimised query needed for a Parallel job design
Replies: 9
Views: 2565

As noted, you really should have a chat with your DBA.
by chulett
Wed May 17, 2006 10:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: First Saturday of the month
Replies: 8
Views: 4005

Thanks for all the 'nudges'. :wink:

Hopefully will get some time in the next couple of days to work on this little side project and see what comes of it all.

Thanks again!
by chulett
Wed May 17, 2006 6:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting to valid DB2 date format
Replies: 15
Views: 6157

Can't help you with that as I don't have access to DB2. However, have you tried just concatenating the date and time portions together appropriately to build a timestamp? Or if there is no time portion, concatenating a proper set of zeroes to the date...
by chulett
Wed May 17, 2006 11:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: First Saturday of the month
Replies: 8
Views: 4005

First Saturday of the month

Actually, I'll probably create something more generic so it can find the nth whatever of a month - first Saturday, second Tuesday, etc. However, I'm having a bit of a brain fart. I know we've got the TAG transforms to work with and can get the week number of the year for example. I can also rather e...