PDMSGURU,is you marco can be use for Version 12.0sp5? can please tell me the step? thanks.
Hi
there is one example:
[HTML]
!output = object file('drawlist.txt')
!result = array()
var !list1 coll all (stru equi bran) from drawlist
--var !list1 coll all from drawlist ------here you can change for more detail collection
do !i indices !list1
$!list1[$!i]
!fln = flnm
!strin = 'add '& '$!fln'
!result.append(!strin)
enddo
!output.writefile('overwrite', !result)
var !wo evar pdmsuser
!!alert.message('File drawlist.txt saved under $!wo')
[/HTML]
I did utilities >>import macro>>drawlist.txt, the drawlist save and successfully executed.
then, go to draft >>IDLI and type $m drawlist.txt.
but don't see functioning