SchemasDTDs and DictionaryFlat FilePlease help

Hi All,

What is the order to create Schemas,DTDs and FF Dictionary? Which one should be created first?
Please help !

Anitha

It depends…

If you’re talking about flat files:
forget about ff dictionaries for the moment.

To work with Flat files, your first step will be to create a schema, this will provide the information necessary to break apart the flat file. Once you have setup the delimiters and the record structure, you can click the little “Create document” icon and that will spit out the corresponding IS document that will hold the contents of the flat file. This will be the structure returned from a call to convertToValues.

If you change the FF schema, simply delete the created document (it’ll have the same name as the schema but with DT at the end) and click the button again (make sure you update any maps though!).

-a dictionary is when you want to go to the effort of defining your flat file structures so that you can reference them for multiple FF schemas. Say for instance you have ten FF schemas and they all have a common header record, you might want to shift the definition of the header record into a dictionary and then use a record reference in each of your schemas.

As for DTDs, you’re talking XML there… So a completely different ballgame there. You can go both ways in an integration project: you can write the DTD or XML schema first and then generate an IS document using a wizard, or you can create the IS document type and use the built in service pub.schema:createXSD to spit out an XML schema.

regards,
Nathan Lee
Improve the quality of your services with WmUnit
http://www.customware.net/wmunit

It depends…

If you’re talking about flat files:
forget about ff dictionaries for the moment.

To work with Flat files, your first step will be to create a schema, this will provide the information necessary to break apart the flat file. Once you have setup the delimiters and the record structure, you can click the little “Create document” icon and that will spit out the corresponding IS document that will hold the contents of the flat file. This will be the structure returned from a call to convertToValues.

If you change the FF schema, simply delete the created document (it’ll have the same name as the schema but with DT at the end) and click the button again (make sure you update any maps though!).

-a dictionary is when you want to go to the effort of defining your flat file structures so that you can reference them for multiple FF schemas. Say for instance you have ten FF schemas and they all have a common header record, you might want to shift the definition of the header record into a dictionary and then use a record reference in each of your schemas.

As for DTDs, you’re talking XML there… So a completely different ballgame there. You can go both ways in an integration project: you can write the DTD or XML schema first and then generate an IS document using a wizard, or you can create the IS document type and use the built in service pub.schema:createXSD to spit out an XML schema.

regards,
Nathan Lee
Improve the quality of your services with WmUnit
http://www.customware.net/wmunit

I don’t think it matters whether you’re working with flat files or XML files.
The procedure is:

  1. Define your dictionary first.
    • Fields, then composite records and then records.
      Using the dictionary will save you A$$ in the future if you have to make changes and their are common fields or records shared among many schemas.
  2. Assemble your records into your schema by referencing the records from the Dictionary
  3. Finally generate your document.

My 2 cents.

Hey Guys,

In 6.1 developer, after creating a Dictionary, I came to know that I missed a field. When I wanted to create the field somewhere in the middle of the structure in the Dictionary…I COULD NOT !!
I can only create at the end…!! In 6.0.1 it is allowed…!!!

Is there anyway for me to add the field in the middle of the structure ??? Did anyone come across this problem ??

Regds,
Lavanya

Call tech support and get the following fixes:
Fix ID_6-1_Fix7 and IS_6-1_Fix25

Hey Thanks Chris,
That helped me. Also, when I tried to rename the record in the Dictionary…it is not possible. Well, when I called tech-support, they told that they do not have any fix for it…well…so we have to make sure that we name the record correctly !!

cheers,
Lavanya

Hi All,

Thank you very much. Could you please tell me the order if it for EDI ? Also, what are Composite References and Field References? When do we use them ? Is it a must that we use references? Please help.

TIA,
Anitha

We cannot rename the record in IS6.01 too.,so we have to stick with support suggestion may be we can make a wishlist for this problem in the Advantage site and hope they will fix this in future releases.

Regards,

Anitha,

What are you looking on the EDI side?lot of threads discussed on the EDI technical problems/functional stuff etc…search this site.

FieldReferences work like when you define FF Dictionary you will create RecordDefinition,FieldDefinition.So when you are creating FF Schema you can use the RecordReference,FieldReference option you will see the particular defined fields that you previously created in the Dictionary will show up in the FFSchema.like you do the same for DocumentReference of IS DocumentType.

HTH,
RMg.