Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using system functions

Former Member
0 Likes
1,102

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...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
876

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

2 REPLIES 2
Read only

Former Member
0 Likes
877

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

Read only

0 Likes
876

Thanks Hema...