Folks:

File this in the FYI category.

I wrote a java program that generates a CL source file in the IFS
(using a IFSFileWriter
object). After the source is generated, it invokes the CRTBNDCL command to
compile the source.

I encountered a problem where I got a CPFAC05 - Internal error in program
QCLSTMF. Return code 7 error.

The odd thing was, I could compile the source from a green screen session
without a problem.

After a bit of digging, I discoveredI wasn't closing the IFS file in the
java program before invoking the compile command.

When I added a close to the IFS File writer object, and invoked the compile
command, it worked fine.

An understandable issue, but maybe the message could be clearer.

david

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.