Sun Studio 12: Fortran Programming Guide

3.2.2 Checking Files Out and In

Once your source code is under SCCS control, you use SCCS for two main tasks: to check out a file so that you can edit it, and to check in a file you have finished editing.

Check out a file with the sccs edit command. For example:


demo% sccs edit computepts.f

SCCS then makes a writable copy of computepts.f in the current directory, and records your login name. Other users cannot check the file out while you have it checked out, but they can find out who has checked it out.

When you have completed your editing, check in the modified file with the sccs delget command. For example:


demo% sccs delget computepts.f

This command causes the SCCS system to:

The sccs delget command is a composite of two simpler SCCS commands, delta and get. The delta command performs the first three tasks in the list above; the get command performs the last two tasks.