Search found 15603 matches

by ArndW
Mon Nov 09, 2009 4:28 am
Forum: General
Topic: Routine - Nested if-else
Replies: 5
Views: 2407

Hmmm, now this is starting to look like interview questions. If not, show us what you've tried so far.
by ArndW
Mon Nov 09, 2009 4:00 am
Forum: General
Topic: Routine - Round() function
Replies: 4
Views: 3331

The INT() function truncates a number, so for positive numbers the function would be

Code: Select all

INT(In.NumericValue+0.5)
by ArndW
Mon Nov 09, 2009 3:58 am
Forum: General
Topic: Routine - equivalent Round() in datastage
Replies: 1
Views: 3169

Asking the same question in two threads won't get you better answers.
by ArndW
Mon Nov 09, 2009 3:38 am
Forum: General
Topic: Routine - Round() function
Replies: 4
Views: 3331

BASIC has not ROUND() function.
by ArndW
Mon Nov 09, 2009 3:30 am
Forum: General
Topic: Rountine - sysdate
Replies: 1
Views: 656

The @DATE and DATE() functions will do that for you.
by ArndW
Mon Nov 09, 2009 2:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Degree ° symbol issue from DB2 on AS/400
Replies: 4
Views: 5963

This might be the AS/400 conversion from EBCDIC. Have you tried setting $APT_EBCDIC_VERSION to IBM01141?
by ArndW
Mon Nov 09, 2009 2:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to check byte length of data?
Replies: 10
Views: 4457

Craig - we had to put in a BASIC transform stage in order to figure out byte lengths, basically we had to parse a very long string into multiple Oracle strings and they could contain multibyte data and the BASIC ByteLen() was our first choice. I think we've now replaced that with a BuildOp because t...
by ArndW
Mon Nov 09, 2009 2:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to execute orchadmin commands
Replies: 10
Views: 20813

Set the $APT_CONFIG_FILE in your user's .profile, e.g.:

Code: Select all

export APT_CONFIG_FILE=/opt/IBM/InformationServer/Server/Configurations/default.apt
by ArndW
Sun Nov 08, 2009 4:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BuildOPs and large files
Replies: 2
Views: 1265

If you manually enter your compile from the command line does it compile without an error? /usr/vacpp/bin/xlC_r -O -I/dms/Ascential/projects/DMSProjects/buildop -I/landing01/dataint/Ascential/DataStage/PXEngine/include -D_LARGE_FILES -qlonglong /dms/Ascential/projects/DMSProjects/buildop/bosource307...
by ArndW
Thu Nov 05, 2009 3:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Opportunity
Replies: 0
Views: 821

Isn't the "Looking for Talent" forum more appropriate for this?
by ArndW
Thu Nov 05, 2009 3:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reject file
Replies: 2
Views: 1199

Server job output stage rejects come off the transform stage before the actual output stage, unlike PX jobs where they come directly off the actual output stage.
by ArndW
Wed Nov 04, 2009 6:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: intermediate hash file
Replies: 5
Views: 1309

If the intermediate file is to be read sequentially, then using a hashed file instead of a sequential file would be adding unnecessary overhead.
by ArndW
Tue Nov 03, 2009 5:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: U_ILLEGAL_ARGUMENT_ERROR encountered in Datastage PX 7.5.2
Replies: 7
Views: 3138

Change your timestamp to a char(19) and see if the error goes away. I would think it is the nonstandard "MMM" portion that you haven't catered for.
by ArndW
Mon Nov 02, 2009 9:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting Sequencer name from the job name
Replies: 16
Views: 5933

If you want the parent process of the job that is running, then simple use "DSGetJobInfo(DSJ.ME,DSJ.JOBCONTROLLER)"
by ArndW
Mon Nov 02, 2009 9:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS - Loading Extended Characters to SQL Server 2005
Replies: 11
Views: 4972

I know that you can do a "OCONV(YourString,NLSMapName)" and check the return code using STATUS() but there might be a single command to check - you could try searching the BASIC handbook (which I don't have available to me now).