Search found 15603 matches

by ArndW
Wed Jun 25, 2008 3:17 am
Forum: General
Topic: ms in timestamp always show up as 0 (linux)
Replies: 6
Views: 2764

I didn't realize that this was a new function at V8; but if it is any consolation I have a PMR open with IBM regarding problems with this function. Could you try to use a timestamp output datatype to a peek stage with the extended attributes set to see if that works?
by ArndW
Wed Jun 25, 2008 2:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetJobInfo for get sequence name
Replies: 4
Views: 2131

The DSJobController macro that Craig mentioned will give you the runtiem information for a job - meaning that it will return the job or sequence name that called it for a given run. I've been using V8, which has extended metadata reporting capabilities, so cannot give you the exact method to use a V...
by ArndW
Wed Jun 25, 2008 2:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import warning with sequential file
Replies: 3
Views: 1117

Re: Import warning with sequential file

dodda wrote:...Missing record delimiter "\n", saw EOF instead...
is the important part. You haven't defined line terminators identical to your file contents.
by ArndW
Wed Jun 25, 2008 2:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job stops running after some time
Replies: 13
Views: 5660

Do you have a constraint in your transform stage - either an explicit clause using @INROWNUM or perhaps a row limiter? When you job stops, is it with a status of aborted?
by ArndW
Tue Jun 24, 2008 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sysdate in the job
Replies: 2
Views: 905

@DATE and @TIME will return the internal format for the date/time when the process was started, DATE() and TIME() will return the date/time of when the function was called.
by ArndW
Tue Jun 24, 2008 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ASCII Nulls in Sequential File
Replies: 3
Views: 1230

To convert to "?" in a transform stage, use "CONVERT(CHAR(000),'?',In.StringColumn)"
by ArndW
Tue Jun 24, 2008 5:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Operator terminated abnormally: runLocally did not return AP
Replies: 1
Views: 1121

Mandyli - that is the DataStage equivalent of the "Warning" light in your car lighting up. It means something has gone wrong but doesn't really narrow down the cause. Has your job ever run without the error? Have you tried resetting the job to see if the log shows more information? Are there other m...
by ArndW
Tue Jun 24, 2008 2:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Warning
Replies: 4
Views: 2911

shobhitj - please get Premium membership.
by ArndW
Tue Jun 24, 2008 2:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading into Packed Decimal Field
Replies: 1
Views: 1411

PICS S9(5) COMP-3 is a standardized COBOL format, it can contains values from -99999 through 99999 and always uses 3 Bytes (6 nibbles or 24 bits) to store this information. Each digit is stored in 4 bits (1 nibble) and the sign occupies another 4 bits. 7 numeric digits will fit into a PIC S9(7) COMP...
by ArndW
Tue Jun 24, 2008 2:13 am
Forum: General
Topic: ms in timestamp always show up as 0 (linux)
Replies: 6
Views: 2764

What about

Code: Select all

TimestampToString(CurrentTimeStampMS(),"%yyyy%mm%dd%hh%nn%ss.3")
by ArndW
Tue Jun 24, 2008 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: last date of next month
Replies: 2
Views: 1333

No need to code anything external. The high-level logic to do this is to take the date, add 2 months, then subtract one day. The DateFromDaysSince() function performs addition/subtraction from a date.
by ArndW
Tue Jun 24, 2008 12:22 am
Forum: General
Topic: ms in timestamp always show up as 0 (linux)
Replies: 6
Views: 2764

Often this happens when your column does not have the "extended" attribute enabled. right-mouse-click on the column, then "edit row" and see what your settings are.
by ArndW
Tue Jun 24, 2008 12:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to View data from dataset
Replies: 11
Views: 3780

When I do "orchadmin describe -c {dataset name}", i am getting the following error: ##E TFPA 000021 $APT_CONFIG_FILE was not set... As mentioned earlier, you will need to set the UNIX env variables and also run the ". $DSHOME/dsenv" file. I am not at a datastage site right now, but I think that the...
by ArndW
Mon Jun 23, 2008 7:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best ways for updating a table
Replies: 19
Views: 5131

How long does Job 1 take? Combining these two jobs and removing the DataSet will certainly speed up processing.
by ArndW
Mon Jun 23, 2008 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to View data from dataset
Replies: 11
Views: 3780

use "orchadmin describe -c {dataset}" to get the APT_CONFIGuration from the dataset, then compare that with your dataset as used in the job.