Using the Caché ^%R Routine - InterSystems Documentation
Using the Caché ^%R Routine - InterSystems Documentation
Using the Caché ^%R Routine - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Parse<strong>Routine</strong>Name<strong>^%R</strong><br />
Entry Point<br />
LINESET<br />
LOCK<br />
UNLOCK<br />
Purpose<br />
Insert/replace a new source line in a saved routine<br />
Attempt to gain exclusive use of a saved routine<br />
Gives up exclusive use of a saved routine<br />
Version Control<br />
Entry Point<br />
VERMAX<br />
VERMAXSET<br />
VERSION1<br />
VERSION<br />
Purpose<br />
Returns <strong>the</strong> maximum number of versions to keep as<br />
backups<br />
Sets <strong>the</strong> maximum number of versions to keep as<br />
backups<br />
Returns <strong>the</strong> version number of <strong>the</strong> oldest backup<br />
Returns <strong>the</strong> version number corresponding to a relative<br />
version number<br />
For more information on <strong>Caché</strong> ObjectScript functions generally, see <strong>the</strong> section “Functions”<br />
in <strong>Using</strong> <strong>Caché</strong> ObjectScript.<br />
Parse<strong>Routine</strong>Name<strong>^%R</strong><br />
Parse<strong>Routine</strong>Name<strong>^%R</strong> (rtn, .extent, .version, .namesp)<br />
Parameters<br />
rtn<br />
extent<br />
version<br />
namesp<br />
The name of <strong>the</strong> target routine.<br />
A string holding <strong>the</strong> parsed extension.<br />
A string giving <strong>the</strong> version number.<br />
A string giving <strong>the</strong> namespace, if any, contained in <strong>the</strong> routine<br />
name.<br />
Description<br />
This function provides access to <strong>the</strong> routine name parser used by <strong>the</strong> o<strong>the</strong>r entry points of<br />
<strong>^%R</strong>.<br />
<strong>Using</strong> <strong>the</strong> <strong>Caché</strong> <strong>^%R</strong> <strong>Routine</strong> 5