Declaring and labeling variables at once

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Declaring and labeling variables at once

Eugenio Grant
Hi guys:



I'm declaring the structure for a large Database 10K variables, I'm doing it
like this



DATA LIST LIST/ Var0005 (F5.0)

                         Var0007 (F2.0).



And so on.



Then I do:



VARIABLE LABELS   Var0005 'Id'

                             Var0007 'code'.



And so on.



But I'm wondering is there a way to do both in on single step, by that I
mean declaring and labeling the variables at once, so I end up with less
lines of code?



Regards,