Search found 53125 matches

by ray.wurlod
Thu Sep 22, 2011 3:08 pm
Forum: General
Topic: Reading the DB Password env variable from shell script
Replies: 8
Views: 2130

Environment variables set through the Designer client are stored in the DSParams file in the project. You can read from that. However passwords are stored in encrypted form, so you would need to be able to decrypt it.
by ray.wurlod
Thu Sep 22, 2011 3:06 pm
Forum: General
Topic: Generating a number incrementally
Replies: 2
Views: 1158

Fetch SNO from the target in another stream in your job, increment it and merge or join it into the main flow. Or use a separate job to extract and increment SNO and pass this value to the main job as a parameter.
by ray.wurlod
Thu Sep 22, 2011 2:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue while inserting to SQL server table
Replies: 15
Views: 10374

You don't have two digits in the month but your format string says that you do.

Do learn to read what the error messages are telling you.
by ray.wurlod
Thu Sep 22, 2011 2:03 am
Forum: General
Topic: to load the records according to gender wise
Replies: 1
Views: 1222

By posting in the correct forum (so that we understand what software, what job type, what version, etc. that you're using) would be a good start.
Asking the same question more than once is frowned upon also.
by ray.wurlod
Thu Sep 22, 2011 2:02 am
Forum: General
Topic: how i wil get male,female separate columns using below
Replies: 1
Views: 1370

By posting in the correct forum (so that we understand what software, what job type, what version, etc. that you're using) would be a good start.
by ray.wurlod
Thu Sep 22, 2011 2:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Local Message Handlers after Migration from 8.0.1 to 8.5
Replies: 11
Views: 4405

Message handlers are stored in the same location in 8.5 but you have to move them yourself - they're not picked up by the exporter. The same is true if you happen to have any named message handlers.
by ray.wurlod
Thu Sep 22, 2011 1:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date conversion
Replies: 5
Views: 1700

My solution will work with either edition.
by ray.wurlod
Thu Sep 22, 2011 1:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date conversion
Replies: 5
Views: 1700

You have to extract the date portion from the input string, perhaps using substring if the size is constant or Field() functions otherwise. Then all you need to do is to convert the hyphen characters to empty string ("") in the result. Convert("-", "", Field(Field(InLin...
by ray.wurlod
Thu Sep 22, 2011 1:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server jobs performance on unix vs windows
Replies: 13
Views: 6531

There is no guarantee whatsoever that parallel jobs are faster than server jobs, particularly for small to medium data volumes.
by ray.wurlod
Thu Sep 22, 2011 1:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load all Hashed file into memory
Replies: 26
Views: 9620

:idea: Even flash disks can perform better than spinning disks.
by ray.wurlod
Thu Sep 22, 2011 1:02 am
Forum: General
Topic: Cannot connect to server
Replies: 9
Views: 5750

The servers are not starting correctly. Check SystemOut.log and SystemErr.log for the WebSphere Application Server. Use the serverStatus.bat command to determine whether server1 is running.
by ray.wurlod
Thu Sep 22, 2011 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue while inserting to SQL server table
Replies: 15
Views: 10374

String to timestamp is not an implicit conversion - you will need to specify a conversion function in a Modify or Transformer stage to achieve a data type of Timestamp.
by ray.wurlod
Thu Sep 22, 2011 12:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS conversion issue
Replies: 11
Views: 2454

Add a Reject link to the Sequential File stage to see if any records could not be written.
by ray.wurlod
Thu Sep 22, 2011 12:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is Sorting in DataStage Required when Selecting from DB
Replies: 7
Views: 6566

One more thing.

A sort supported by a B-tree index will outperform anything that DataStage can do, because a B-tree index is already stored in sorted order and simply has to be scanned.
by ray.wurlod
Thu Sep 22, 2011 12:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Peek stage and OCI stage
Replies: 7
Views: 2808

I didn't claim they're all in the same Peek entry. Information is logged as it arrives, and multiple nodes' information tends to collide. But if you look at all the Peek entries for node 0, for example, you'll find a total of 10 rows (or whatever you set it to). Ditto for node 1, and so on.