How to replace Dictionary records?

Thomson, Martyn EDUC:EX Martyn.Thomson@gems1.gov.bc.ca
Fri, 10 Dec 2004 17:01:31 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C4DF1C.F377B271
Content-Type: text/plain;
	charset="iso-8859-1"

Hello listers,
I need to add a new field to the record and indices of an RMS file. A simple
task in POW, but I need to automate the replacement of the dictionary
definition so it can be migrated between environments.
The PDL manual states "A change to any of the index attributes requires you
to unload, create and reload any associated files and record structures".
I have created a PDL script with the new definition, but running it in PDL
has no effect and gives no error messages. Do I need to delete the existing
definition before loading the new? I can't find any PDL statement that does
a global delete aka POW.
Is there another approach to this? Any advice appreciated.
I'm using 7.10g1 on OpenVMS Alpha V7.3-2.

Regards, 
Martyn Thomson 
Information Management Branch 
Ministry of Education, Victoria, BC 
  

 

------_=_NextPart_001_01C4DF1C.F377B271
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=109233800-11122004>Hello 
listers,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=109233800-11122004>I need to add a new 
field to the record and indices of an RMS file.&nbsp;A simple task&nbsp;in POW, 
but&nbsp;</SPAN></FONT><FONT face=Arial size=2><SPAN class=109233800-11122004>I 
need to automate the replacement of the dictionary definition so it can be 
migrated between environments.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=109233800-11122004>The PDL manual 
states "A change to any of the index attributes requires you to unload, create 
and reload any associated files and record structures".</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=109233800-11122004>I have created a PDL 
script with the new definition, but&nbsp;running it&nbsp;in PDL has no effect 
and gives no error messages. Do I need to delete the&nbsp;existing definition 
before loading the new? I can't find any PDL statement that does a global 
delete&nbsp;aka POW.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=109233800-11122004>Is there another 
approach to this? Any advice appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=109233800-11122004>I'm using 7.10g1 on 
OpenVMS Alpha V7.3-2.</SPAN></FONT></DIV>
<P><FONT face=Arial size=2>Regards,</FONT> <BR><FONT face=Arial size=2>Martyn 
Thomson</FONT> <BR><FONT face=Arial size=2>Information Management Branch</FONT> 
<BR><FONT face=Arial><FONT size=2>Ministry of Education<SPAN 
class=109233800-11122004>, </SPAN></FONT></FONT><FONT face=Arial 
size=2>Victoria, BC</FONT> <BR><FONT face=Arial size=2>&nbsp;</FONT> </P>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C4DF1C.F377B271--