Search found 42189 matches

by chulett
Tue Jul 16, 2013 2:51 pm
Forum: General
Topic: Need to use date to run certain jobs in a Sequence
Replies: 8
Views: 2019

Me neither... hence the 'may' part. :wink:
by chulett
Tue Jul 16, 2013 2:06 pm
Forum: General
Topic: Need to use date to run certain jobs in a Sequence
Replies: 8
Views: 2019

If "evdate" is a job parameter in the Sequence job then you may need to encase it in hash marks '#' so it knows that.

Code: Select all

#evdate#[4,2] >= '02' and #evdate#[4,2] <= '05'
See if that helps at all.
by chulett
Tue Jul 16, 2013 11:04 am
Forum: General
Topic: Need to use date to run certain jobs in a Sequence
Replies: 8
Views: 2019

You can't do "assignments" in trigger expressions. An trigger expression evaluates to TRUE or FALSE so use two triggers to two different Job Activity stages, one for each job with the proper range check in them: Job1: evdate[4,2] >='02' and evdate[4,2] <= '05 Job2: evdate[4,2] < '02' or ev...
by chulett
Tue Jul 16, 2013 9:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create output file names based on data in a column
Replies: 21
Views: 7827

You generate rows like this:

1
1 2
1 2 3
1 2 3 4

All you want to do is send one to the Folder, hence the aggregator set to 'last'.

No clue on the second thing at the moment.
by chulett
Tue Jul 16, 2013 7:29 am
Forum: General
Topic: Incorrect Parameter passed
Replies: 2
Views: 846

Any chance that only one generic job is used to get both parameters (since the queries 'hit the same table') and it is passed out via USERSTATUS? You may have a timing problem.
by chulett
Tue Jul 16, 2013 7:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: OUTOFMEMORY-DSObjects Out of Memory
Replies: 2
Views: 2343

One of them is probably a typo and yet... allow me. Splitted.

How about some details of your job design?
by chulett
Tue Jul 16, 2013 7:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can I use DataStage to backup records?
Replies: 6
Views: 2021

I'm looking for the logic to implement in datastage. Then as noted you'll need to detail your requirement, right now it's a little too vague. "Backup" means what in this context? Do you actually mean purge? And "one year at the end of every seventh year" needs to be clarified as...
by chulett
Tue Jul 16, 2013 7:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create output file names based on data in a column
Replies: 21
Views: 7827

As noted in the linked post and the docs, yes it takes a single record so if you have multiples you need to get them all concatenated together with a record delimiter between each. Do that in a stage variable and then send it to an aggregator set to 'last' before the Folder stage. Sorry but I don't ...
by chulett
Mon Jul 15, 2013 11:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How Can I make use of Parameters in Server jobs
Replies: 8
Views: 3546

You could start from somewhere like here which is the official 8.5 documentation. Close enough, especially considering that most of the older 8.1 documentation needs to be purchased for several hundred dollars each. :shock: Problem is the Developer's Guide is a Parallel Guide but you may find it use...
by chulett
Mon Jul 15, 2013 4:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How Can I make use of Parameters in Server jobs
Replies: 8
Views: 3546

BTW, there is a "Developer's Guide" available from what I recall that should be a good starting point for you for fundamentals... I can't look for it from work right now but later tonight I'll try to find a link to it for you. Should be some free IBM Redbooks that would help as well. I'll ...
by chulett
Mon Jul 15, 2013 1:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle Blob ?
Replies: 10
Views: 3034

Did you try doing an exact search for "APT_BadAlloc: Heap allocation failed"? I got 64 matches including yours and many were marked as resolved... hopefully something in there will be helpful.
by chulett
Mon Jul 15, 2013 11:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to process Variable Length File
Replies: 5
Views: 2018

However, the length noted in the field is *not* the actual length as it is then "padded to a multiple of 4" if needed... that seems like an issue to me.
by chulett
Mon Jul 15, 2013 10:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How Can I make use of Parameters in Server jobs
Replies: 8
Views: 3546

I know you only have Server edition. I was making an assumption based on your early posts where you stated things like "I have successfully installed DataStage Server Edition version 8.1 on my Windows 2003 machine But I am not able create Parallel jobs, only Server and Sequence jobs are availab...
by chulett
Mon Jul 15, 2013 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How Can I make use of Parameters in Server jobs
Replies: 8
Views: 3546

You seem to have some level of experience in Parallel jobs... it's not any different in a Server job. Or a Sequence job. Do you have a specific problem / question / requirement that you need help with?
by chulett
Mon Jul 15, 2013 7:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Convert Dates
Replies: 5
Views: 2806

Server is very forgiving and technically everything is a string under the covers. If you want the year from a date I would just substring out those 4 characters. Or use the Field() function. I think OCONV requires the argument in the internal format as generated by ICONV Yes, it does require an inte...