Hi,At the end I've managed to get the subject line into a variable by
doing this:instance.vars.subjLine = sqlGetString("select
substring(dl.mdata,position('' in
dl.mdata)+18,position('' in
dl.mdata)-position('' in dl.mdata)-18 ) from
nmsdelivery dl where sInternalName='DM12345'")So now I can write it into
a file.Thanks,Sagi