[Isis-users] Logically deleted records

spinaker spinaker at adinet.com.uy
Wed Sep 26 22:10:13 CEST 2012


Great Bridgette !!!!

you are going to graduate as PhD in cisis !!!
I posted yesterday a challenge, but the exercise is not only a lab 
excersise but has important implications in everyday problems of control
Let me be clear with two real examples

You have pictures of your patrons, or .pdf files of full text articles 
of your journal. This means thousands of digital files
    Because of hard disk performance you cannot save all this stuff in 
the same directory, but you have to distribute even in a set of 
subdirectories.
    Let's say you have ten folders named as: 0, 1, 2, .. 9
    Now you save files using the last digit of the Id of the User or the 
accession number of your book, whatever

Then you have two problems, real problems you can control with MX

1) how do you know the file named in the record points to the 
corresponding file in the directory and vice versa
    so there are no records pointing to nowhere, and there are not 
orphans digital files
2) How do you know that are not misplaced files,  this is, a file with 
ending digit 1 is not placed in folder 8

OK; this is the kind of issues I solve everyday with MX

Regards
Ernesto Spinak



El 26/09/2012 16:55, Bridgette Heron escribió:
> I agree with your suggestion. It is necessary to add examples like the 
> one we did. It should also include daily operational tips and tricks 
> to solve issues relating to our CDS/ISIS databases.
> Well, I'm not finished with the challenge, but I created 3 folders 
> using the command. Super cool Smile emoticon
>
> *From:* spinaker <mailto:spinaker at adinet.com.uy>
> *Sent:* Wednesday, September 26, 2012 5:55 AM
> *To:* isis-users at iccisis.org <mailto:isis-users at iccisis.org>
> *Subject:* Re: [Isis-users] Logically deleted records
>
> El 26/09/2012 7:09, spinaker escribió:
>> Dear Piet
>>
>> Thanks for your comments
>> Concerning CISIS there are updates with only few modifications, so 
>> the manual is up to date
>> maybe it is necessary to add examples like this one, and tricks to 
>> solve daily problems of administration even commands
>>
>> Take this one only for fun
>> I use to do daily backups of my system, with .bat files with using cisis
>> therefore the first thing I'd need is to create 31 folders, one for 
>> each day, for example
>> c:\backup\01     .... \31
>> so, instead of doing   c:\> md 01  02 03 04,   etc  you can do
>>
>> mx tmp "sys='md ',mfn(2) '" to=31 now
>>
>> Now the challenge
>> How do you save your data every day in the corresponding folder using 
>> MX  ?
>>
>>
>> Enjoy it
>> Regards
>> Ernesto Spinak
>>
>>
>>
>> El 25/09/2012 17:35, Piet De Keyser escribió:
>>> Dear Ernesto,
>>>
>>> You are a true magician with CISIS and you keep amazing me with your 
>>> skills. I took the trouble of studying (most of) MX and had great 
>>> benifit from it while maintaining my databases. I can recomend it to 
>>> everyone who is acting as system manager of ISIS based library 
>>> applications.
>>>
>>> Is there any change the kind of advanced applications and examples 
>>> you showed here can find their way into maybe a new version of the 
>>> CISIS manual?
>>>
>>> Piet de Keyser
>>> Belgium
>>> ------------------------------------------------------------------------
>>> *Van:* isis-users-bounces at iccisis.org 
>>> [isis-users-bounces at iccisis.org] namens spinaker 
>>> [spinaker at adinet.com.uy]
>>> *Verzonden:* dinsdag 25 september 2012 22:12
>>> *Aan:* Bridgette Heron
>>> *CC:* isis-users at iccisis.org
>>> *Onderwerp:* Re: [Isis-users] Logically deleted records
>>>
>>> Dear Bridgette

-- 
   .^.                                .^.
   ( )                                ( )
   ===                                ===
  =[=]================================[=]=
   | |  Ernesto Spinak                | |
   | |  spinaker at adinet.com.uy        | |
   | |  Montevideo, Uruguay           | |
   | |  tel/fax  (598) 2622-3352      | |
   | |  celular  (598) 99612238      | |
  =[=]================================[=]=
   ===                                ===
   ( )                                ( )
    V                                  V

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20120926/1c196f6b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 257 bytes
Desc: not available
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20120926/1c196f6b/attachment.gif>


More information about the isis-users mailing list