When copying load modules from PDS to PDSE using BSTXCOPY, getting error C1X0506E ROOT MODULE mmmmmm NOT SELECTED WITH ALIAS aaaaaa.
C1X0506E ROOT MODULE mmmmmm NOT SELECTED WITH ALIAS aaaaaa. It means that BSTXCOPY is being asked to copy member 'aaaaaa' which, as per its directory entry, is an alias of member 'mmmmmm'. In order for this to work, BSTXCOPY needs to copy both 'aaaaaa' and 'mmmmmm' in the same run.
Another possible issue is that the directory of the library contains orphan aliases for members that no longer exist. These orphan aliases need to be deleted.