add2list(int argc, ...)

int add2list( int argument-count, char * name-and-path-of-list-file, 

char * complete-name-and-path-of-file-extracted ,

char * complete-name-and-path-of-new-file,

char * optional-seconds-to-wait ,

char * optional-default-directory,

char * optional-command-to-perform,

char * optional-parameter-to-command, ... )

The first three (3) parameters are strictly for the purposes of maintaining the inuse file. The other parameters facilitate keeping a ‘reference’ copy of the contents of the configuration management tool up to date.

Refer to the documentation for add2list.exe for more information on the particular parameters.

Example:

strcpy(reference,".\reference"); strcat(reference, extracted_filename);

strcpy(sources,".\sources"); strcat(sources, extracted_filename);

add2list(4, "-rM:\sources", "c:\userdir\inuse", reference, sources);

For more information about the INUSE file please see:

INUSE file format Format of the file for ‘checked out’ files.
USYS$UD6_PARAMS Actual driver parameters from assignment file.
SQL Workbench For use with running operating system commands and updating parameters during an IDF session

$Revision: 1.10 $ $Date: 2011/02/28 02:56:33 $[go to top]