‎2011 Jan 07 5:12 AM
Hi ,
I am a beginner,and i can't understand the usage of the following system functions,
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 p_file
id 'ERRNO' field file-errno
id 'ERRMSG' field file-errmsg.
call 'C_DIR_READ_NEXT'
id 'TYPE' field file-type
id 'NAME' field file-name
id 'LEN' field file-len
id 'OWNER' field file-owner
id 'MTIME' field file-mtime
id 'MODE' field file-mode
id 'ERRNO' field file-errno
id 'ERRMSG' field file-errmsg.Please help...
‎2011 Jan 07 6:01 AM
HI kumaar,
System functions are internally implemented using C language, the implementation is hidden. We can neither see what it does nor is it adequetely documented.
We should not use the 'CALL' command as it is for internal use only. Suggest using the function modules instead.
The functions that you have mentioned are used to read the application server files at the path passed as parameter.
''C_DIR_READ_START'
'C_DIR_READ_NEXT'
'C_DIR_READ_FINISH'
Hope this helps you.
Regards
Hema
‎2011 Jan 07 6:01 AM
HI kumaar,
System functions are internally implemented using C language, the implementation is hidden. We can neither see what it does nor is it adequetely documented.
We should not use the 'CALL' command as it is for internal use only. Suggest using the function modules instead.
The functions that you have mentioned are used to read the application server files at the path passed as parameter.
''C_DIR_READ_START'
'C_DIR_READ_NEXT'
'C_DIR_READ_FINISH'
Hope this helps you.
Regards
Hema
‎2011 Jan 07 6:30 AM