XML input problem

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

XML input problem

Post by suresh_dsx »

my job contains

Folder
|
V
XML Input stage

|
V
transformer1

| |
V V
seq file1 xmp output stage


i have a job
like above

form the folder i am getting a xml file to xml input stage.
from xml to trasformer
from transformer to one is seq file and other one is XML OUPUT .

when i run the job i am getting an error

Cannot open output file "D:/tar/xml/xmlct.xml"
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

D:/tar/xml/xmlct.xml - Is this the same file you mentioned in both Input XML stage and output XML stage?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Otherwise, check that it is a valid path and you have permissions to write to it. Or if the file already exists, that you have permission to overwrite it.
-craig

"You can never have too many knives" -- Logan Nine Fingers
arunverma
Participant
Posts: 90
Joined: Tue Apr 20, 2004 8:20 am
Location: MUMBAI
Contact:

Post by arunverma »

Kindly use folder stage and in stage - properties stage define path only,
go to output tab -> properties , put name of XML file in wildcard . now you can open

Regards

Arun verma
Arun Verma
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The error is on the output file.
-craig

"You can never have too many knives" -- Logan Nine Fingers
uegodawa
Participant
Posts: 71
Joined: Thu Apr 27, 2006 12:46 pm

Post by uegodawa »

Can you please make sure "D:/tar/xml/" is a valid path. This path represent the Server Machine NOT your client.
- U
Post Reply