Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does Acu4GL manage the differing ways that COBOL and databases store data?

0
Posted

How does Acu4GL manage the differing ways that COBOL and databases store data?

0

Acu4GL makes use of extended file description (XFD) files to “translate” from COBOL data types to RDBMS data types. The compiler produces these XFD files automatically when the “-Fx” compiler option is used. The exact data types used are database dependent. Back to top • Can I affect the way that XFD files are generated? To some extent, yes. The programmer can make use of XFD directives to influence the compiler’s output. This can be used (for example) to store items at group level, change the database table names, or store dates as database “date” fields. For more information, see Chapter 4 of the Acu4GL User’s Guide. Back to top • My application makes use of multiple record types and REDEFINES. How does Acu4GL cope with this? Acu4GL makes use of an XFD directive, the “WHEN” directive to manage multiple record types and REDEFINES clauses. You should be aware that this can lead to very “wide” tables and you may wish to consider restructuring any particularly complex tables for performa

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123