Files
epics-base/documentation/new-notes/PR-812.md
T
Irie Railton f4ccf7bc8c iocsh command dbCreateRecord (#812)
* skeleton for implementation of dbCreateRecord iocsh exposure

* Add functionality of dbCreateRecordCallFunc
Includes adding dependancy to iocInit.h and a new error type in dbStaticLib.h

* Fix error message for case when adding record to IOC post init

* add new error message for when no record name is passed and check for empty strings

* add release note for dbCreateRecord IOC shell command

* fix issues from codeql in release notes

* fix documentation md based on codacy styling
2026-03-10 12:48:05 -05:00

17 lines
391 B
Markdown

### Expose `dbCreateRecord` in IOC shell
Add a new IOC shell command `dbCreateRecord` allowing for records to be created
from the shell.
Only works when called before `iocInit` and will fail if called afterwards.
The pdbbase variable, a record type, and the new record's name should be passed
as arguments.
Example usage:
```sh
dbCreateRecord(pdbbase, "ai", "example:ai")
iocInit()
```