data_change command options

Warning: Only use the Production Data Fix tool under extraordinary conditions, with great caution, and upon advice of Guidewire Support. Before registering a data change on a production server, register and run the data change on a development server. Guidewire recommends multiple people review and test the code and the results before attempting the data change on a production server.

You can use any of the following options with the data_change command. You must always supply the -password option.

-description desc
Human-readable description (desc) of the change. Include this option with the edit option. For testing, the description is optional. For production use, include the description. Put quotes around the description to permit space characters in the description.
-discard refID
Instruction to discard a data change that you already registered. You must supply a data change reference ID (refID). You cannot discard a data change that was already run.
-edit refID
Instruction to create a new data change or edit an existing data change. You must supply a unique reference ID (refID) for this data change.
If the data change succeeded with no compile errors, you cannot edit it. You must re-register the script with a new reference ID.
If the data change was never run, or had compile errors, you can update (edit) the Gosu code with the same reference ID.

If you use the edit option, you must:

  • Include the -gosu option to include your Gosu data change code
  • Include the -description argument to provide a description
-gosu filepath
Full path name (filepath) to a Gosu script. You must include this option with the edit argument. You can use a full path name, or a relative path that is relative to the current working directory.
-password password
Password (password) to use to connect to the server. PolicyCenter requires the password.
-result refID
Result of a data change that you already registered. You must supply a data change reference ID (refID). If a user attempted to run it and there were parse errors, the results include the errors.
-server url
Specifies the PolicyCenter host server URL. Include the port number and web application name, for example:
  • http://servername:8180/pc
-status refID
Status of a data change that you already registered. You must supply a data change reference ID (refID). This option prints the status of the data change, which is one of the following:
  • Open
  • Discarded
  • Executing
  • Failed
  • Completed
-user user
User (user) to use to run this process.