RCCVVERS

RCCVVERS validates the fullyQualifiedVersionOfaFile argument specified.

Purpose

For the Windows® platform, a fully qualified file name in the list must start with the drive letter (for example, X:\) and may not contain the slash (/) character.

For Linux® and UNIX® platforms, the name must start with a slash (/) character and may not contain the backslash (\) character.

Syntax

RCCVVERS(fullyQualifiedVersionOfaFile,platform) 

Arguments

You can use the following arguments when you run the RCCVVERS function:

fullyQualifiedVersionOfaFile
The fully qualified version name of a file.

For the Windows platform, this parameter must start with the drive letter (for example, X:\) and may not contain the slash (/) character.

For Linux and UNIX platforms, this parameter must start with a slash (/) character and may not contain the backslash (\) character.

platform
The name of the platform that contains the DevOps Code ClearCase® VOB. Allowable values: WINDOWS or UNIX.

Result

The following table lists the return and reason codes that result from running the RCCVVERS function; it also provides a description of the meaning of the codes.

Table 1. Result of running the RCCVVERS function
Return code Reason code Description
0 600 Processing successful.
8 611 Required argument missing.
612 Invalid argument value.
616 Improper number of arguments.
12 698 Internal error.
699 Internal error.

Example

PARSE Value RCCVVERS('Z:\testvob\dir1\pg1.cbl@@\main\6','WINDOWS') 
With rccret rccrsn rccmsg

Output

None.