Search found 25 matches

by coolkhan08
Mon Dec 06, 2004 11:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Missing record from hash lookup
Replies: 1
Views: 1156

Missing record from hash lookup

Hi,
I created a hash file and later look it up on a sequential file. I have a missing record. Its just missing 1 record in the lookup. What would be the reason. Any guesses???
Thanks
Sam
by coolkhan08
Wed Dec 01, 2004 11:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP GDG file
Replies: 0
Views: 1382

FTP GDG file

Hi, I have to FTP a GDG file from mainframe. Everything works fine when I give the GDG number in the remote file name field and the DataSet name in the remote path name field of the FTP Stage, but when i give LD(0) in the remote file name in the FTP stage it doesnt work. How do I go about to get the...
by coolkhan08
Wed Dec 01, 2004 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sorting Hashfile possible?
Replies: 8
Views: 4063

I have the VOC pointer and can see the selection Tab on the Hash File stage but I cannot click it. Its like locked, what can be the reason.
Thanks
Sam
by coolkhan08
Tue Nov 30, 2004 3:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to unlock a job
Replies: 3
Views: 1723

You need Admin rights. :D
by coolkhan08
Mon Nov 29, 2004 12:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from Multiple Hash
Replies: 5
Views: 1962

Now Iam dense... :) For Ex: HashA HashB HashC Col1 Col1 Col1 text1 text3 Text1 text2 text1 Text4 The output I need is HashOutput Col1 Col2 text1 A text2 A text3 B text1 B text1 C text4 C How can this be acheived other than going for 3 different jobs. Thanks. Sam
by coolkhan08
Mon Nov 29, 2004 12:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: count on hash file
Replies: 7
Views: 3507

Try this

Code: Select all

SETFILE HashFilePath HashFileName OVERWRITING

Code: Select all

Count HashFileName
U have to execute it on the command line interface in Admin else u can telnet into the server and in the uv shell execute this commands.
[/code]
by coolkhan08
Mon Nov 29, 2004 9:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from Multiple Hash
Replies: 5
Views: 1962

I have 5 hash files with a single column. Iam trying to merge all these files into a single file and associate a type value in the target hash file. The value coming from hash file 1 can have a type value as 1 and value coming from second hash file can have a value of 2 in addition to the hash file ...
by coolkhan08
Mon Nov 29, 2004 9:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from Multiple Hash
Replies: 5
Views: 1962

Load from Multiple Hash

Hi, I wanted to know how we can load from multiple hash files, having a single column into another hash file having that column and a coresponding type column which would have a hard coded value for the column coming from each hash file. For ex. if we have 5 source hash files then the target hash fi...
by coolkhan08
Sun Nov 28, 2004 11:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Universe
Replies: 4
Views: 1912

I have the client and server both on Win XP, I got the count of the hash file by creating a VOC entry by using SETFILE and getting the count through the Admin Command window. The same is true for getting the info through the UV shell. I could also query the hash file successfully. I wanted to get th...
by coolkhan08
Fri Nov 26, 2004 11:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generate Timestamp
Replies: 13
Views: 5610

Guess I have to RTFM. Thanks!
by coolkhan08
Fri Nov 26, 2004 2:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generate Timestamp
Replies: 13
Views: 5610

Geez!!! forgot you were in australia. I got the value from the function as 54190.773 which was similar to the output of Time() . I guess windows cant give me more than millisecs. Also 10/3 gives 3.333333333. So what does that mean about the datastage Precison . Can you explain about it. Thanks for t...
by coolkhan08
Thu Nov 25, 2004 9:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generate Timestamp
Replies: 13
Views: 5610

Ray can you shed some light on generating a seconds of 6 precision in datastage and loading it to teradata or SQL. Iam right now able to acheive a degree of 3 using the above logic. I read in a previous post of generating a 8 digit random number following the seconds of the TimeDate() for uniqueness...
by coolkhan08
Wed Nov 24, 2004 11:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generate Timestamp
Replies: 13
Views: 5610

Thanks Craig, I did figure out by searching through the forum. I used

Code: Select all

CurrTime = Time() 

OCONV(DATE(), "D/YMD[4,2,2]") : " " : OCONV(CurrTime, "MTS:") : ".":field(CurrTime,".",2) 
And this works perfectly.
SAM
by coolkhan08
Wed Nov 24, 2004 10:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generate Timestamp
Replies: 13
Views: 5610

Thanks for all the replies. I used TimeDate() function and I could generate the timestamp. But i need the precison to 1/1000th sec like 2000-08-06 01:29:12.717 in SQl and in teradata too. Iam getting the timestamp like this 2004-11-24 08:53:52 using Oconv(Date(), "D-YMD[4,2,2]") : " &...
by coolkhan08
Tue Nov 23, 2004 3:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generate Timestamp
Replies: 13
Views: 5610

generate Timestamp

Hi,
I need to generate timestamp in datastage and store it in SQL and also in Teradata. Which would be the best way of generating the timestamp and be consistent with the format with what we see in SQL and Teradata.
Thanks.
SAM