Search found 53125 matches

by ray.wurlod
Wed Oct 11, 2006 3:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to get correct data
Replies: 4
Views: 1115

What do you mean by Char(7,2)? Try Char(8) or VarChar(8)
by ray.wurlod
Wed Oct 11, 2006 3:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Backup of a datastage job
Replies: 6
Views: 1539

You need to take the backup before the changes are wrought. Export is the easiest means.
by ray.wurlod
Wed Oct 11, 2006 3:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: more than one argument in routines
Replies: 8
Views: 1768

InputArg receives the contents of the Input Value field from wherever the subroutine was invoked. This might be a delimited string, that can be parsed within the subroutine code.
by ray.wurlod
Wed Oct 11, 2006 3:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Developer role import/exprt in Protected Prj
Replies: 2
Views: 823

Once a project is unprotected a user in the Developer role can edit objects in that project.
by ray.wurlod
Wed Oct 11, 2006 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: return code from DSU.ExecSH
Replies: 2
Views: 1699

Source code for ExecSH is in the Routines branch of your repository. Take a look at it. This will ease your concerns and prove what Arnd advised is correct.
by ray.wurlod
Wed Oct 11, 2006 3:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: position string
Replies: 3
Views: 1010

<pedantry>
Character positions 122 through 125 total four characters. Therefore the second argument to substring needs to be 4.

And this will never be equal to "xyz" - a three character string can never be equal to a four character string.
</pedantry>
by ray.wurlod
Wed Oct 11, 2006 3:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: GUI to Add/Update Table
Replies: 7
Views: 1381

More information, as the technique will vary. For ease of maintenance I'd prefer not to code anything, so would prefer to use DataStage.
by ray.wurlod
Wed Oct 11, 2006 3:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting .xls to .csv using datastage
Replies: 2
Views: 2370

Create a VB script on the Windows machine to effect the conversion. Invoke this via remote execution through an Execute Command activity in a job sequence.
by ray.wurlod
Wed Oct 11, 2006 3:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Special Characters while appending files in Unix
Replies: 3
Views: 1673

DataStage uses Char(128) to represent null. Windows uses Char(128) to represent the Euro symbol (which means you need to re-map DataStage's representation). Not sure why this is happening on a UNIX platform, but suspect it's related.
by ray.wurlod
Wed Oct 11, 2006 3:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to traverse thru a hierarchy of records
Replies: 8
Views: 1666

BCI functions mimic the ODBC API. Search the forum for SQLConnect or SQLFetch (or even BCI).
by ray.wurlod
Wed Oct 11, 2006 2:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Access Universe through UNIX
Replies: 12
Views: 3760

Before invoking dssh you must be attached to a DataStage project.

Code: Select all

cd project_dir
$DSHOME/bin/dssh "SELECT * FROM DS_JOBOBJECTS WHERE OBJIDNO = '1234';"
by ray.wurlod
Wed Oct 11, 2006 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hoew to populate blank Spaces in Seq File.
Replies: 7
Views: 1602

select the Null field value option in sequential file in format tab set it as ' ' with no. of spaces depending upon ur col width Thanks for your kind Input,but i am having this constrain for around 100 field.All fields are having different length,this means i will have to set Null Field Value at co...
by ray.wurlod
Wed Oct 11, 2006 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling a C++ Buildop Manually
Replies: 5
Views: 1776

Don't attempt it. Compile within DataStage.

When you compile a BuildOp with DataStage a number of other entries are created, including records in a Repository table recording the call sequence and various other stuff. This needs to happen.
by ray.wurlod
Wed Oct 11, 2006 2:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to get correct data
Replies: 4
Views: 1115

Make your Char field wider than 7. The conversion function from decimal to string requires a space for the sign character. Or you could trim the result of that conversion.
by ray.wurlod
Wed Oct 11, 2006 2:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: is serverjob functions and paralleljob functions are differe
Replies: 6
Views: 1760

The functions at the end of the Parallel Job Developers Guide are for the Transformer stage. Functions for the Modify stage are in the chapter for that stage. There are some errors; cross check with the Orchestrate Operators manual if you have a problem. For example, the Modify stage function for re...