Except for ERASE.
I really appreciate all of the answers I got abut emptying an NM KSAM,
and have summarized them and forwarded them to my peers involved in our
project here, and am already using the file equation / purge approach. I
love the idea of building the file once, and just emptying it when done.
But I can see where if one is used to having these in KSAMUtil, and
can't use them on NM KSAM files, one gets disappointed. OTOH, I do like
the elegance of files being files, regardless. OTOH, IMAGE is rather a
counter-example to files just being files.
So, there's a great way to erase, and build, purge, and rename are
pretty straight forward (well, build may be a matter of opinion on that
count), but does everyone know that you can LISTFILE,7 to get
information like you would from VERIFY or KEYINFO? I remember learning
this, not that long ago. What about KEYDUMP or KEYSEQ, or SAVE? Of
course, I know more about programming indexed files in COBOL than I know
about KSAM files per se, so I speak from a wealth of ignorance here. I
suppose that much of this is in a Communicator in one place...
Thanks, Jim, and Craig Fairchild in another message, for helping to
address these issues.
>----------
>From: Therm-O-Link[SMTP:[log in to unmask]]
>Sent: Monday, January 26, 1998 1:58 PM
>To: [log in to unmask]
>Subject: [HP3000-L] Emptying an NM KSAM file -Reply -Reply
>
>Well, Art, that's the beauty of NM KSAM, you don't need any "specail"
>utilities to manage them. Just use the "regular" file manipulation
>commands (like BUILD, PURGE, COPY, etc) to perform KSAMUTIL functions.
>
>In fact, the manual (Using KSAM XL) says that ". . .KSAMUTIL functions
>have been integrated into the following CI commands:
>
>BUILD
>PURGE
>RENAME
>LISTFILE
>
>Okay?
>
>Jim Phillips Manager of Information Systems
>Voice: (915) 860-9933 Therm-O-Link of Texas, Inc.
> Fax: (915) 860-9936 1295 Henry Brennan
>Email: [log in to unmask] El Paso, Texas 79936
>
|