Hi,
 
I have a data set where I have two codes in the same column:
 

 
I would like to split the two codes in two distinct lines, having into acount that the other attributes don't change. For example:
 
SRV_ERROR_CODE  DESC_ERRO_SERVIC  SMI_ERROR_CODE  ERROR_CODE_SMI  SMI_STATE   SRV
50070                           Subprocesso O...            30089                          30089                          PRBL             TER
50070                           Subprocesso O...            30089                          30089                          PRBL             TER
 
Is there any SAS function that doses this? 
Sometimes I have two codes to split, sometimes 3 codes, sometimes 4... I don't have any exact rule...
 
Thank you!
Rita Viegas