Converting z/OS (OS/390) logs from binary to text format

To convert z/OS(R) (OS/390(R)) logs from binary to text format:

  1. In an IBM(R) Personal Communication tool, using system administration authority (for example, IBMUSER), connect to a z/OS system.
  2. In the SDSF panel, enter the ST command to list the status of all jobs.
  3. In the list of jobs, select the job name of the z/OS log (for example, SYSLOG) and enter the xdc command in the NP column.
  4. In the print panel, enter the details of the data set where you want to print the z/OS log output. Specify either an existing data set or create a new data set with the disposition parameter NEW.
  5. To print the z/OS log output to the data set, press Enter or the Ctrl key.
  6. In the ISPF Primary Options menu, select the Command option.
  7. In the ISPF Command Shell window, click the Receive Files from Host icon on the toolbar.
    1. In the Host File text box, enter the name of the z/OS log data set (within single quotes) as specified in step 4 above.
    2. In the PC File text box, enter the name of the text file which will contain the syslog contents in the destination PC.
    3. In the Transfer type combo box, select the Text transfer type.
    4. Click the Add to List button.
    5. To start the transfer, click the Receive button.
  8. Find the contents of the selected z/OS log on the destination PC in the text file specified in step 7b above.

Related concepts
Determining problems in distributed applications

Related tasks
Importing z/OS (OS/390) logs
Importing a symptom database
Importing a log file
Analyzing log files
Importing logs using log sets
Exporting a log or correlation to Common Base Event representations