Copying record definitions in FF dictionary

Hi,
Is it possible to copy an existing record definition in a dictionary to another one ?

I have a bunch of record definitions which are almost the same except for one or two fields. Without having the ability to copy and add the different fields I have to create a new record definition every time.

shubhro

Shubhro,

One possibility would be to use the services in pub.flatFile.generate. First call getFFDictionary as XML. That would provide you with an XML string that represents the flat file dictionary contents. You could then modify the XML as you wished. Then you could use the saveXMLAsFFDictionary service to create the an FF dictionary from that XML.

Not the most practical thing in the world, but it should work.

  • Percio