Accessing nodal displacement data in CDB file

Hello!

I’m trying to read all nodal displacement records (N_DISP) from a CDB using +PROG TEMPLATE.

And the CDB file looks like this:

And the TEDDY script is:

 +PROG TEMPLATE urs:1
head shell displacements

let#CDB_IER 0

@CDB ShellModel

@KEY N_DISP 1

loop

  let#N  @0
  let#UX @2
  let#UY @4
  let#UZ @6

  txb 'Node=' #N ' UX=' #UX ' UY=' #UY ' UZ=' #UZ

endloop #CDB_IER < 2

end 

And it runs with no problem but it doesnt give me the correct displacements:

So my question is: How can I get the nodal displacements correctly from the CDB file?

Thank you.