The information you are seeking has already been published, several times over. No use re-inventing the wheel, so for $10.00 you can purchase a nice little book from Service Publications that lays it all out for you and will save you loads of time. Here is the link. You want Regimental Service Numbers of the Canadian Army.
https://servicepub.com/publications