Search found 53125 matches

by ray.wurlod
Mon Oct 24, 2011 7:08 am
Forum: Information Analyzer (formerly ProfileStage)
Topic: how to create fixed width text file
Replies: 8
Views: 3866

There is no Transformer stage in Information Analyzer. I repeat that the requirement must be solved by post-processing the Information Analyzer report using a DataStage job.
by ray.wurlod
Sun Oct 23, 2011 11:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Checking leading zeroes.
Replies: 5
Views: 1808

If there are leading zeroes the first digit in the number will be 0. It is sufficient to test for this.

Code: Select all

Left(InLink.TheNumber,1) = "0"
by ray.wurlod
Sun Oct 23, 2011 10:57 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: how to create fixed width text file
Replies: 8
Views: 3866

deeplind07 wrote:you can use LPAD funciton to pad leading zeroes by mentioning the target length.(dont forget to add trim function for the input column)
In Information Analyzer? Where?
by ray.wurlod
Sun Oct 23, 2011 10:26 am
Forum: General
Topic: Unlocking a job via another job
Replies: 36
Views: 9218

You would use the same command that you use in the Administrator client, surely.
by ray.wurlod
Sat Oct 22, 2011 10:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Design Reusable job having CFF stage as Source
Replies: 1
Views: 871

Not possible, since the COBOL FD can not be dynamic and can not be read from a file by this stage. By all means submit an enhancement request if you think there's a good business case to be made.
by ray.wurlod
Sat Oct 22, 2011 10:07 am
Forum: General
Topic: Unlocking a job via another job
Replies: 36
Views: 9218

There are quite a few reasons that a job might be locked. Best is to read the entire message to determine why. A generic "unlock" is not, in my opinion, a good idea. The locks are there for a reason.
by ray.wurlod
Sat Oct 22, 2011 10:05 am
Forum: General
Topic: Job locked
Replies: 9
Views: 8113

You can disconnect a session in Session Management. This will clear all locks owned by that session.
by ray.wurlod
Sat Oct 22, 2011 10:04 am
Forum: Information Analyzer (formerly ProfileStage)
Topic: how to create fixed width text file
Replies: 8
Views: 3866

With Information Analyzer you get the reports it gives you. You can use DataStage subsequently if you don't like the format.
by ray.wurlod
Fri Oct 21, 2011 5:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: abort the Job
Replies: 8
Views: 2857

Why abort? Why not prevent the job from running in the first place?

Either way is possible. Run a command that checks the existence of the files and sets its exit status how you wish. Then test that.

If you're using a before-job subroutine, set ErrorCode to a non-zero value to abort the job.
by ray.wurlod
Fri Oct 21, 2011 2:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in storing global parameters/variables
Replies: 5
Views: 1242

Some things just do take time. Nine women can not make a baby in one month.
by ray.wurlod
Fri Oct 21, 2011 2:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aggregator Error
Replies: 7
Views: 2417

Research the DS.TUNEPROPS command.
by ray.wurlod
Fri Oct 21, 2011 2:05 pm
Forum: General
Topic: Problem with Import Metadata from Oracle
Replies: 2
Views: 1432

Not sure why this is happening. "$" must always be replaced by "__036__".
by ray.wurlod
Fri Oct 21, 2011 4:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Heap allocation error - ODBC stage
Replies: 6
Views: 2451

Search the forum for MAXFETCHBUFF and MAXFETCHCOLS. These are entries that can be made in the uvodbc.config file.
by ray.wurlod
Fri Oct 21, 2011 4:49 am
Forum: General
Topic: DS job is getting failed when executing through shell script
Replies: 11
Views: 4404

No, dsjob is exiting, because it lacks a -jobstatus or -wait option. Meanwhile the job continues running.
by ray.wurlod
Thu Oct 20, 2011 6:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record Count
Replies: 5
Views: 1587

Run the rows into an Aggregator to count them. The count will be available downstream of the Aggregator stage once all rows are in. Note that the records on each node are counted separately. So, on a two node configuration, you will get two row counts. If we understood a little more about your requi...