save_major_ver

Description

Creates a major version of an entity.

Syntax

Local mode support: Yes.

Command line:

save_major_ver [ connect-args | local-args ] [-c comment] entity

Ant build file:

<jag_save_major_ver [comment=”comment”] entity=”entity” />

Option

Description

Required

connect-args | local-args

Arguments to specify a connection to the server or to run in local mode. See “Local versus connected mode”.

Yes

comment

A comment that describes the version.

No

entity

The name of the entity for which a version is created, in the form EntityType:EntityName.

Yes

Returns

Return value

Indicates

0

The command ran successfully; the result is true/success.

2

The command did not run successfully; an exception was thrown.

Examples

Example 1

This example creates a major version of Package:SVU.

See also

list_ver, restore_ver, save_minor_ver, Chapter 10, “Using Repository Versioning”