>>Dear Experts
>>
>>myid=31206-1653228-5
>>
>>It is character type variable.
>>I wnat to devide it into FIFTEEN parts, every character will be a new variable as
>>
>>var1=3
>>var2=1
>>var3=2
>>
>>How is it possible
>>
>>Please help
>
>Don't use fifteen variables, use an array.
>
>myid="31206-1653228-5"
>Declare var(Len(myid))
>For x=1 to len(myid)
> var(x)=Substr(myid,x,1)
>EndFor
Now this was one thing that was simpler to do in Cobol... because you had to define your records, and could redefine any field in it in any number of levels.