Page 1 of 1

Max number of files read in a folder by OV_FILE_SERVICE

Posted: Mon Jun 17, 2019 4:02 pm
by dvanoni
Hi all,

what is the max number of files read in a folder by OV_FILE_SERVICE (GET_DIR) using a list with Entrys(*MAX)? Sometimes I got an error and it is due because there are too many files in the folder.

Thanks

Code snippet

Code: Select all

Def_List Name(#WLIST) Fields(#OV_NAME #OV_PREFIX #OV_SUFFIX #OV_DATE #OV_TIME #OV_SIZE #OV_ISDIR) Type(*WORKING) Entrys(*MAX)
Use Builtin(OV_FILE_SERVICE) With_Args(GET_DIR #OV_DIRECT) To_Get(#OV_RETC #OV_ERRN #WLIST)

Re: Max number of files read in a folder by OV_FILE_SERVICE

Posted: Mon Jun 17, 2019 4:55 pm
by soa
From memory this is an RDML function which returns a working list do the maximum must be 9999.

Re: Max number of files read in a folder by OV_FILE_SERVICE

Posted: Mon Jun 17, 2019 5:02 pm
by MarkD
Is your code fragment from an RDML or RDMLX function?

Could you post some details of the error you get?