Command Reference > pmrep Command Reference > UpdateSeqGenVals
  

UpdateSeqGenVals

Updates one or more of the following properties for the specified Sequence Generator transformation:
You might want to update sequence values when you move a mapping from a development environment to a production environment. Use the UpdateSeqGenVals command to update reusable and non-reusable Sequence Generator transformations. However, you cannot update values for instances of reusable Sequence Generator transformations or shortcuts to Sequence Generator transformations.
The UpdateSeqGenVals command uses the following syntax:
updateseqgenvals

-f <folder_name>

[-m <mapping_name>]

-t <sequence_generator_name>

[-s <start_value>]

[-e <end_value>]

[-i <increment_by>]

[-c <current_value>]
The following table describes pmrep UpdateSeqGenVals options and arguments:
Option
Argument
Description
-f
folder_name
Required. Folder name.
-m
mapping_name
Mapping name. When you update values for a non-reusable Sequence Generator transformation, you must include the mapping name.
-t
sequence_generator_name
Required. Sequence Generator transformation name.
-s
start_value
Optional. Start value of the generated sequence you want the Integration Service to use if the Sequence Generator transformation uses the Cycle property. If you select Cycle in the transformation properties, the Integration Service cycles back to this value when it reaches the end value.
If you designate an invalid value, pmrep gives an error message and does not update the Sequence Generator transformation.
-e
end_value
Optional. Maximum value the Integration Service generates. If the Integration Service reaches this value during the session and the sequence is not configured to cycle, it fails the session.
If you designate an invalid value, pmrep displays an error message and does not update the Sequence Generator transformation.
-i
increment_by
Optional. Difference between two consecutive values from the NEXTVAL port.
If you designate an invalid value, pmrep displays an error message and does not update the Sequence Generator transformation.
-c
current_value
Optional. Current value of the sequence. Enter the value you want the Integration Service to use as the first value in the sequence. If you want to cycle through a series of values, the current value must be greater than or equal to the start value and less than the end value.
If you designate an invalid value, pmrep gives an error message and does not update the Sequence Generator transformation.