2016 Jul 04 4:18 PM
We are with problem when use the function C C_DIR_READ_START... When program access directory through of the function generate the Error number " 2 Open Dir : No such file or directory.". The directory is NFS and all configuration with nfs is correct.
CALL 'C_DIR_READ_FINISH'
ID 'ERRNO' FIELD file_list-errno
ID 'ERRMSG' FIELD file_list-errmsg.
CALL 'C_DIR_READ_START' ID 'DIR'
FIELD p_path
ID 'FILE' FIELD '*'
ID 'ERRNO' FIELD file-errno
ID 'ERRMSG' FIELD file-errmsg.
IF sy-subrc <> 0.
sy-subrc = 4.
MESSAGE e020(zsd) WITH 'No such file or directory'.
EXIT.
ENDIF.
regards
2016 Jul 05 5:53 AM
Hi,
please check, that parameter p_path is defined with option LOWER CASE. What's your directory name, 'NFS' or 'nfs' ? for the directory name is case sensitive, you have to fill the parameter with the right directory name.
Regards,
Klaus
Based on the operating system of the application server, the path may be case sensitive. Please check if the path has the correct case.
Thanks,
Juwin
2016 Jul 05 5:53 AM
Hi,
please check, that parameter p_path is defined with option LOWER CASE. What's your directory name, 'NFS' or 'nfs' ? for the directory name is case sensitive, you have to fill the parameter with the right directory name.
Regards,
Klaus
2016 Jul 05 7:00 AM
Moreover, make sure P_PATH is defined as type C, it will return such an error with type STRING.
2016 Jul 05 1:59 PM
Based on the operating system of the application server, the path may be case sensitive. Please check if the path has the correct case.
Thanks,
Juwin
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |