Search found 138 matches

by Maximus_Jack
Mon Jun 04, 2012 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 9357

Hi Erine Yes, the problem is with the external stage, i created a new job and tried connecting a external source with a sequential file, in the source program i mentioned as "ls \Datastage\Testinputfiles\XML_in_Books.xml" (without quotes), but in the sequential file stage i'm getting as &q...
by Maximus_Jack
Mon Jun 04, 2012 10:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 9357

believe me... In the external source stage i put the slash in the windows style (ls \Datastage\Testinputfiles\XML_in_Books.xml) , but i dont know why its getting converted to a unix style... :( ....... i even tried typing in the command prompt, i'm getting in the unix style only, probably ls convert...
by Maximus_Jack
Mon Jun 04, 2012 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 9357

Thanks for your response ernie... i have tried your suggestion (ls \Datastage\Testinputfiles\XML_in_Books.xml), but no luck...i'm still getting the same error Datastage error ============ The primary document entity could not be opened. Id=C:\IBM\InformationServer\Server\Projects\Training//Datastage...
by Maximus_Jack
Sun Jun 03, 2012 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 9357

Hi Thanks for responding I tried replacing colon with equal sign, like "C=/Datastage/Testinputfiles/XML_in_Books.xml" but getting the error as Datastage error ========= Source subproc: ls: File or directory "C=/Datastage/Testinputfiles/XML_in_Books.xml" is not found and i tried t...
by Maximus_Jack
Sun Jun 03, 2012 11:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 9357

Hi Chulet pls Correct me if my understanding is wrong The colon ":" that is specified in the link is the windows path name, which is the second character after "C" C:\Datastage\Testinputfiles\XML_in_Books.xml I'm not sure about how i can give the "*" wild character in t...
by Maximus_Jack
Sun Jun 03, 2012 11:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 9357

Hi Thanks for responding FYI -- I'm in windows environment. I tried your suggestions, but still getting the same error " Invalid data source specified: Invalid hostname: "ls C"." I have configured the external source as below Source Method: Specific Programs Source Program: "...
by Maximus_Jack
Sat Jun 02, 2012 8:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 9357

Hi I tried the option given for the external source " ls C:\Datastage\Testinputfiles\XML_in_Books.xml | sort " ( without quotes) i'm getting the error as "Invalid data source specified: Invalid hostname: ls C." and i did some googling for that and i ended up in the below link, bu...
by Maximus_Jack
Sat Jun 02, 2012 12:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 9357

Reading XML file in windows through external source

Hi All I'm trying to read a XML file through a external source, but i dont know how to pass the file path alone to the XML input stage, i tried "cat" and echo commands but not getting file path to the XML input stage, can you please help me on this, thanks External source > XML input stage...
by Maximus_Jack
Fri Mar 02, 2012 10:22 am
Forum: General
Topic: finding unix shell scripts used in datastage
Replies: 9
Views: 4652

:(

why dont you write some paper on this :roll:

thanks ray.. for your response..
by Maximus_Jack
Wed Feb 29, 2012 10:58 am
Forum: General
Topic: finding unix shell scripts used in datastage
Replies: 9
Views: 4652

thanks ray, i googled and tried in this site as well, but couldnt find any substantial documents regarding the datastage tables (ds_jobs, etc), is there
anywhere i can find one? and one more question, in what database these tables are constructed?

cheers
karthy
by Maximus_Jack
Mon Feb 27, 2012 10:44 am
Forum: General
Topic: finding unix shell scripts used in datastage
Replies: 9
Views: 4652

finding unix shell scripts used in datastage

Hi we have a project which has more than 450 jobs, i need to find which jobs are using a shell script inside them, mostly all the unix scripts are called from the external source stage and all the scripts ends with ".sh" extension, so is there any easy way to find the names of those script...
by Maximus_Jack
Tue Feb 14, 2012 9:06 am
Forum: General
Topic: dsjob command
Replies: 9
Views: 2836

yes, its resolved
by Maximus_Jack
Tue Feb 14, 2012 1:41 am
Forum: General
Topic: dsjob command
Replies: 9
Views: 2836

Hi I finally able to run it, previously i was running the dsenv as just "dsenv" without the "." in front of it, i'm not a expert in unix can you please tell me what is the difference in running the script with "sh dsenv" and " .<space> dsenv" and "dsenv&q...
by Maximus_Jack
Mon Feb 13, 2012 12:41 pm
Forum: General
Topic: dsjob command
Replies: 9
Views: 2836

dsjob command

Hi when i execute the dsjob commands (after running the dsenv file ) inside a shell script its working fine, but when i run the dsjob commands in the command prompt (even after running the dsenv file) its not working even from bin directory? anything wrong with my environment varaiables?? should i h...
by Maximus_Jack
Fri Jan 27, 2012 11:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to dived the data int diff targets
Replies: 10
Views: 5056

finally did some tweaking and it worked..

Transformer in sequential mode

Stage variable
svx=0
Derivation: if svx >19 then "1" else svx+1 = svx

Output link1
Constraint: if svx <=10

Output link2
Constraint: if svx >= 11