Informix Error -4611: There is no 4GL source available for this program.
Cause and resolution
There is no 4GL source available for this program.
You have requested that a program be compiled, but the system cannot locate one of the module source files. It is looking for files with the suffix .4gl and having the names shown in the program source list. It looks in the current directory and in directories named in the DBPATH environment variable. Check that the program is correctly defined, and locate the source modules. Make sure that the DBPATH environment variable is correctly set.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4611 fires when the Application Builder can't locate one of a program's module source files
while attempting to compile it — per the official guidance, it looks for files with a .4gl
suffix, named as shown in the program's source list, in the current directory and in
directories named in the DBPATH environment variable.
- A source module file is missing from where it's expected, per the official guidance — the direct, named cause.
DBPATHis not set correctly, per the official guidance — a specific, named contributing cause.
Solutions / Resolution
- Check that the program is correctly defined, per the official guidance.
- Locate the missing source modules, per the official guidance.
- Confirm
DBPATHis correctly set, per the official guidance.
Examples
Checking DBPATH before a compile
$ echo $DBPATH
Diagnostic Checks
- Check the program's definition and source module list, locate any missing
.4glfiles, and confirmDBPATHis set correctly.
Related Errors / Related Topics
- -4601 — "No 4GL module by specified name found." A closely related lookup failure for a
single named
.4glmodule. - -4616 — "The 4GL program database does not exist. Create via PROGRAM section." A related program-database issue, about the database itself being missing rather than a source file.
A program's .4gl source module couldn't be located for compilation — check the program
definition, locate the missing source, and confirm DBPATH.