Mechanical APDL captures commands generated (or typed in) during a session not only in the log file but also in memory. This in-memory version of the command history is called the internal database log. When you save the database, the program saves this command log in the database file (Jobname.DB) along with the other database information.
Write the database command log to a named ASCII file (LGWRITE). You can then edit this file, make desired changes, and use the file as command input to the program. This capability is especially useful if you want to use the command history that was created during an interactive session, but have somehow lost or corrupted the session log file (Jobname.LOG) that was associated with your database.
If you create your database in multiple sessions by saving and resuming the database file, the program keeps the database log continuous by appending each new command that is processed. Therefore, the internal database log is not fragmented; it will represent the complete database.