Max number of files read in a folder by OV_FILE_SERVICE

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
dvanoni
Posts: 37
Joined: Wed Dec 02, 2015 3:47 am
Location: Chiasso - Switzerland

Max number of files read in a folder by OV_FILE_SERVICE

Post 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)
soa
Posts: 339
Joined: Mon Dec 07, 2015 3:15 pm

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

Post by soa »

From memory this is an RDML function which returns a working list do the maximum must be 9999.
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

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

Post by MarkD »

Is your code fragment from an RDML or RDMLX function?

Could you post some details of the error you get?
Post Reply