|
|
|||
|
Academic Programs |
Frequently Asked Questions |
||
PERCobol with DB2 on the iSeriesPERCobol supports database access through jdbc via
EXEC-SQL statements, but can also access remote indexed files on the AS400
via the standard indexed file COBOL statements. Here are the steps needed
to setup this support: NOTE: LegacyJ does not support logical DDS files that have multiple record definitions or REFerencing statements. LegacyJ does however strongly recommend using the DDS copy statement for indexed files, as this will allow PERCobol to automatically match the file descriptor to the JTOpen Java interface (PERCobol requires that these match). Simply put the DDS file in the resources folder for the project and then use the DDS style copy statement. Don't bother adding 'OF xxx' to the copy statement, as this requires a subdirectory be added matching xxx. Also, you can turn on list file production to see how the DDS copy gets expanded in the data section (right click on project->properties->PERCobol compiler settings). Make sure that the DDM server is running on
the AS/400:
|
|
||
Home
About Us
Privacy
Legal
© Copyright LegacyJ Corp. 1998, 2005
All Rights Reserved.
All trademarks are the properties of their respective owners or licensers.