Command Reference > pmrep Command Reference > UndoCheckout
  

UndoCheckout

Reverses the checkout of an object. When you undo a checkout, the repository releases the write-intent lock on the object and reverts to the most recently checked in version of the object. If you want to modify the object again, you must check it out.
The UndoCheckout command uses the following syntax:
undocheckout

-o <object_type>

[-t <object_subtype>]

-n <object_name>

-f <folder_name>

[-s dbd_separator]
The following table describes pmrep UndoCheckout options and arguments:
Option
Argument
Description
-o
object_type
Required. Type of object. You can specify source, target, transformation, mapping, session, worklet, workflow, scheduler, session config, task, cube, and dimension.
-t
object_subtype
Optional. Type of transformation or task. Ignored for other object types. For more information about valid subtypes, see Listing Object Types.
-n
object_name
Required. Name of the checked out object.
-f
folder_name
Required. Name of the folder containing the object.
-s
dbd_separator
Optional. If an ODBC source has a period (.) in the name, define a different separator character when you define the source object. For example, instead of database_name.source_name, define the source object as database_name\source_name, and define the dbd_separator as backslash (\).