Updated July 2014; added Comments and History
CREATE’RECORD #channel, varlist
CREATE'RECORD adds a new record to the file and updates the indexes accordingly. Except as noted below, all errors are trapped as ASB errors.
Comments
The most likely error during CREATE'RECORD would be an attempt to add a record with a duplicate key, assuming duplicates not allowed. Normally this will trigger ASB error 208, but you can stifle the ASB error and instead get back the status value 2 (in the fstatvar parameter specified in the OPEN statement) by setting the AF_ISAMNODUPERRS flag in Xcall ASFLAG
History
2012 October, A-Shell 6.1.1313: Add support for AF_ISAMNODUPERRS