Because you cannot modify or delete a version that is in production status directly, you must use the following procedures to modify or delete the production version of a definition.
Note: You can delete SQL dataviews and unmodeled sequential file dataviews directly, even though they are in production status. You cannot duplicate them using the NEXT VERSION option.
To modify a product version
DUPLICATE definition‑type definition‑name [NEXT VER]
This next version of the definition is in test status.
MARK STATUS definition-type definition-name TO PROD
This statement also marks the current production version to history.
To delete a production version:
MARK STATUS definition-type definition-name TO HIST
DELETE definition‑type definition‑name version nnn
The status of a version usually is marked from production to history just before it is deleted. If you replace a production occurrence with a new production version, it is not necessary to first mark the current production version to history.
The version of a program, panel, or report that is used when you do not specify a version clause in a command or when the version entry is omitted in a prompter is determined as follows:
Note: Some commands (such as DELETE) require a version clause.
For CA Datacom native access dataviews and sequential and VSAM file dataviews
A SET [SITE] DATAVIEW VERSION command, which usually sets PROD as the default, determines the default version of a dataview used as a program resource. The SET [SITE] VERSION command, which usually sets LAST as the default, specifies the default version of a dataview specified by commands such as EDIT, DISPLAY, and PRINT.
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.
|
|