hi,
I have date 08/20/54 in the format MMDDYY8.I want to create a key which is a substring of other variables, for example lastname with the date variable. if I do a substr, all i get is a weird number -1960.
/* key = substr(LAST_NAME,1,3)||substr(DATE,1,2)||substr(DATE,4,2)||substr(DATE,9,2);
*/
Can some one help out with a solution.
Thanks
Nirmal
I have date 08/20/54 in the format MMDDYY8.I want to create a key which is a substring of other variables, for example lastname with the date variable. if I do a substr, all i get is a weird number -1960.
/* key = substr(LAST_NAME,1,3)||substr(DATE,1,2)||substr(DATE,4,2)||substr(DATE,9,2);
*/
Can some one help out with a solution.
Thanks
Nirmal