Hi,
Is there a method for generating sequential numbers
000001
000002
000003
.
.
.
.
.
Since I did not know any specific method, I used excel and then saved it in formatted space delimited text and read the file to create a sequential dataset.
I also want to combine this sequential dataset with 1 other dataset and concatenate this value with 2 other variables.
" x1||seq_num||a1"
The issue that I face is it gives me a blank in the seq_num position which is true as it is a different dataset.Does anyone know the solution for this.
I want a result in this form
ab123456cd where ab and cd are from same dataset and 123456 is from sequential dataset.I have to create around 2000 total observations.
aa000001bb
cc000002dd
ee000003ff
.
.
.
.
Thanks
Raj
Is there a method for generating sequential numbers
000001
000002
000003
.
.
.
.
.
Since I did not know any specific method, I used excel and then saved it in formatted space delimited text and read the file to create a sequential dataset.
I also want to combine this sequential dataset with 1 other dataset and concatenate this value with 2 other variables.
" x1||seq_num||a1"
The issue that I face is it gives me a blank in the seq_num position which is true as it is a different dataset.Does anyone know the solution for this.
I want a result in this form
ab123456cd where ab and cd are from same dataset and 123456 is from sequential dataset.I have to create around 2000 total observations.
aa000001bb
cc000002dd
ee000003ff
.
.
.
.
Thanks
Raj