Why are you asking SAS to generate 220 columns if you only want 5 of them?
Does it change anything to move the KEEP= dataset option to the input dataset.
data myXOut.xmlout;
set myInFile(keep=ID Name Surname Address Age);
run;
Or even to just use a normal KEEP statement?
data myXOut.xmlout;
set myInFile;
keep ID Name Surname Address Age;
run;
Are you sure it is not related the values of variables? What happens if you reduce the number of observations?
data myXOut.xmlout;
set myInFile(obs=10 keep=ID Name Surname Address Age);
run;
... View more