Search found 53125 matches

by ray.wurlod
Wed Jun 17, 2015 3:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic options
Replies: 6
Views: 2491

Nested Ereplace() functions should do it. For example, and not including " A ":

Code: Select all

Ereplace(Ereplace(InLink.TheColumn, "A ", "1", 1, 1), "AB", "2", 1, 1)
by ray.wurlod
Wed Jun 17, 2015 3:34 pm
Forum: General
Topic: Unable to import metadata of flat files by using IA
Replies: 13
Views: 8985

Can you try renaming the file, perhaps to A3.txt ? ODBC in particular does not like identifiers beginning with numeric characters.
by ray.wurlod
Wed Jun 17, 2015 3:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove $ and brackets in numeric feild
Replies: 6
Views: 2705

srinath0253 wrote:Hi Ray,

Can you post the code for public. Im not premium user.
Hi Srinath,

Can you become a premium member? This is the funding mechanism that keeps DSXchange alive.
by ray.wurlod
Tue Jun 16, 2015 4:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help to generate schema files dynamically for txt files
Replies: 15
Views: 7103

Basically it's a whole heap of If..Then..Else expressions that test the field number associated with the specific column heading and, where appropriate, use the Field() function to extract that particular substring out of the single VarChar input column.
by ray.wurlod
Tue Jun 16, 2015 4:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove $ and brackets in numeric feild
Replies: 6
Views: 2705

Code: Select all

StringToDecimal(Convert("()$", "-", InLink.TRANSACTION_AMOUNT))
Each "(" is converted to "-", each ")" is converted to "" (removed), and each "$" is converted to "" (removed).
by ray.wurlod
Tue Jun 16, 2015 4:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Milli Seconds in time stamp
Replies: 4
Views: 1923

Resolved? If yes, please mark this post as resolved using the green button.
by ray.wurlod
Tue Jun 16, 2015 4:28 pm
Forum: General
Topic: How to remove many DataStage jobs automatically?
Replies: 6
Views: 1652

You could script the exports that Arnd mentioned, backup the entire project, then delete and re-create the projects and import from the exported jobs.
by ray.wurlod
Tue Jun 16, 2015 4:24 pm
Forum: General
Topic: Unable to import metadata of flat files by using IA
Replies: 13
Views: 8985

Have you tried importing using Metadata Asset Manager?

Have you used the "discover flat file" option in the IA tasks menu, which builds/maintains the QETXT.INI file?
by ray.wurlod
Tue Jun 16, 2015 4:20 pm
Forum: General
Topic: performance monitoring
Replies: 3
Views: 1363

The workaround was marked before I posted.
by ray.wurlod
Tue Jun 16, 2015 3:46 am
Forum: General
Topic: performance monitoring
Replies: 3
Views: 1363

If you are using the DataStage Operations Console then all these data are being automatically collected and stored in the DataStage Operations database (DSODB). The structure of this database is completely documented, so you should be able report directly from it.
by ray.wurlod
Mon Jun 15, 2015 6:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SAP ABAP Stage suddenly slow or timing out
Replies: 2
Views: 1385

Ah, the old "dirty handle" problem again.
by ray.wurlod
Mon Jun 15, 2015 6:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with nChar in Datastage 11.3
Replies: 4
Views: 4418

There's obviously some kind of problem with the data in the NEW_STATUS field.

Apart from the mismatched quote, the hex representation looks OK (all of the byte representations are below 256).

What do you see for this value when you select directly from Oracle, for example using TOAD?
by ray.wurlod
Mon Jun 15, 2015 6:23 pm
Forum: General
Topic: Multi Instances not able to view in director
Replies: 11
Views: 3237

Just to clarify, by default job log auto purge only occurs when the job finishes WITHOUT FAILURE.

If the job aborts, crashes or is stopped, no entries are purged from the job log.
by ray.wurlod
Mon Jun 15, 2015 6:20 pm
Forum: General
Topic: How to remove many DataStage jobs automatically?
Replies: 6
Views: 1652

In addition to what Arnd suggested, remember that stages, links, containers and annotations are stored in DS_JOBOBJECTS, so you need to delete entries from that table, ideally before removing the entry from DS_JOBS. I haven't tried this but, knowing that you can delete a job in Director client, can ...
by ray.wurlod
Mon Jun 15, 2015 6:17 pm
Forum: General
Topic: Multi client is not opening lower version IBM IIS Console
Replies: 5
Views: 1472

My guess is that Multi Client Manager did not install correctly. Check your installation log. The easiest remedy may be to re-install the client tier 11.3 software.