We are calling the user import macro %mduchglb to insert groups and users to the SAS metadata.
We see some inconsistencies with the resultsas when we process the loading for all users, it fails with an error "object reference to Person was requested without an identifier". But let's say we only process one user at a time, it will be assigned to all groups mapped to it. We tried to sort the canonical tables before calling the macro and it resolves some, but still has some failures. While processing each user one at a time can be a workaround, it will not be scalable as processing time will definitely increase if we will be managing 1000+ users.
Is there some limit to the number of records the import macro can process? Or some order on the tables being used for the processing?
Greatly appreciate any thoughts or inputs on this.
Example:
User 1 assigned to 5 groups
User 2 assigned to 4 groups
User 3 assigned to 4 groups
User 4 assigned to 2 groups
User 5 assigned to 5 groups
Result:
User 1 assigned to 5 groups
User 2 assigned to 4 groups
User 3 assigned to 3 groups
User 4 assigned to 2 groups
User 5 assigned to 3 groups