SA_WILDCARD SA ADMIN function to find a file using a wildcard specification. Declaration NINT SA_WILDCARD(pTEXT infilnam, NINT mode, pTEXT outfilnam, NINT outfillen) Description
Note: The wildcard logic finds all files matching the wildcard specification--there is no check that the file is a c-tree data or index file. The wildcard logic also finds memory files whose names match the specified filename. Return
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. Example SA ADMIN API pseudocode
pText pFilelist; int ListLength = MAX_SIZE
memset(pFileList, 0, MAX_SIZE);
... if ((rc = SA_WILDCARD(“jrnl*.dat”, ctFILWDfindfirst, pFilelist, ListLength)) !=0 ) {
ctrt_printf(“SA_WILDCARD encountered the following error code(%n):\n”, rc); } ...
|
|||||||||||||||||