CRFCN0394E -startide must precede -recordscript
Explanation
You can record a script only in a running Integrated
Development Environment (IDE).
System action
The record script command fails.
User response
The IDE must be started before creating a script.