[Info-vax] Backup API mailbox oddity

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Wed Jan 10 13:06:11 EST 2018


On 2018-01-10 17:15:55 +0000, osuvman50 at gmail.com said:

> I tried using the BACKUP$START() function to backup a list of files 
> input via a mailbox (setting BKC_OPT_K_INPUT_FILES_IN TRUE).  It wasn't 
> working until I realized it was reading and ignoring records from the 
> mailbox until the first EOF, then reading records and processing them 
> as input filenames until the next EOF.  Is this just typical CRTL 
> funkiness or backup intentionally trying to read the input file twice?  
> I using 8.4 on Alpha.
> 
> The easy workaround is to make the application WRITEOF before writing 
> the file list.
> 
> Also if you send BACKUP$START() no files, it gets confused and thinks 
> you are trying to list a save set.

I'd try $qio calls on the mailbox and quite possibly an AST-driven read 
loop. or would maybe use a binary-mode fopen access request.   Or post 
some code, and we'll have a look.


-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list