Search found 230 matches

by naren6876
Wed Mar 23, 2005 3:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

HI when i compile iam getting the following errors Compiling: Source = 'DSU_BP/DSU.LOCDUP', Object = 'DSU_BP.O/DSU.LOCDUP' ? 0005 a = DSExecute("UNIX","wc -l /xyz.txt", Output, SystemReturnCode) ^ ',' unexpected, Was expecting: '!', ')', '=', "AND", "OR", &quo...
by naren6876
Wed Mar 23, 2005 2:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

HI, Can i use the following code to stop the process. Thanks in advance filename = "/xyz.txt" Call DSExecute("UNIX","sort -u /xyz.txt > /xyz.txt", Output, SystemReturnCode) a = DSExecute("UNIX","wc -l /xyz.txt", Output, SystemReturnCode) b = DSExecut...
by naren6876
Wed Mar 23, 2005 1:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

Hi, Iam using the following before job routine.But my xyz1.txt file is not sorting with the unique values. Any explanation please, thanks in advance Call DSExecute("UNIX","cp /xyz.txt /xyz1.txt", Output, SystemReturnCode) Call DSExecute("UNIX","sort -u /xyz1.txt&qu...
by naren6876
Wed Mar 23, 2005 10:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

please give me the sample code for CheckYDuplicate routne Thanks in advance I think your fastest and easiest design will be stage variables. Looking at your original post you have a transaction group delimited by two X records. Between these X records you have one or more Y records and you want to m...
by naren6876
Wed Mar 23, 2005 9:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

i didn't give any constraints on output SEQ File link. I mentioned only the LookUP.NOTFOUND on output hashfile link. Thanks naren Please post the constraints for each of your output links. In the second design, there really is not a constraint on the output link to the hashed file. If you have one, ...
by naren6876
Tue Mar 22, 2005 6:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML input PDF File
Replies: 2
Views: 1031

XML input PDF File

HI

Where can i find the XML Input stage PDF file.

Thanks in advance
by naren6876
Tue Mar 22, 2005 6:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

i have used your original design to achieve this. but, it doesn't work for me. I got all the source records into output sequential file.Nothing in output hashed file. any explanation please. Thanks in advance So, if you see the same two values more then once, the file is bad. My original design work...
by naren6876
Tue Mar 22, 2005 6:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to extract data from XML file
Replies: 6
Views: 3596

hi where can i find the XML INPUT PDF FILE THANKS IN ADVANCE NAREN There is one crucial design requirement of XML Input - you need to pass it an input link contain a URL or an file path or an XML document. At no point does the XML Pack help file or PDF manual tell you how to do this in a parallel jo...
by naren6876
Tue Mar 22, 2005 3:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

Hi, Let me put my requirement in this format. I have seq file with 2 columns SEQNO and SECNO. For One SEQNO We can have multiple SECNO'S. But not same SECNO.If I get the file like below i need to reject the file.Because for the SEQNO '001' we have same SECNO '001' SEQNO SECNO 001 001 001 001 002 001...
by naren6876
Tue Mar 22, 2005 2:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

hOWTO SPECIFY THIS HashedLookup.NOTFOUND IN CONSTAINT

The constraint on the write to the hashed file is:

Code: Select all

 HashedLookup.NOTFOUND And Seq.OneLine[1,1] = "X" And Seq.Online[1] = "1"
[/quote]
by naren6876
Tue Mar 22, 2005 10:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq file
Replies: 24
Views: 4985

seq file

HI, MY SEQ FILE LOOKS LIKE XHHA00691473400000000000001 YHHA00691473400000000000001 ZHHA00691473400000000000001 ZHHA00691473400000000000001 YHHA00691473400000000000001 ZHHA00691473400000000000001 ZHHA00691473400000000000001 XHHA00691393500000000000001 YHHA00691393500000000000001 ZHHA00691393500000000...
by naren6876
Sat Mar 19, 2005 12:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Control routine
Replies: 6
Views: 1671

hi
job name is GetFNames only. typing error
ray.wurlod wrote:If the job name is "GETFNAMES" then this is the name you must use in DSAttachJob, not "GetFNames". Job names are case-sensitive.
by naren6876
Fri Mar 18, 2005 7:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Control routine
Replies: 6
Views: 1671

Actually in my first job GETFNAMES iam getting the filenames from the folder to sequential file. Then i want to read those filenames and based on filename or substring("filename",1,2)="xy" i want to call other job. Until the end of all filenames. Am i doing in the right way?. Any...
by naren6876
Fri Mar 18, 2005 7:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Control routine
Replies: 6
Views: 1671

hi
by naren6876
Fri Mar 18, 2005 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Control routine
Replies: 6
Views: 1671

Job Control routine

Hi , Following is the my job control routine. * Setup GetFName, run it, wait for it to finish, and test for success hJob1 = DSAttachJob("GetFName", DSJ.ERRFATAL) If NOT(hJob1) Then Call DSLogFatal("Job Attach Failed: GetFName", "JobControl") Abort End ErrCode = DSSetDis...