Search found 53125 matches

by ray.wurlod
Tue Apr 29, 2008 2:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: column split into multiple rows
Replies: 7
Views: 1997

My solution will also work for a variable N, provided the Column Import stage is equipped to deal with the largest possible N (number of fields) that will be in the delimited string. You could do the same with a Transformer stage. Absent columns can be populated with null or "", depending on what yo...
by ray.wurlod
Tue Apr 29, 2008 1:45 am
Forum: General
Topic: Information On Demand 2008 in Australia
Replies: 2
Views: 1072

Given the price I'm sure that your current employer would be more than happy to have you represent them. Won't do any harm to ask anyway.
by ray.wurlod
Tue Apr 29, 2008 12:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DOS command to abort a job
Replies: 10
Views: 1614

Of course you can. You can execute a pipeline through ExecDOS (for example command1 ; command2) or you can create your own after-job subroutine that invokes the batch file and tests for the empty file.

I still prefer never to abort jobs.
by ray.wurlod
Tue Apr 29, 2008 12:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unprotecting project through commandline
Replies: 3
Views: 1667

That's not something I've ever tried to determine.

The fact that even DSGetProjectInfo() does not let you know whether or not the project is protected suggests that the mechanism is not an obvious one.
by ray.wurlod
Mon Apr 28, 2008 11:05 pm
Forum: General
Topic: Information On Demand 2008 in Australia
Replies: 2
Views: 1072

Information On Demand 2008 in Australia

_
Register here

Sydney 13 May 2008 (Tuesday)
Melbourne 15 May 2008 (Thursday)
by ray.wurlod
Mon Apr 28, 2008 8:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiled Date in DataStage Repository
Replies: 10
Views: 8694

Compiled date is one of the undocumented columns. It is not accessible as a column name. You need to work out which field contains it, and use an EVAL construct to access it.

Actually, I just took a look at DS_JOBOBJECTS and can't find the compilation date. I may need to get back to you on that.
by ray.wurlod
Mon Apr 28, 2008 8:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting User Status of Job Activity
Replies: 2
Views: 2150

By invoking the DSSetUserStatus() function within a job invoked by the Job activity. This is easy to do if the job is a server job; for a parallel job you will need to create a parallel routine as an interlude to DSSetUserStatus().
by ray.wurlod
Mon Apr 28, 2008 8:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Executing Mainframe DB2 Procedure multiple times
Replies: 5
Views: 1338

My issue is that DataStage is not where the DB2 database is. One is on UNIX, the other is on the mainframe. Are you using DB2 Connect software to access DB2 on the mainframe? If so then you can probably use the Stored Procedure stage. Obtain the year value by reading the file with a Sequential File ...
by ray.wurlod
Mon Apr 28, 2008 8:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unprotecting project through commandline
Replies: 3
Views: 1667

No command-line interface exists to change a project from Protected to Unprotected or vice versa.
by ray.wurlod
Mon Apr 28, 2008 7:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing to Fixed width file
Replies: 5
Views: 1980

The space is the sign character. You could specify the Numeric data type to be unsigned.
by ray.wurlod
Mon Apr 28, 2008 7:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF stage
Replies: 3
Views: 1222

Determine in which column the level 01 item appears and fill in this value during the import. Its default value is 8. It appears that your COBOL FD has its A margin in a different column number.
by ray.wurlod
Mon Apr 28, 2008 7:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: routines compile
Replies: 2
Views: 1513

Parallel routines are not compiled from within DataStage. They are totally external C++ source code, and must be compiled using the appropriate C++ compiler and linked using the appropriate linker at the operating system level.
by ray.wurlod
Mon Apr 28, 2008 6:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pivot stage
Replies: 6
Views: 4427

Wherever your DataStage client is installed (for example C:\Program Files\Ascential\DataStage) there is a sub-folder called Docs. It is in the Docs folder that you will find Pivot.pdf.
by ray.wurlod
Mon Apr 28, 2008 5:00 pm
Forum: General
Topic: Exporting jobs through Commad prompt
Replies: 7
Views: 4406

As per the details in the above post i have searched for dsexport and dscmdexport in '/tools/Ascential/DataStage' , but any of the "export" commands are not present in the above path. Can anybody please tell me why this commands are not present in our environment? UNIX pathnames? These executables ...
by ray.wurlod
Mon Apr 28, 2008 4:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiled Date in DataStage Repository
Replies: 10
Views: 8694

The compiled date of a job (or job sequence) is stored in the ROOT record for that job in the DS_JOBOBJECTS table in DataStage internal format. The compiled date of a routine is stored in the DS_ROUTINES table in DataStage internal format.