[ From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  1-FEB-1991 03:19:16.42  To:	MRGATE::"ARISIA::EVERHART" CC:	& Subj:	VMS V5.4 Gotcha (RMS Journaling)  * Received:  by crdgw1.ge.com (5.57/GE 1.80)( 	 id AA20341; Fri, 1 Feb 91 02:09:45 ESTY Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Thu, 31 JAN 91 17:39:03 PST , Received: by ucbvax.Berkeley.EDU (5.63/1.42)* 	id AA10639; Thu, 31 Jan 91 17:35:22 -08009 Received: from USENET by ucbvax.Berkeley.EDU with netnews . 	for info-vax@kl.sri.com (info-vax@kl.sri.com); 	(contact usenet@ucbvax.Berkeley.EDU if you have questions)  Date: 31 Jan 91 22:00:37 GMTX From: ubc-cs!mprgate.mpr.ca!mprgate!wilsenac@beaver.cs.washington.edu  (Henry Wilsenack) Organization: MPR Teltech Ltd.) Subject: VMS V5.4 Gotcha (RMS Journaling) 3 Message-Id: <1991Jan31.220037.23089@mprgate.mpr.ca> # Sender: info-vax-request@kl.sri.com  To: info-vax@kl.sri.com     K     Here a *big* GOTCHA which I recently came across after upgrading to VMS :     V5.4...  Basically , RMS Journaling no longer worked!!       PROBLEM:G        Any application program which makes use of the RMS Recovery Unit J     Journaling system calls (SYS$START_RU, SYS$END_RU, etc...) will always/     fail and return with a status of SS$_ABORT.   
     ANALYSIS: I        As of VMS 5.4, RMS Journaling (and other Resource Managers such as L     DBMS and VAX/Rdb) make use of DECdtm services which are a new feature ofJ     VMS 5.4.  This means that when a call to SYS$START_RU is made, it getsK     emulated as a call to $START_TRANSW (a DECdtm service).  This call will K     fail if there is no transaction logfile on the system.  The transaction J     logfile is created and maintained by a new Log Manager Control ProgramJ     (LMCP).  By default DECdtm expects its logfile to exist in a directoryF     pointed to by the logical SYS$JOURNAL.  This logical is defined atE     DECdtm startup time and by default points to SYS$COMMON:[SYSEXE]. K     HOWEVER, the logfile is *NOT* created as part of the DECdtm startup and A     must be manually created.  The filename must be of the format :     SYSTEM$node_name.LM$JOURNAL and a size of 4000 blocks.  
     SOLUTION: I        Use the following commands to create the logfile.  Once it exists, %     it does not need to be recreated.            $ RUN SYS$SYSTEM:LMCP D         LMCP> CREATE LOGFILE SYS$JOURNAL:SYSTEM$node_name.LM$JOURNAL  N    This was a really serious problem for us, and frankly I'm surprised that it5 wasn't put into the Release Notes,... Oh, well... :->   > -- -------------------------+---------------------------------/ Henry H. Wilsenack		| Voice :   (604) 293-5478  . MPR Teltech Ltd.		| FAX   :   (604) 293-5787  5 8999 Nelson Way,		| E-Mail: wilsenac@mprgate.mpr.ca   K Burnaby, BC, Canada, V5A 4B5 	|         uunet!ubc-cs!mprgate!wilsenac         