KSH split string into variables

Hello,
I am an intermediate scripter. I can usually find and adapt what I need by searching through previous postings, but I'm stumped.

I have a string with the format "{Name1 Release1 Type1 Parent1} {Name2 Release2 Type2 Parent2}". It is being passed as an argument into a ksh script. I need to split this string into variables such as:
Pkg1Name="Name1"
Pkg1Release="Release1"
Pkg1Type="Type1"
Pkg1Parent="Parent1"
Pkg2Name="Name2"
Pkg2Release="Release2"
Pkg2Type="Type2"
Pkg2Parent="Parent2"

Does anyone have any ideas how this may be accomplished, please?
Thanks!
D

echo "{Name1 Release1 Type1 Parent1} {Name2 Release2 Type2 Parent2}" | nawk -f drd.awk

drd.awk:

BEGIN {
  FS="[{}]"
  nt=split("Pkg%dName Pkg%dRelease Pkg%dType Pkg%dParent", tmplA, " ")
}
{
  for(i=2; i<=NF; i+=2) {
    n=split($i, a, " ")
    for(j=1; j<=n; j++)
      printf("%s=\"%s\"\n", sprintf(tmplA[j], i/2), a[j])
  }
}

Thanks. Sorry I wasn't clear. This parses the string like I want, but I need the variables to be available to the ksh script for processing later.

#!/bin/ksh

$(echo "{Name1 Release1 Type1 Parent1} {Name2 Release2 Type2 Parent2}" | nawk -f drd.awk)

Excellent! That worked.
I also had to add "export" to the printf statement and removed the quotes surrounding the variable values. So my .awk file ended up:

BEGIN {
FS="[{}]"
nt=split("Pkg%dName Pkg%dRelease Pkg%dType Pkg%dParent", tmplA, " ")
}
{
for(i=2; i<=NF; i+=2) {
n=split($i, a, " ")
for(j=1; j<=n; j++)
printf("export %s=%s\n", sprintf(tmplA[j], i/2), a[j])
}

Thanks so much for your prompt help!
D

Congratulations!