At compile time, errors in a process module can arise because of discrepancies between the process module and other dialog components. These are called structural errors.
For example, you may have added the wrong subschema to the dialog. In this case, error messages are returned for process commands that reference records that exist in the correct subschema but don't exist in the specified subschema.
To correct discrepancies caused by other dialog components, you display the ADSC screen that associates the component with the dialog:
Dialog XXXDADD doesn't contain a work record, so you don't need to check for work-record errors in the dialog.
Checking the Subschema Definition
For example, you check the subschema definition for dialog XXXDADD by displaying the Database Specifications screen:
Database Specifications Dialog XXXDADD Version 1 Subschema . . . . . . . . . . . . EMPSS01 Schema . . . . . . . . . . . . . EMPSCHM Version . . . . . . . . . . . . . 1 Access Module . . . . . . . . . . XXXDADD SQL Compliance . . . . . . . . . _ ANSI-standard SQL Date Default Format . . . . . . . _ 1. ISO Time Default Format . . . . . . . _ 2. USA 3. EUR 4. JIS Enter F1=Help F3=Exit F4=Prev F5=Next
When checking a component specification, you need to verify that both the correct name and version number are specified.
For example, dialog XXXDADD uses subschema EMPSS01. This subschema is defined in version 1 of schema EMPSCHM. Some sites define different copies of schema EMPSCHM. In this case, you check the Database Specifications screen:
SUBSCHEMA.: EMPSS01 SCHEMA: EMPSCHM VERSION: 1
SUBSCHEMA.: EMPSS01 SCHEMA: EMPSCHM VERSION: 2
To correct any specifications, type the correct information over the previous specification. When dialog components are all specified correctly, you can proceed to correct any syntax errors in the process module.
|
Copyright © 2013 CA.
All rights reserved.
|
|