Search found 53125 matches

by ray.wurlod
Fri Sep 11, 2009 5:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extracting Numeric Part of String
Replies: 6
Views: 1910

It appears that the example comes from a NAME rule set, so it's unlikely that multiple numeric tokens would appear (although, of course, there is a possibility). We need to await a response from U.
by ray.wurlod
Fri Sep 11, 2009 5:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: resetting counter depending on keys on key partitioned data.
Replies: 3
Views: 1034

One stage variable to detect change in the key column.
One stage variable (later in the grid) to remember the key value from the previous row. This is used by the first stage variable.
One stage variable to increment/reset the counter.

If you Search DSXchange you will find examples.
by ray.wurlod
Fri Sep 11, 2009 5:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delimiter space
Replies: 3
Views: 1268

Use the decimal code for the space character (032) in the delimiter field on the Format tab. (You can use hex but must prefix it with "&x", for example &x20.)

Export all the "dead" jobs then delete them. Make sure you keep the export file in a safe place.
by ray.wurlod
Fri Sep 11, 2009 5:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how do i find Project directory using unix command line
Replies: 2
Views: 1369

Code: Select all

cd `cat /.dshome`
. ./dsenv
dssh "SELECT SCHEMA_NAME, PATH FROM UV_SCHEMA WHERE SCHEMA_NAME = '<<Project Name>>';" << eof
QUIT
eof
Redirect output of dssh to a location of your choosing.
by ray.wurlod
Fri Sep 11, 2009 5:30 pm
Forum: General
Topic: Best way to connect to SQL Server DBs
Replies: 6
Views: 1656

What you were told is correct when the DataStage server is installed on a UNIX machine, because SQL Server does not run on UNIX. However I note that you have marked your server type as Windows, in which case you get both the Connector and the SQL Server Enterprise stage.
by ray.wurlod
Thu Sep 10, 2009 5:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: unable to see users and groups for second time consolelogin
Replies: 1
Views: 698

It means that you are logging in using a user ID that has not been given Suite Administrator credentials, only Suite User.
by ray.wurlod
Thu Sep 10, 2009 5:07 pm
Forum: IBM QualityStage
Topic: Infosphere QualityStage startup issues
Replies: 1
Views: 1200

Unable to load dependent module usually suggests that your shared library search list (LD_LIBRARY_PATH, LIBPATH or SHLIB_PATH environment variable) is not correctly set.
by ray.wurlod
Wed Sep 09, 2009 9:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Maintain sort order in datastage
Replies: 10
Views: 8363

Yes.

But you're not allowed to lie. DataStage checks at run time!
by ray.wurlod
Wed Sep 09, 2009 9:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion from mmddyy to mmddyyyy format
Replies: 1
Views: 1048

If the data type is Date, then conversion is neither required nor possible. If the data type is string, then you can use StringToDate() to convert this to a date. If you require the output also to be of type string, then you can apply the DateToString() function - though with a different format stri...
by ray.wurlod
Wed Sep 09, 2009 9:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is the procedure to clear log files from XMETA.
Replies: 3
Views: 1720

Use Director client. Job menu, Clear Log option.
by ray.wurlod
Wed Sep 09, 2009 9:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue Logging into DataStage
Replies: 2
Views: 1223

Has your user ID been correctly set up in Web Console for Information Server?
by ray.wurlod
Wed Sep 09, 2009 8:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling OSH script from UNIX Server
Replies: 22
Views: 13403

Re: Calling OSH script from UNIX Server

No. You must run the job (for example using dsjob command). The OSH generated by compiling the job is never what gets executed. In contains no information about parallelism. The first process to log in reads this osh script AND the parallel execution configuration file, and composes a new script cal...
by ray.wurlod
Wed Sep 09, 2009 8:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsenv is not pointing properly
Replies: 13
Views: 6504

$_ is a standard shell variable - the command you are executing at the command prompt.

It's in a family with others such as $$ (current process ID) and $? (exit status of prior command).

Read the man page on sh or any reasonably UNIX beginner's book.
by ray.wurlod
Wed Sep 09, 2009 8:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL in routine
Replies: 9
Views: 4112

Or even

Code: Select all

Ans = Output<1>
or

Code: Select all

Ans = Convert(@FM,"",Output)
by ray.wurlod
Wed Sep 09, 2009 8:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to run several dssh scripts in one batch
Replies: 8
Views: 3099

... but lose the semi-colon after QUIT