Search found 53125 matches

by ray.wurlod
Tue Nov 16, 2004 2:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Field data split
Replies: 3
Views: 1053

Roy has tried to write the Fold() or Fmt() function, which already exist as intrinsic DataStage BASIC functions to do exactly what you ask. Use this design. source -----> Transformer -----> SeqFile -----> (more) Read one column from source. In the Transformer stage apply the Fold() function,...
by ray.wurlod
Tue Nov 16, 2004 2:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Storing log files
Replies: 4
Views: 1692

DataStage job logs are not files; they are database tables in the Repository (hashed files). Search the archive for "archiving log files"; code for achieving this was posted eons ago (probably on the Oliver site, so check this archive too). If you don't want to write code you could capture the log w...
by ray.wurlod
Tue Nov 16, 2004 2:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT Config File
Replies: 9
Views: 4842

Not saying that at all. What I'm saying - all I'm saying - is that, when the job is compiled, it needs to generate an object that can be cloned across multiple processing nodes.
by ray.wurlod
Tue Nov 16, 2004 2:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Exception handling
Replies: 4
Views: 2327

That's getting very close to the realm of hiring consulting services! This forum, by and large, is for sharing answers to specific questions. Answering general questions ties up a lot of time which, particularly to self-employed consultants, means money. Developing training materials ties up even mo...
by ray.wurlod
Tue Nov 16, 2004 12:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLSTATE
Replies: 10
Views: 2166

Not possible. Think about it. The SQLSTATE, DBMSCODE and LASTERR are generated as a result of failure of the "put" function. They're not available until AFTER the row has been sent, since they stem from the success or otherwise of sending the row.
by ray.wurlod
Mon Nov 15, 2004 9:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashfile concept
Replies: 1
Views: 1081

How big is each row (including the key column(s))? On your DataStage CD is an unsupported utility called the Hashed File Calculator that will take away a lot of your grief (if not contributing all that much to your understanding, though its Help may be helpful in this regard). A lot of R&D effort we...
by ray.wurlod
Mon Nov 15, 2004 9:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is scratchdisk?
Replies: 7
Views: 2659

The term "scratch disk" has been around since at least 1968. Well before Torrent was even imagined. We had some on an IBM 360/20 at that time.
by ray.wurlod
Mon Nov 15, 2004 9:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL Type
Replies: 1
Views: 758

They're not defined BY DataStage, they're defined - as an enumerated data type - FOR DataStage. The easiest place to find them is in the DSINCLUDE directory, in DSD_BCI.H. EQUATE SQL.TYPE.NAMES TO "Char,Numeric,Decimal,Integer,SmallInt,Float,Real,Double,Date,Time,Timestamp,VarChar,LongVarChar,B...
by ray.wurlod
Mon Nov 15, 2004 8:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error Calling DSR_Log
Replies: 5
Views: 1691

It's a database table, not a UNIX file (or set of files). We'll come back to that in a moment. Try a long form listing to see how big DATA.30 and OVER.30 are. If either has reached 2GB then the log is probably corrupted. To recover, you'll need to get into the DataStage environment. First cd to the ...
by ray.wurlod
Mon Nov 15, 2004 2:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error Calling DSR_Log
Replies: 5
Views: 1691

Code: Select all

SELECT JOBNO FROM DS_JOBS WHERE NAME = 'YourJobName';
by ray.wurlod
Mon Nov 15, 2004 2:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SEARCH DS_JOBOBJECTS
Replies: 8
Views: 3640

Here's a routine. You may like the techniques. FUNCTION SearchDSJobObjects(Arg1) If UnAssigned(Arg1) Or IsNull(Arg1) Or Len(Arg1) = 0 Then Ans = @NULL End Else Open "DS_JOBS" To hDSJobs Then ClearSelect 8 ClearSelect 9 ClearSelect 10 Ans = "" * The...
by ray.wurlod
Mon Nov 15, 2004 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to check if a DataSet is null
Replies: 2
Views: 2806

Not sure what you mean by null here. Remember that a data set is something constructed by DataStage. Therefore, if it's been loaded with zero rows; you can get at best zero rows out of it. This is not an error condition (for a silly example your data set may have been populated with the records of a...
by ray.wurlod
Mon Nov 15, 2004 2:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is scratchdisk?
Replies: 7
Views: 2659

Swap space is actually something different. Swap space is disk used for memory pages that are not presently in use. Temp space pointed to be UVTEMP is only relevant for server jobs. In parallel jobs separate scratch space is allocated for each processing node in the configuration file under which th...
by ray.wurlod
Mon Nov 15, 2004 1:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: split city and state data from one filed into two fields
Replies: 8
Views: 1760

Not all knows Quality Stage in this forum to help you.
Why not?!!!!
by ray.wurlod
Mon Nov 15, 2004 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is scratchdisk?
Replies: 7
Views: 2659

"Scratch disk" is a term that means disk space used temporarily for whatever function might be required, for example to capture the output of a command or query, temporary storage of heaps for sorting, and so on.