Search found 1274 matches

by jwiles
Mon Jan 24, 2011 6:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 6 Transformers Or 60 Stage Variables
Replies: 9
Views: 6477

I would go so far as to say 60 well-named stage variables with well-thought-out and efficiently-written derivations. Sure wouldn't want to see anything like this: if input_link.thedate = StringToDate('1299-01-01') then 'NULL' else if input_link.thedate >= StringToDate('2000-01-01') and input_link.th...
by jwiles
Mon Jan 24, 2011 5:09 pm
Forum: General
Topic: Custom Operators (APT_STRING)
Replies: 6
Views: 3453

Re: Custom Operators (APT_STRING)

I tested the following logic in an 8.1FP1 environment on RedHat and did not have any problem. APT_String mystring = "MC Daniel"; mystring = "ABC"; However, I did recreate the error when I added this line after the above: mystring.replace(3,1,"Z"); ##F IIS-DSEE-TFSF-0000...
by jwiles
Sun Jan 23, 2011 12:12 am
Forum: General
Topic: Custom Operators (APT_STRING)
Replies: 6
Views: 3453

Re: Custom Operators (APT_STRING)

Are you using the substring or replace functions of the APT_STRING class in your operator? If so, the error is indicating that you are attempting to access a substring that extends past the end of your current string. APT_STRING string; string = "ABC"; Using offset 3, span 1 with "ABC...
by jwiles
Sat Jan 22, 2011 11:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join/Lookup Logic
Replies: 3
Views: 2429

Does table B have indexes for column1? Sparse lookups are generally slow to begin with, unindexed tables will slow that down even further. Sparse lookups are recommended only when the reference data quantity is much larger than your source data quantity (orders of magnitude usually). I personally do...
by jwiles
Sat Jan 22, 2011 1:01 pm
Forum: General
Topic: web console user creation
Replies: 9
Views: 5354

Hi As part of installation 'dsadmin' is the administrator userid we had, and it got deleted. Thank You So you're saying that dsadmin was also the only IS suite administrator account and that a separate IS suite administrator account (i.e. 'isadmin') was not also created? The publicly available Info...
by jwiles
Sat Jan 22, 2011 10:00 am
Forum: General
Topic: web console user creation
Replies: 9
Views: 5354

Re: web console user creation

As part of a standard installation, there should have been created an IS administrator userid. Normally this user is named isadmin. Assuming that this user still exists, you should be able to recreate your dsadmin userid for DataStage.

Regards,
by jwiles
Fri Jan 21, 2011 10:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header & Footer
Replies: 39
Views: 16086

Re: Header & Footer

You could use three jobs, but you do not need to. As already mentioned, in one job you can either: 1) Create all three files 2) Create only the final file (with header and trailer) The logic to create the header and trailer records will be identical in either case, the difference is whether the job ...
by jwiles
Fri Jan 21, 2011 1:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert Decimal to Date using IsValid() function?
Replies: 1
Views: 3681

Re: How to convert Decimal to Date using IsValid() function?

isvalid() requires a string value, so: Convert the decimal to a string Use isvalid() to test the validity of the string if valid then convert string to date If the decimal is nullable be certain to handle nulls first in your logic. IS 8.5 has expanded the functionality of isvalid() and has added typ...
by jwiles
Fri Jan 21, 2011 12:00 pm
Forum: General
Topic: Sequence not running the job Activity
Replies: 4
Views: 1975

Re: Sequence not running the job Activity

What are the triggers on the first job activity?

Do you have any warnings in the log for the first job?

Regards,
by jwiles
Fri Jan 21, 2011 9:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_INSERTION_SORT
Replies: 8
Views: 7442

As was stated in that thread, the quoted documentation that was referenced by the OP was specifically for InfoSphere Balanced Optimization , an optional licensed add-on to Information Server. The context in which APT_NO_SORT_INSERTION is mentioned here can be misleading as to it's actual purpose. sa...
by jwiles
Fri Jan 21, 2011 2:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: partitions
Replies: 5
Views: 3109

Re: partitions

The best partitioning method to use depends on your business rules and your data. The goal of partitioning in a parallel environment is toreference distribute the data among the nodes as evenly as possible within the rules of the task being performed. What is your key column being used for? There ca...
by jwiles
Thu Jan 20, 2011 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I/O Wait for Datasets Sequentail File
Replies: 1
Views: 1425

Re: I/O Wait for Datasets Sequentail File

When you run the "ls -l" command in the datasets directory, how many files are listed when the command returns? Does the command hang if you run it in another directory? High I/O waits are usually caused by one or more of: 1) Hardware contention (I/O channels, disk drives, network for NAS)...
by jwiles
Thu Jan 20, 2011 8:47 am
Forum: General
Topic: parameterisation problem
Replies: 2
Views: 2004

Re: parameterisation problem

If your query, apart from the schema name, can change from run to run, you will need to build the final query before the job is started. DataStage will not replace parameters embedded within parameters. A Basic routine called by a job sequencer should be able to handle that for you using the EReplac...
by jwiles
Wed Jan 19, 2011 9:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal
Replies: 1
Views: 2248

Re: String to decimal

Start diagnosing the problem by answering the following questions: How is the column defined within the database? How are you viewing the data that has been loaded into the database? Using the db's client software (or other), or view data (or similar) within DataStage? Have you tried other methods o...
by jwiles
Tue Jan 18, 2011 1:09 pm
Forum: General
Topic: How to pass information from DS Jobs to Job Sequence
Replies: 6
Views: 6615

cat will work in an Information Server 8.1 installation on Windows. The MKS toolkit which is installed with IS provides many Unix commands, including cat.

Regards,