You can use the vmur command to read
a console transcript that was spooled, for example, with the vmcp command.
Procedure
- Begin console spooling:
- Produce output to the z/VM® console.
Use, for example, CP TRACE.
- Stop console spooling, close the file with the console
output, and transfer the file to the reader queue.
In the
resulting CP message, the spool ID follows the FILE keyword. In the
example, the spool ID is 398:
# vmcp sp cons stop close \* rdr
RDR FILE 0398 SENT FROM T6360025 CON WAS 0398 RECS 1872 CPY 001 T NOHOLD NOKEEP
- Read the file with the console output into a file in the
current working directory on the Linux® file system:
# vmur re -t 398 linux_cons