Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Commands
  3. Adabas Log-Based ECCR Commands
  4. Batch VSAM ECCR Commands
  5. CICS/VSAM ECCR Commands
  6. Datacom Table-Based ECCR Commands
  7. DB2 for z/OS ECCR Commands
  8. IDMS Log-Based ECCR Commands
  9. IMS Synchronous ECCR Commands
  10. IMS Log-Based ECCR Commands
  11. PowerExchange Agent Commands
  12. PowerExchange Condense Commands
  13. PowerExchange Listener Commands
  14. PowerExchange Logger for MVS Commands
  15. PowerExchange Logger for Linux, UNIX, and Windows Commands
  16. pwxcmd Commands

Command Reference

Command Reference

pwxcmd fileswitch Command

pwxcmd fileswitch Command

Closes open PowerExchange Logger for Linux, UNIX, and Windows log files and then switches to a new set of log files. If the open log files do not contain any data, the file switch does not occur.
You can perform an automated file switch before the next file switch is due to occur to make change data available for extraction processing. If you run extractions in batch extraction mode, include the pwxcmd fileswitch command in a script and then run that script before the batch extractions.
For example, to extract change data hourly from PowerExchange Logger log files, first set the FILE_SWITCH_CRIT and FILE_SWITCH_VAL parameters in the pwxccl.cfg file such that a file switch does not automatically occur before the extractions run. For example, you might set the parameters to perform an automatic file switch after every 1,000,000 record updates. Then include the pwxcmd fileswitch command in a script that runs shortly before the scheduled extraction processes.
Usually, you do not need to perform file switches manually if you use continuous extraction mode.
Use the following syntax:
pwxcmd fileswitch {-service|-sv}
service_name
                  [{-user|-uid|-u}
user_ID
]                   [{{-password|-pwd|-p}
password
|{-epassword|-e}
encrypted_password
}]
The following table describes pwxcmd fileswitch options and arguments:
Option
Argument
Description
-service
-sv
service_name
Required. Service name for the PowerExchange Logger for Linux, UNIX, and Windows process.
-user
-uid
-u
user_ID
Required if you enable security. A valid operating system user ID on the system that is the target of the command.
For a PowerExchange Logger on a supported Linux, UNIX, or Windows system, if you have enabled PowerExchange LDAP user authentication, the user name is the enterprise user name. For more information, see the
PowerExchange Reference Manual
.
-password
-pwd
-p
password
Plain text password.
If you specify a user ID, you must specify a plain text password or an encrypted password.
-epassword
-e
encrypted_password
Encrypted password.
If you specify a user ID, you must specify a plain text password or an encrypted password.

0 COMMENTS

We’d like to hear from you!