Odd PH VAX Code

arthur kogan akogan@westpac.com.au
Sat, 08 Aug 1998 09:33:03 +1000


Hi Robert,

I do not know of any tool similar to CMS on UNIX. We always did it ourselves by
renaming the source and object adding the time stamp, e.g. myprogram.qks is
renamed myprogram.qks.19980808092430. This was done automatically during
transfer to production. We kept a few versions on disc and the rest were
archived to tape. You can also at the same time create a record in a file to
show who did the change, why etc... It is not too hard to create UNIX scripts to
do this. The procedure for bringing programs from production to development,
also checked if this program was reserved by somebody else. You can code it in
such a way (via setuid using simple C program and setting appropriate security
scheme) that the programs can only be moved to production and back via the
specified procedure, thereby always leaving the audit trail.

Regards,

Arthur Kogan
Westpac Financial Services
Sydney, Australia

EDISR@dteenergy.com wrote:

> The *4x etc. appear to be CMS (DEC's Code Management System) annotation
> lines
> indicating what generation modified what line in the source code.  The 4
> indicate the generation and the letter what reservation of that generation.
> CMS is capable of multiple reserves when more than one person is working on
> the source module and will reconcile the different changes once all the
> reservations have been replaced.
>
> The CMS command 'CMS ANNOTATE filename/GENERATION=4' would have produced
> what
> you see.  Here is an example from the CMS help:
>
> ANNOTATE TIMECVT.BAS/GENERATION=3
>
> Annotated listing for element TIMECVT.BAS in CMS Library
> DISKX:[WORK.CMSLIB]  25-APR-1988 15:50:29
>
>  4    15-APR-1988 10:01:55 JAMES "additional error checks"
> *3    12-APR-1988 15:49:01 JAMES "add check for invalid delta time"
> *2    27-MAR-1988 12:39:58 JAMES "jp - fixed length string required"
> *1    25-MAR-1988 15:37:11 JAMES "time conversion program"
>
> Annotated listing for element TIMECVT.BAS in CMS Library
> DISKX:[WORK.CMSLIB]  25-APR-1988 15:50:29
>
>          1       10      rem Program to compute an absolute time given the
> present time
>          2               rem and a delta time. The result is written to a
> file.
>          3
>          4       20      OPTION TYPE = EXPLICIT
>          5               DECLARE STRING DELTA_TIME
>  2       6               MAP (STRING_LEN) STRING ASC_TIME = 80
>          7               DECLARE LONG RETCODE
>          8               DIM LONG BINARY_DELTA(1)
>          9               DIM LONG NOW(1)
>         10              DIM LONG BINARY_CVT_TIME(1)
>
> I hope that helps.
>
> Incidently.  We are moving from OpenVMS to HP/UX and therefore losing CMS as
> a
> valuable tool.  Does anybody know of something similar for HP/UX 10?
>
> Robert Edis (Blue)
> Technical Consultant
> Michigan, USA
> (VAX/VMS, ORACLE Rdb, PowerHouse 4GL)
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
> This list is closed, thus to post to the list, you must be a subscriber.



= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.