Exporting data to a backup file
You can export selected SYSOUT records to a sequential file
using one of the following keywords of the DSTUTIL command:
- EXPUNSTR
- to export the selected unstructured data to an unstructured export file
- EXPSTRUC
- to export the selected structured data to a structured export file
- EXPBOTH
- to obtain, with a single-command process, the result of the two preceding commands.
Example:
DSTUTIL IMPUNSTR DDNAME(EQQEXP01)
SEARCH1(JBNMLKJOB*CC*,JBDTGE19990501)
SEARCH2(JBDTGE19990515)
This command exports the records that match the criteria to a sequential
file identified by the DDNAME EQQEXP01:
JobName LIKE 'JOB*CC*' and jobdate greater than or
equal to 01/05/1999
or
jobdate greater equal than 15/05/1999