This is a bit excessive, and uses a remote call to the loopback node of the reporting server, as well as the EMGSRV setting to route output to a file, but seems to work.
SET EMGSRV = FILE
REMOTE DEST = LOOPBACK
? FILE CAR
SET EMGSRV = ON
EX -LINES * EDAPUT MASTER,EMGFILE,CV,FILE
FIELD=LINE ,ALIAS= ,A255 ,A255 ,$
TABLE FILE EMGFILE
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
August 30, 2018, 06:49 PM
Sorry Waz, you did not win this time. Tom's was much simpler.