If you are recycling the code, you can add the min and max in the concatonation line:

FILE/WRITELINE,FPTR,STR(POINTER)+"MIN,"+CN39.M.MIN...