Search found 15603 matches

by ArndW
Mon Jul 11, 2005 6:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Select value into Job Parametr
Replies: 9
Views: 2408

snassimr,

no code for this from me, although I think a good search will pick up some. You need to use the BASIC commands "OPEN" to open the hash file, and "READ" to read a record.
by ArndW
Mon Jul 11, 2005 6:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Activity of Job Sequence
Replies: 4
Views: 1252

Calling DSAttachJob() on your own job will hang for 30 minutes before returning an error, use the mnemonic DSJ.ME to refer to your own job. This has been the cause of "hang" conditions several times in the past.
by ArndW
Mon Jul 11, 2005 5:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting DSlinkinfo for a datastage job in shell script
Replies: 6
Views: 2992

Roy is correct, I missed that you were calling from a script, and not from an after-job subroutine. Thanks for catching that one Roy!
by ArndW
Mon Jul 11, 2005 5:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Select value into Job Parametr
Replies: 9
Views: 2408

snassimr, since job parameters cannot be changed within the job they are used in you will need an indirect approach. Write a DataStage job to read the database values and write them to a hash file or sequential file. Then write a short function in Uv/BASIC to read this value and return it to the cal...
by ArndW
Mon Jul 11, 2005 4:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting DSlinkinfo for a datastage job in shell script
Replies: 6
Views: 2992

dlkkrao, it would help if you could specify the error message you are getting. If your variables ExcludeCount_seq and ExcludeCount contain the Stage and Link names you are looking for then you should be getting a value. If ExcludeCount_seq and ExcludeCount are the actual stage and link names you nee...
by ArndW
Mon Jul 11, 2005 3:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job scheduling Problem in Director
Replies: 1
Views: 610

As Roy mentioned in your identical post on the Px forum, you can to directly to your scheduler to do things not available from the Director.

(cross-posting is not a good idea here, as most people will check multiple forums)
by ArndW
Mon Jul 11, 2005 1:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: code to convert EBCDIC to ASCII
Replies: 13
Views: 4097

Kumar,

just declare your sequential file as having one big column and do the EBCDIC to ASCII conversion and write it to a normal sequential file; then start to parse your contents. I've done that before when my file doesn't match the copybook.
by ArndW
Mon Jul 11, 2005 1:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of users for datastage at a time
Replies: 3
Views: 1404

It is in your license key, and also visible in the Administrator under license details.
by ArndW
Mon Jul 11, 2005 1:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Updating DATE and TIMESTAMP columns in DB2
Replies: 2
Views: 848

Zac,

Do you have column propagation enabled? Exactly what error are you getting?
by ArndW
Mon Jul 11, 2005 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential File error
Replies: 34
Views: 8630

How large is your sequential file when the job aborts? Could it be 2Gb and you are hitting a system-level or file-system level limit? Which OS and filesystem are you using?
by ArndW
Mon Jul 11, 2005 1:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS map to be used to transform Japanese characters
Replies: 4
Views: 1255

yaminids, your character set is not necessarily wrong. You might be hitting what are called "gaiji" characters that are not part of the standard mappings; these are sometimes used for archaic characters or corporate logo / specific kanji. What are the offending characters that are not mapped (I don'...
by ArndW
Mon Jul 11, 2005 1:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: code to convert EBCDIC to ASCII
Replies: 13
Views: 4097

Kumar,

in Px you can do the EBCDIC to ASCII conversion in the sequential file stage, Format->TypeDefault->String or in the "edit row" tab in the columns screen for each field in question.

The server functions ASCII() and EBCDIC() do not exist in Px.
by ArndW
Fri Jul 08, 2005 11:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Set variable names and values from sequential file
Replies: 3
Views: 1062

The reason you are having so many issues in creating variables on the fly is because it can't be done. What you could do is to create a variable and then populate that with your name-value pairs. I will assume that your are passing your database DSN, schema, password and user information to your job...
by ArndW
Fri Jul 08, 2005 7:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file writing slowing down suddenly
Replies: 11
Views: 4162

Viswanath, good that it worked; I remember that using the write cache would make jobs finish faster, but that the actual phantom process doing the writing from cache to the disk was actually still running when the job completed; I'll have to check [or wait for someone to tell me] whether or not this...
by ArndW
Fri Jul 08, 2005 2:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Process killing
Replies: 6
Views: 2305

More information on the deadlock daemon and it's use are found in the documentation, but this is the cut-and-paste from the installation guide: Deadlock Daemon - Windows and UNIX The default state of the daemon is OFF. You must change this to ON in order to use the daemon. To do this, you must chang...