Search found 53125 matches

by ray.wurlod
Wed Mar 30, 2016 4:14 pm
Forum: General
Topic: Passing User variable to Exception Handler
Replies: 11
Views: 3858

@DATE and @TIME are in a DataStage internal format. In the user variable expressions use Oconv() function to convert them to whatever format you require.
For example:

Code: Select all

Oconv(@DATE, "D-YMD[4,2,2]")
by ray.wurlod
Wed Mar 30, 2016 4:11 pm
Forum: IBM QualityStage
Topic: Match Specification run Error
Replies: 1
Views: 3697

Not directly. Somewhere the qsMatchID field is coming into a stage as uint64 but the output side maps it as int64. Look at the score; there is a Copy stage in the composite operator CA_Match_Freq, and it is here that the first problem is occurring. Check the column definitions on your Match Frequenc...
by ray.wurlod
Tue Mar 29, 2016 11:51 pm
Forum: General
Topic: ExeCmd always execute SERIALLY within a single Sequence Job
Replies: 9
Views: 2588

Another thought. When you issue a nohup command, the PID of that process is reported to stdout, and therefore could be captured via the $CommandOutput activity variable of the Execute Command activity.
by ray.wurlod
Tue Mar 29, 2016 11:33 pm
Forum: General
Topic: ExeCmd always execute SERIALLY within a single Sequence Job
Replies: 9
Views: 2588

You can get the PID in a number of ways, for example enabling APT_PM_SHOW_PIDS. But this gives the PIDs of the player processes; their parents are the section leader processes, and their parent is either the conductor process or its rsh agent. And only the parent process of that will be the PID of t...
by ray.wurlod
Tue Mar 29, 2016 7:22 pm
Forum: General
Topic: Passing User variable to Exception Handler
Replies: 11
Views: 3858

To clarify, an Exception Handler itself cannot access user variables, since it has no use for them. It can only have an Unconditional trigger. Activities downstream of the Exception Handler cannot access user variables defined outside that stream, since there is no direct connection. If there is a U...
by ray.wurlod
Tue Mar 29, 2016 6:23 pm
Forum: General
Topic: SSL Certificates for Cross Project Compare
Replies: 7
Views: 4407

SSL Certificates for Cross Project Compare

Trying to perform cross project compare. I have (apparently) succeeded in importing the certificates from the two machines on which the projects exist. I can browse for the job on the attached project. But when I click OK in the Cross Project Comparison Tool to effect the comparison, an error is thr...
by ray.wurlod
Tue Mar 29, 2016 6:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical pivot design challenge
Replies: 15
Views: 5521

No, to do that we would have to guess, and possibly (probably) waste time.
How about some additional specifiations?
by ray.wurlod
Tue Mar 29, 2016 6:06 pm
Forum: General
Topic: Passing User variable to Exception Handler
Replies: 11
Views: 3858

Agreed. However the system variables @DATE and @TIME are set when the job starts, so they could be used to assign values to user variables, as could the DataStage macros such as DSJobStartDate, DSJobStartTime and DSJobStartTimestamp. All of the SDK functions are also available too, via DSRoutines.
by ray.wurlod
Tue Mar 29, 2016 5:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic vertical pivot issue
Replies: 14
Views: 6235

I guess we need to wait to see how kumarjit reacts.
by ray.wurlod
Tue Mar 29, 2016 5:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical pivot design challenge
Replies: 15
Views: 5521

Looking at the original post, isn't this simply a rows-to-columns pivot?
by ray.wurlod
Tue Mar 29, 2016 5:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic vertical pivot issue
Replies: 14
Views: 6235

My approach achieves the expected output. I couldn't read any further requirement in the SQL provided.
by ray.wurlod
Tue Mar 29, 2016 5:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to create schema files
Replies: 7
Views: 3019

priyadarshikunal wrote:Open table metadata in developer and click on parallel radio button.
Right click and choose Save As... to create the schema file.
by ray.wurlod
Tue Mar 29, 2016 5:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to create schema files
Replies: 7
Views: 3019

Create and compile your parallel job. Open the generated OSH and copy the relevant schema from there before pasting into a file. Name the file with a ".osh" suffix.
by ray.wurlod
Tue Mar 29, 2016 5:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup fails if key is decimal, and input has a period
Replies: 7
Views: 5917

If the number of decimal places is always the same, I'd try using Trim() or Convert() to get rid of the ".". If the number of decimal places is not always the same, I'd try multiplying the numbers by a sufficiently large power of ten before getting rid of the ".". And I'd probabl...
by ray.wurlod
Tue Mar 29, 2016 5:21 pm
Forum: General
Topic: Passing User variable to Exception Handler
Replies: 11
Views: 3858

User variables are only available if they are in the same "timeline" - that is, if there is a direct path in the sequence between the User Variables activity and the activity in which you want to use them. To use a user variable downstream of the Exception Handler you will need a User Vari...