Search found 53125 matches

by ray.wurlod
Wed Nov 09, 2011 2:54 pm
Forum: General
Topic: Tables in UV database
Replies: 6
Views: 1646

Code: Select all

SELECT "F0" FMT '36L', "DESC" FMT '40T' FROM VOC WHERE TYPE IN ('F', 'Q') ORDER BY 1;
or pre-stored commands LISTF, LISTFL or LISTFR.
by ray.wurlod
Wed Nov 09, 2011 2:49 pm
Forum: General
Topic: Pass in parameter to ExecCommand stage
Replies: 22
Views: 6935

Job parameter references are not supported in the Command field; they must be in the Parameters field.
by ray.wurlod
Wed Nov 09, 2011 2:48 pm
Forum: General
Topic: Please describe how you use 'built-in' Job Parms...
Replies: 7
Views: 2265

Not particularly creative, but these (or their DSMacro equivalents) are very useful in error processing streams to enrich the error data with "location" information - job name, start date, project, etc. I tend to encapsulate that processing in a shared container for re-use.
by ray.wurlod
Wed Nov 09, 2011 2:46 pm
Forum: General
Topic: commandoutput
Replies: 5
Views: 1993

An alternative is to strip the line terminator in the command itself.

Code: Select all

grep string file | tr -d '\n'
by ray.wurlod
Tue Nov 08, 2011 11:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Query Reg. Join Stage
Replies: 5
Views: 1316

Yes. And that's how database engines do it too.
by ray.wurlod
Tue Nov 08, 2011 11:33 pm
Forum: General
Topic: Access Duration
Replies: 11
Views: 3214

UNIX should have recorded when the user ID was created, since this is a security event and these typically are logged. Ask your UNIX administrator.
by ray.wurlod
Tue Nov 08, 2011 11:32 pm
Forum: General
Topic: Getting the stage type in DSX
Replies: 4
Views: 1276

PXSequentialFile is a class identifier. This is the parallel Sequential File stage. The CSequentialFileStage class is for the server Sequential File stage.
by ray.wurlod
Tue Nov 08, 2011 10:02 pm
Forum: IBM QualityStage
Topic: Usage of parameter sets in shell script
Replies: 3
Views: 2380

Is this really a QualityStage question?

You have the choice:
  • name the Parameter Set and give the values file name as its "value" e.g. -param Database=database_par

    name individual parameters using "dot notation" e.g. -param Database.SRC_USR=zaphod
by ray.wurlod
Tue Nov 08, 2011 9:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best way to Read N number of tables and load into 1 table
Replies: 13
Views: 4333

Edit the file of names to build SELECT statements around them. Or: Execute Command activity: cat #filepath# User Variables activity: Ereplace((Cats(Reuse("SELECT * FROM "), Command.$Output),@FM," UNION ALL ",-1,0) That will get you close. You may have to trim the trailing @FM fro...
by ray.wurlod
Tue Nov 08, 2011 9:33 pm
Forum: General
Topic: DS.TOOS is not in your VOC
Replies: 1
Views: 1180

DS.TOOLS is only available in projects. Once you're in dssh in the admin account (which you have described) you need to

Code: Select all

LOGTO ProjectName
remembering that project names are case sensitive.
by ray.wurlod
Tue Nov 08, 2011 9:32 pm
Forum: IBM QualityStage
Topic: Email Adress and phone check
Replies: 3
Views: 2372

Once you get version 8.7 you can go one step further than what Stuart indicated and include a Data Rules stage in a DataStage/QualityStage job. This stage can use data rule definitions published from Information Analyzer or you can develop data rule definitions within the stage (and, optionally, pub...
by ray.wurlod
Tue Nov 08, 2011 7:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to estimate sratchdisk space for sorting
Replies: 6
Views: 1862

Yes, I was being simplistic. For example are your VarChar data types bounded (have a maximum length) or unbounded? There are also other overheads associated with storage in a Data Set - approximately 80 bits per row last time I looked (version 7.x).
by ray.wurlod
Tue Nov 08, 2011 7:47 pm
Forum: General
Topic: istool not working correctly
Replies: 1
Views: 911

I can't see where you specified the project in your command.

I am therefore mystified that the command itself identified a project name.
by ray.wurlod
Tue Nov 08, 2011 7:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: floating point decimal is not fully supported
Replies: 2
Views: 1120

Read any of the IEEE monographs on storage of floating point numbers. All of them tell you that it can't be done - what's possible in a digital computer is at best a compromise. DataStage chooses to alert you to that fact whenever you use float or dfloat data types.