Search found 15603 matches

by ArndW
Tue Jun 07, 2005 12:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert VarBinary Datatype to string
Replies: 7
Views: 6028

Declare in the input as VarChar - unless you have NLS enabled.
by ArndW
Mon Jun 06, 2005 11:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Basic Statement - CREATE
Replies: 11
Views: 1940

I probably got the syntax wrong. Look at the BASIC manual PDF for the exact command, it might be ON ERROR (actually, now that I think about it, that is the correct form)
by ArndW
Mon Jun 06, 2005 11:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Basic Statement - CREATE
Replies: 11
Views: 1940

akrzy,

so what happens when you run the code with the ON.ERROR, does it enter that branch?

Does the C:\DS305FILES directory exist (i.e. what happens if you just try to open C:\test.txt?
by ArndW
Mon Jun 06, 2005 11:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: More than one XML Reader in a Job?
Replies: 3
Views: 633

Could you change your .XML source file to have 1W-NR (1 writer and N-readers). I'm not at a system right now where I can get the correct syntax for you. There should be no reason that a sequential file could not be read by n processes simulataneously, and I think the error you are getting is because...
by ArndW
Mon Jun 06, 2005 10:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compiler or Interpreter?
Replies: 10
Views: 3184

Although the last thing I want to do is simply post an answer to an interview quesiton, I think that this is silly enough to warrant an answer and that some of the members here might be interested in an answer. The underlying Server engine is a UniVerse based system. The programming language used in...
by ArndW
Mon Jun 06, 2005 9:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DRS Plugin Not Responding
Replies: 7
Views: 2265

Hello itconsulting, my first question is to ask whether or not you have DRS installed - I know a program should never hang but at least it would go a bit towards explaining your problem. Does the Designer actually hang (meaning "not responding" status in windows) or does it just not return anything.
by ArndW
Mon Jun 06, 2005 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Basic Statement - CREATE
Replies: 11
Views: 1940

akrzy, Your code basically tries to open a sequential file and if it is not already there it will specifically CREATE an empty file. At least that is what is supposed to be happening. Do not use the ABORT command, the preferred method of stopping any DataStage job from continuing is to call DSLogFat...
by ArndW
Mon Jun 06, 2005 5:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to declare & use parameter in Routines
Replies: 14
Views: 11356

Devyani, If your function works like ParamValue = ReadFromParameterFile(ParameterName) then in your case you would write a DataStage sequence with a routine stage that retrieves the parameter value you want to use, then in your Job stage you would use that variable to pass in the parameter value. Th...
by ArndW
Mon Jun 06, 2005 3:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job completion status
Replies: 5
Views: 1447

Tytoi, as you are calling the end-of-job subroutine from within you job itself, it will always return the status of "running"; in order for this to work you need to get the status after it completes. If you start and run your job from a sequence or from a Job Control, the status of the job will be a...
by ArndW
Mon Jun 06, 2005 3:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to declare & use parameter in Routines
Replies: 14
Views: 11356

Hello Devyani, there is a difference in how you do this depending upon whether you are writing a DataStage function or a before/after Routine. With functions you can declare any number of arguments and one function return value. So you could declare an input parameter for each of the values that you...
by ArndW
Mon Jun 06, 2005 2:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSP.Open Error writing to Oracle - again.
Replies: 15
Views: 5935

Usually the access violation$ error stems not from OS level file access but from memory access problems - a program is trying to modify a virtual memory address that is read-only [most commonly it is the code portion where an errant reference points to]. A quick look at the code shows that the error...
by ArndW
Mon Jun 06, 2005 2:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading CFF
Replies: 4
Views: 807

Hello Lindies,

this behaviour is consistent with COBOL signed datatypes. Just make sure that you use the same datatype in DS as the Cobol PIC clause and it will be handled correctly.
by ArndW
Mon Jun 06, 2005 12:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange hash file behaviour
Replies: 6
Views: 1137

If someone did an "rm" inside the directory, the .Type30 file must have disappeared. I the .Type30 disappears, then DS loses the information about what type of a file it is - so it will assume that it is a Type 1 or 19 file, and each write to that "file" will create a "record" (UNIX file) with the ...
by ArndW
Mon Jun 06, 2005 12:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to use Account Name in hash file
Replies: 9
Views: 3270

Shyu, the "Account Name" option will tell the DataStage process to attach to that account directory (it knows where that is located on the system by looking up the entry in the UV.ACCOUNT file) and then looking into that account's VOC for an entry for the given hash file. This VOC entry will contain...
by ArndW
Fri Jun 03, 2005 12:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abort when Reject occurs during Upsert
Replies: 6
Views: 2207

Lance - I couldn't think of another way to do it easily, at least in Px.