| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 668.1 | This will create the list. | HOTAIR::MADDOX | When in doubt, change it | Mon May 11 1992 22:40 | 23 | 
|  | John,
The following command will create a list of all documents which have an
attachment:
        form auto select for cab$ with .att_doc nes "" do sel_style -
           .folder:32 .title/style=display
You can put the command above in a script and then run the script or
you could build a UDP with a ".fu " preceding the command.
The following form will put the list in a file instead of displaying it
on the terminal:
        form auto select for cab$ with .att_doc nes "" do sel_style -
           .folder:32 .title/style=file /list="DOCUMENTS.LIS"
You could build a script to print these documents, but I don't have time
to compose one now.
Hope this helps,
Joe
 | 
| 668.2 | I just can't get output to a file! | KAOT01::J_PLUGERS | Too poor to pay attention | Tue May 12 1992 04:09 | 20 | 
|  | Thanks for the helpful reply...
The display to the screen works just great, but the example in .1 to
list to a file does not work for me.  This is the script that I call
	FORM AUTO SELECT FOR CAB$ WITH .ATT_DOC NES "" DO SEL_STYLE -
	  .FOLDER:32 .TITLE/STYLE=FILE/LIST="OAUSER:DOC.LIS"
I get no errors.  I just don't seem to get any output file.  I ran it
with trace and saw it found all the docs with attachments but no sign
of an output file DOC.LIS
I found the script OA$DO:TMMONTH.SCP and the code is quite similar to
the example in .1
Am I doing something wrong?
Regards,
John. 
 | 
| 668.3 | Try a close_prior and a dump_cache? | SANFAN::LESLIE_DA | Greetings & Solutions | Tue May 12 1992 04:18 | 0 | 
| 668.4 | DUMP_CACHE did the trick. | KAOT01::J_PLUGERS | Too poor to pay attention | Tue May 12 1992 13:31 | 5 | 
|  |     I added the DUMP_CACHE and it works like a charm.
    
    Thanks.
    
    John.
 |