Search found 53125 matches

by ray.wurlod
Wed Jan 13, 2010 4:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Execute SQL Server Stored Procedure to Drop Index
Replies: 6
Views: 3113

Open command to drop indexes, Close command to re-create indexes. Open command in either stage, Close command in target stage: I'd put them both in the target stage.
by ray.wurlod
Wed Jan 13, 2010 3:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Execute SQL Server Stored Procedure to Drop Index
Replies: 6
Views: 3113

Probably better to use the Open and Close commands in the ODBC Enterprise stage (or SQL Server Enterprise stage, if that's what you're using).
by ray.wurlod
Wed Jan 13, 2010 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weekends between two dates
Replies: 7
Views: 2593

What about holidays?

This is the kind of situation where you need a time dimension table, which flags the day type. Your result is then a simple query of the form

Code: Select all

SELECT COUNT(*) FROM TimeDim WHERE THE_DATE BETWEEN :1 AND :2 AND DAY_TYPE = 'B';  -- 'B' = business day
by ray.wurlod
Wed Jan 13, 2010 3:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: explain oracle enterprise stage......?
Replies: 5
Views: 1625

Actually, the answer is that there's no Oracle enterprise stage in server jobs. You marked the job type as Server.
by ray.wurlod
Wed Jan 13, 2010 3:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2z error
Replies: 9
Views: 6072

There are two errors here. One is that DSHOME or APT_RESPATH environment variables are not set, so that DataStage can not retrieve the text associated with the error. This is easily fixed. The second, for now, is "??". Once the first has been fixed there may be some useful information ther...
by ray.wurlod
Wed Jan 13, 2010 3:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting DB2 environment variables
Replies: 16
Views: 4985

There is an entire manual on DB2 connectivity. Have you read it?

Are you using DB2 Connect on the DataStage server (which is the DB2 client)? This is the usual method for accessing DB2 tables on different platforms.

You still need to bind, though.
by ray.wurlod
Wed Jan 13, 2010 3:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: UniData 7.2.3 Upgrade with server job
Replies: 4
Views: 1834

Yes, provided you're using the current version UniODBC driver.
by ray.wurlod
Wed Jan 13, 2010 3:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL server Datetime
Replies: 1
Views: 1008

Convert to or from what?
by ray.wurlod
Wed Jan 13, 2010 3:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: rolling partitions for 12 week
Replies: 5
Views: 1522

That's not how Data Sets work. So, no.
by ray.wurlod
Wed Jan 13, 2010 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trailing sign in decimal field
Replies: 5
Views: 2218

In UniVerse the conversion IS in metadata, it's stored in the file dictionary of a hashed file. Since you are dealing with a byte stream, there's no corresponding metadata-based mechanism.

Can you give examples of all formats so that we don't have to guess a "best" solution?
by ray.wurlod
Wed Jan 13, 2010 3:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: some datastage server edition questions
Replies: 6
Views: 2525

The best answer to Q10 is "more".
by ray.wurlod
Wed Jan 13, 2010 3:23 pm
Forum: General
Topic: Job Scheduling is not functioning.
Replies: 25
Views: 53107

...i got it.. but u invoked another query in my mind. In either way of this migration process, crontab entry is going to be affected. Isn't it? Or do u mean it would get affected only with the "OVERWRITE" process, u mentioned. I don't recall that U posted on this thread! Please strive for...
by ray.wurlod
Wed Jan 13, 2010 3:21 pm
Forum: General
Topic: Error Calling stored procedure
Replies: 8
Views: 4470

The first error is
ORA-12154: TNS:could not resolve the connect identifier specified

Resolve this first. If you can't connect to Oracle there's no much point proceeding with diagnosing the other messages, which may result directly from the first.
by ray.wurlod
Wed Jan 13, 2010 3:19 pm
Forum: General
Topic: I-descriptor was not compiled error
Replies: 3
Views: 1332

EVAL expressions take BASIC functions, not SQL functions. There is no SUBSTRING function in BASIC (you can use SUBSTRINGS or the square bracket notation).

Code: Select all

SELECT EVAL "IF MSG.ARGS = '' THEN MSG.TEXT[5,LEN(MSG.TEXT)-13)] ELSE MSG.ARGS" FROM RT_LOG21 WHERE TYPE=5;
by ray.wurlod
Wed Jan 13, 2010 2:04 am
Forum:
Topic: Exporting/Importing Operational Metadata
Replies: 5
Views: 3351

No, it was introduced in version 8.1.