2016 Mar 03 1:28 PM
Hello to all,
I've been tasked with debugging some code that uses calls to C_DIR_READ_START, NEXT and finish system calls to get a list of files in a specific app server path. The problem is this part of the program is only working randomly. Sometimes I run it and it gets the file list, sometimes i run it and it doesnt.
Does somebody know what can cause this random behavior?
Thanks in advance.
Hello to all,
I've been tasked with debugging some code that uses calls to C_DIR_READ_START, NEXT and finish system calls to get a list of files in a specific app server path. The problem is this part of the program is only working randomly. Sometimes I run it and it gets the file list, sometimes i run it and it doesnt.
Does somebody know what can cause this random behavior?
Thanks in advance.
2016 Mar 03 6:29 PM
Updating the above post, I tried using the RZL_READ_DIR function module to obtain the same list and i'm getting the same behavior: sometimes it gives me the list, and sometimes it gives me the 'NO FOUND' exception.
Any Ideas?
Thanks in advance.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |