How to replace Dictionary records?
brian_matthewsbrian matthews
brian_matthews_bmw@hotmail.com
Sat, 11 Dec 2004 03:17:21 +0000
I don't recall if POW lets you remove record structures. If it does, you
can run your script option once you have deleted the rec and exited POW, if
not, you will get an error on the attempt to add the new record syntax.
I suspect you will have to rename a copy of your current dict , then delete
it , and then do a rebuild after adding your altered syntax to a full pdl
source file.
Bri,
>From: "Thomson, Martyn EDUC:EX" <Martyn.Thomson@gems1.gov.bc.ca>
>To: "POWERHOUSE NEW (E-mail)" <powerh-l@sowder.com>
>Subject: How to replace Dictionary records?
>Date: Fri, 10 Dec 2004 17:01:31 -0800
>
>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
>
>
>
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/