Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Utilities
  3. createdatamaps - Data Map Creation Utility
  4. DTLCCADW - Adabas PCAT Utility
  5. DTLCUIML - IMS Log Marker Utility
  6. DTLINFO - Release Information Utility
  7. DTLINFOX - Enhanced Release Information Utility
  8. DTLREXE - Remote Execution Utility
  9. DTLUAPPL - Restart Token Utility
  10. DTLUCBRG - Batch Registration Utility
  11. DTLUCDEP - CDEP Maintenance Utility
  12. DTLUCSR2 - IDMS SR2 and SR3 Records Utility
  13. DTLUCUDB - DB2 for Linux, UNIX, and Windows CDC Utility
  14. DTLULCAT and DTLULOGC - IDMS Log Catalog Utilities
  15. DTLURDMO - Data Map Utility
  16. DTLUTSK - Task Control Utility
  17. EDMLUCTR - Log Scan and Print Utility
  18. EDMUOPTS - Service Aid Utility
  19. EDMXLUTL - Event Marker Utility
  20. HOSTENT - TCP/IP Address Reporter Utility
  21. PWXCATMY - MySQL Catalog Utility
  22. PWXUCCLPRT - Print Log Summary Utility
  23. PWXUCDCT - Logger for Linux, UNIX, and Windows Utility
  24. PWXUCREG - Capture Registration Utility
  25. PWXUMAP - Map List Utility
  26. PWXUCRGP - Capture Registrations Print Utility
  27. PWXUDMX - Data Maps Update Time ECSA Memory Utility
  28. PWXUGSK - SSL Reporting Utility
  29. PWXUSSL - PowerExchange SSL Reporting Utility
  30. WRKJRNLCKE- Journal Lock Table Utility for IBM i

REPORTDEST Statement

REPORTDEST Statement

The REPORTDEST statement specifies one or more destinations for the report that you generate when you run the utility.
You can use this statement to send the report to a standard output location or to a separate file on the computer where the utility runs. You can specify up to four report locations by including multiple REPORTDEST statements in the utility input. As a best practice, include REPORTDEST statements at the beginning of the command.
Use the following syntax:
REPORTDEST LOG|STDERR|STDOUT|
file_name
The REPORTDEST statement accepts the following options:
LOG
Send report output to the PowerExchange log (detail.log). The report prefixes each line in the log with a time stamp and process ID.
STDERR
Send report output to the stderr file. This option can be used on Linux, UNIX, and Windows to pipe the output to a file in addition to stdout, as shown in the second example.
STDOUT
Send report output to the stdout file. Use this option on Linux, UNIX, and Windows to view the utility progress a command window.
file_name
Send the output to a file on the local computer. Specify this option to write a permanent copy of the report to a file.
If you specify REPORTDEST statements with both the STDERR and STDOUT options, and you do not use piping to direct the STDERR output to a file, the utility writes each report line twice in the command window.
Default is
LOG
.
Examples:
If you run DTLURDMO Linux, Unix, or Windows, you can review the utility progress in a command window and write the report to a file for later review. The following example shows how to specify those locations:
REPORTDEST stdout; REPORTDEST c:\reports\MyDTLURDMO_ini_report.txt;
If you run DTLURDMO on Linux, Unix, or Windows, you can redirect the output to a file. The following example shows how to use piping to specify a report location.
In the input file C:\INIS\MYDTLURDMO_ini, specify the following report destinations:
REPORTDEST stderr;
When you run the utility, use the following syntax to redirect the output to the
MyDTLURDMO_ini_report.txt
file:
DTLURDMO.EXE C:\INIS\MyDTLURDMO_ini >c:\reports\MyDTLURDMO_ini_report.txt;

0 COMMENTS

We’d like to hear from you!