Export text file of an harmonic analysis using APDL

Hi,I need to write my frequency response results (deformation, velocity, phase, for example) in a text file. I can write thew array for each substep and include the frequency of each substep and the displacement in the freuqency range. But I did not find how to include the respective velocity or the phase in the array. (I include the code I am using, which works).