Search found 15603 matches

by ArndW
Tue Oct 02, 2007 5:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stange behaviour...file size in Unix(AIX) is 0
Replies: 15
Views: 4419

kaps - when fuser doesn't return anything it means that no process has the file open. Check your job parameters again to see what the output file should be. If you are certain that you are looking at the correct file then you should check to see if the job is actually still running by using "ps -ef ...
by ArndW
Tue Oct 02, 2007 5:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Status in a file
Replies: 6
Views: 1277

You need to create your own after-job subroutine; and then use a function such as DSGetJobInfo() from inside that subroutine.
by ArndW
Tue Oct 02, 2007 5:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Batch Job - send email issue
Replies: 3
Views: 1215

Please enclose your program in "code" tags to make it legible.

You code issues a call to DSWaitForJob(), this is why it executes in sequence.
by ArndW
Tue Oct 02, 2007 3:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stange behaviour...file size in Unix(AIX) is 0
Replies: 15
Views: 4419

if the job is still running then your data might be buffered and not flushed to disk. You won't know the actual file contents until the job completes.
Try doing a 'fuser -fux {filename}' to see if your DataStage job actually has this file open for write; you might be looking at the wrong file.
by ArndW
Tue Oct 02, 2007 3:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Why am I getting an extra double quotes for scheduled job
Replies: 5
Views: 1480

Dang - just as an aside, you can mix quote characters in DataStage, so your command could read:

Code: Select all

'copy "':SOME_PATH:'\DataIn\REGION.CSV" "':BASE_PATH:'\data_in\user\REGION.CSV" /Y /V'


If you use that, does your error remain the same?
by ArndW
Tue Oct 02, 2007 3:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Table Definition of mainframe in Seq files
Replies: 5
Views: 2235

Have you tried replace the "BINARY" with "CHARACTER" in your .dsx file and then importing the table definitions?
by ArndW
Tue Oct 02, 2007 3:20 pm
Forum: General
Topic: Datastage Query
Replies: 2
Views: 1499

Nitin, this question and your other post in the Server forum are not the type of queries that DSXChange expects. There is nothing wrong with being a beginner, all of us were absolutely 'green' at some point in time. But it is expected that participants read the documentation and experiment with prob...
by ArndW
Tue Oct 02, 2007 3:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stange behaviour...file size in Unix(AIX) is 0
Replies: 15
Views: 4419

Delete your empty file. Re-run the job with the correct parameter setting (confirm the setting in the director log entry for the job). Is the empty file created again? Do you have an after-job subroutine that might touch the file?
by ArndW
Tue Oct 02, 2007 3:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation Problem
Replies: 3
Views: 1486

If the SetNull() and reject set are your only problems then it still doesn't explain why one user can compile and another cannot. I would check your environment settings and permissions (particularly group permissions).
by ArndW
Tue Oct 02, 2007 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Query
Replies: 3
Views: 1172

Re: Datastage Query

Can we get a return values in routines or not? Yes, routines can return values How can I run a routines in windows & unix enviornment? Yes, DataStage server routines will work across all supported platforms How will I create a before & after sub routines? Follow the instructions in the docum...
by ArndW
Tue Oct 02, 2007 6:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Corrupt Jobs
Replies: 10
Views: 2749

There are various types of errors, and not all of them can be detected or discovered the same way.

Recompilation usually does a good job of either detecting or eradicating errors.
by ArndW
Mon Oct 01, 2007 5:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Change file permissions using DataStage
Replies: 1
Views: 1121

You could set your default umask to create the file with the appropriate permissions in the first place. In order to do a chmod you will need to shell out, there is no other builtin method to change permissions of file system objects.
by ArndW
Mon Oct 01, 2007 4:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate Hex(15) in Seq File
Replies: 7
Views: 2108

I would re-check your hex editor output. What happens if you output char(32)? That should show up as a space.
Perhaps you could try a very simple job, writing just that one character value to a file and make 100% sure that you are getting what you expect.
by ArndW
Mon Oct 01, 2007 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: JOB CONTROL USING BASIC CODE SQL ERROR
Replies: 5
Views: 2466

Does the following Command work?

Code: Select all

Command = "select @@error;select @@error;" 
by ArndW
Mon Oct 01, 2007 3:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot find parameter file record DSParams in &UFD&
Replies: 12
Views: 10036

Ok, that message means that your DSParams file is actually in the project directory. Can you explicitly set the permissions on the file to allow all access to everyone and see if your error message goes away?