Thank you for this.
I do experience the same issues mentioned in the post to link provided.
This is using the updated code.
My issue is the program completes with error but the temp file Work.Users is populated with 15900 users.
I then increased the obs, and each time i incremented it userinfo was loaded into the Work.userinfo,that are active and retrieved from LDAP.
Will changing the obs to 15901 ensure all users info are loaded into the temp Work.userinfo file?