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.
- Posts: 27
- Joined: Wed Dec 02, 2015 3:47 am
- Location: Chiasso - Switzerland
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.
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)
- Posts: 302
- Joined: Mon Dec 07, 2015 3:15 pm
From memory this is an RDML function which returns a working list do the maximum must be 9999.
- Posts: 626
- Joined: Wed Dec 02, 2015 9:56 am
Is your code fragment from an RDML or RDMLX function?
Could you post some details of the error you get?