Search found 15603 matches

by ArndW
Mon Jan 25, 2010 8:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 3386

Did you replace the text "schemaname" in the post or is that what is displayed? Cut-and-Paste your datastage SQL into the tool of your choice and see if it works or also shows an error.
by ArndW
Mon Jan 25, 2010 8:33 am
Forum: General
Topic: function to check zero byte file
Replies: 9
Views: 1944

Use UNIX "sed '1d' YourFileFileName > wc" to strip out the first line from the total count.
by ArndW
Mon Jan 25, 2010 8:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To run sequence continuely
Replies: 4
Views: 1396

Isn't the maximum value for a counted loop of millions of iterations long enough for normal use? Start at -99999999, step 0.0001, maximum of 999999999999
by ArndW
Mon Jan 25, 2010 8:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parameter between double quote when scheduled
Replies: 20
Views: 4480

Is drive "D" a local disk, or a network mapped drive?
by ArndW
Mon Jan 25, 2010 8:22 am
Forum: General
Topic: function to check zero byte file
Replies: 9
Views: 1944

No file size function and no line count function, but trivial to add to the program sample and even easier using the UNIX function "wc". FileSize(InputFilePath) Ans = '' ;** returned if file size couldn'b be determined OPENSEQ FilePath TO WorkFilePtr THEN LineCount = 0 ByteCount = 0 Finish...
by ArndW
Mon Jan 25, 2010 8:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion warning
Replies: 8
Views: 3558

Actually, it should be StringToDate(GLTxnread.NW_WRK_DT_SRC_ORIG,"20%yy%mm%dd") for dates in 2000 and the conversion without the century values uses the default system setttings. If you have invalid non-date values, then you should add a call to the function IsValid() to determine whether ...
by ArndW
Mon Jan 25, 2010 6:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any way to run the Datastage jobs from Remote PC???
Replies: 9
Views: 3828

Just copy your "dsjob.exe" to the remote machine and call it from there.
by ArndW
Mon Jan 25, 2010 6:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 3386

could you post the full error message, which (I think) will also contain the query as seen by Oracle.
by ArndW
Mon Jan 25, 2010 6:24 am
Forum: General
Topic: function to check zero byte file
Replies: 9
Views: 1944

No, but you could write your own in DataStage: FileEmpty(InputFilePath) Ans = '' ;** returned if file size couldn'b be determined OPENSEQ FilePath TO WorkFilePtr THEN READBLK Dummy FROM WorkFilePtr, 1 THEN 0 ELSE 1 CLOSESEQ WorkFilePtr END ELSE Ans = '' But even easier is to shell out to Unix and us...
by ArndW
Mon Jan 25, 2010 4:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 3386

The contents of the columns can be larger than 31 characters, but this is referring to your column name length(s) which need to be shortened.
by ArndW
Mon Jan 25, 2010 3:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parameter between double quote when scheduled
Replies: 20
Views: 4480

What are the access rights to that file; since when running a scheduled job from Windows I think it uses different userid.
by ArndW
Mon Jan 25, 2010 3:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 3386

What happens if you add a ";" to the end of your query?
by ArndW
Mon Jan 25, 2010 3:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any way to run the Datastage jobs from Remote PC???
Replies: 9
Views: 3828

It is possible to start DataStage jobs on remote machines. Is that your question?
by ArndW
Thu Jan 21, 2010 8:08 am
Forum: General
Topic: Regarding job sequence
Replies: 2
Views: 1131

All of that information can be retrieved using several of the BASIC functions such as: DSAttachJob,DSDetachJob,DSGetJobInfo,DSGetStageInfo The DSGetJobInfo() function is the workhorse one which will get you most of the information you are looking for but you will have to write a bit of BASIC code ar...
by ArndW
Thu Jan 21, 2010 8:04 am
Forum: General
Topic: JOB CONTROL
Replies: 1
Views: 791

Unfortunately you started a new and orphaned thread for this, just go back to the original thread and reply to that.

Moderator - please remove this orphan thread.