

Preliminary Concepts › Entities and Version Management › How to Set a Default Version
How to Set a Default Version
The version of a program, panel or report to use when no version clause is specified in a command or when the version entry is omitted in a prompter, is determined as follows:
- As the site administrator, you can establish a default version for the site by using the SET SITE VERSION command or by accepting the installed default version of 001.
- An application developer can use the SET VERSION command to override the site default to establish which version is selected for commands and prompters during the session. This is often done using a SIGNON member. It affects only the user who entered the command.
Note: Some commands (such as DELETE) require a version clause.
- For CA Datacom native access dataviews and sequential and VSAM file dataviews-The default version of a dataview used as a program resource is determined by a SET [SITE] DATAVIEW VERSION command, which usually sets PROD as the default. The default version of a dataview specified by commands such as EDIT, DISPLAY, and PRINT, is specified by the SET [SITE] VERSION command, which usually sets LAST as the default.
- For SQL dataviews-Only one version is assigned; version 1 in production status. You cannot set the default version.
Copyright © 2015 CA Technologies.
All rights reserved.
 
|
|