Returns the status codes in an array
ACTVONLY = 1 for only active statuses, 0 for all statuses.
Returns the status codes in an Array.