Dynamic XSD
Posted: Thu Jul 25, 2013 5:55 pm
We are in the process of developing a generic mechanism for transferring XML files from and to different clients. The content of the XML documents is very similar in all cases, but there may be slight differences (additional elements, rather than changed elements).
Is there any way to handle dynamic XSD in DataStage? That is, can we create generic jobs in which the XSD is provided dynamically, for example as a parameter or as a file reference?
My first impression is that the answer will be "no", since the assembly must be done at design time. But I would like to know whether dynamic XSD might be used, perhaps in conjunction with Runtime Column Propagation, to achieve a truly generic solution.
My alternative, since there is not a large number of clients, is to create one job per client and use a sequence to select which job to execute based on the client ID (provided as a parameter).
Thank you for your time.
Is there any way to handle dynamic XSD in DataStage? That is, can we create generic jobs in which the XSD is provided dynamically, for example as a parameter or as a file reference?
My first impression is that the answer will be "no", since the assembly must be done at design time. But I would like to know whether dynamic XSD might be used, perhaps in conjunction with Runtime Column Propagation, to achieve a truly generic solution.
My alternative, since there is not a large number of clients, is to create one job per client and use a sequence to select which job to execute based on the client ID (provided as a parameter).
Thank you for your time.