Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2801

Problem in Function C_DIR_READ_START

$
0
0

     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


Viewing all articles
Browse latest Browse all 2801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>