|
The debug file should be created each tine I call for examplelog
http_url_post_xml not appended to.
It would appear the unlink is failing but there is nothing in the job
and the job does not abend/crash and require a response.was
I ran the process in debug and the debug file exists, the
unlink(HTTP_DEBUG_FILE) was executed and the file still exists, there
no error and the value in HTTP_DEBUG_FILE is the correct file name andthe
path.
How do I determine why the stream file is not being deleted ?
Thanks for any suggestions
Don Brown
From: "Patrik Schindler" <poc@xxxxxxxxxx>
To: "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxxxxxxxx>
Date: 01/12/2019 09:16 PM
Subject: Re: httpapi debug file appending not replacing
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
Hello Don,
Am 01.12.2019 um 02:16 schrieb Don Brown via MIDRANGE-L
<midrange-l@xxxxxxxxxxxxxxxxxx>:
The result of unlink is not being checked - would this be logged to
job log ?it's
I guess no, but certainly your program will be sent an exception. If
unhandled, the user get's the usual screen aboutservice.
cancel-continue-debug-whatever or if it's a batch job, it will
abend/crash.
How can I determine why the stream file is growing rather than beingrecreated on each call to httpapi ?
I don't understand your question. It's a debug log, so it's growing
because of debugging output. If you want to know what's in it, have a
look. If you don't need the debugging, turn debugging off. Or did I miss
something in your question? Maybe you can rephrase your question?
:wq! PoC
PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
______________________________________________________________________MSD
______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has taken
reasonable precautions to ensure no viruses are present in this email,
cannot accept responsibility for any loss or damage arising from the useof
this email or attachments.list
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.