I am using HTTPAPI on V7R3.

I have debugging turned on.

I have found a debug file that is large.

The code suggests the file should be unlinked when the procedure is

The debug file is in /tmp/httpapi_debug.txt and *public has *rwx authority

The http_debug procedure does the following;

callp http_dclose <== This closes the stream file using
the extproc(close)

if peStatus = *ON <== Debugging is ON
callp unlink(HTTP_DEBUG_FILE)

The result of unlink is not being checked - would this be logged to the
job log ?

How can I determine why the stream file is growing rather than being
recreated on each call to httpapi ?
Thank you for any suggestions

This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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

This mailing list archive is Copyright 1997-2022 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.