[Info-vax] RMS - Wish list
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Tue Oct 19 07:52:06 EDT 2021
In article <64e5454e-112a-4de1-b874-41fc837c00d2n at googlegroups.com>, Greg Tinkler <tinklerg at gmail.com> writes:
>
>> > re $GET, sorry yup you are correct you can use $GET to get an arbitrary range of yes from a UDF file, but you cannot you $UPDATE.
>> > %RMS-F-CUR, no current record (operation not preceded by $GET/$FIND), even if you do a $FIND or $GET before.
>> Hmm, $update just works for me - with the same size as the $get.
>> Tested on EISNER, AlphaServer DS20 500 MHz OpenVMS V8.4-2L2.
>> Test program:
>> https://drive.google.com/file/d/1_5Vi1qRjh--4_HiuuTPJQ6KVE3v5O7rQ/view?usp=sharing
>>
>> Hein.
>Thanks for that Hein
>It turns out $find() does not work, but $get() does. I can only assume because $get has a 'record length by way of the usz, whereas $find does not.
>Anyway, as a result it really does raise the question as to way SSIO is needed when RMS clearly can do the job. Yes I have written the code, and done some testing, but was just a proof of concept. If I can do that in under 2 weeks...
>
>PS sys$modify() got a pointer to some doco? Very useful.
I thought that $MODIFY had been documented in the past. I just pulled the V4
RMS manual and it's not in there. Perhaps, it was V3 but those are packed in
boxes in storage. Regardless, about the only place you may find the $MODIFY
documented today would be in the source listings. There are only a handful of
things $MODIFY can do and you can find their codes in $RMEDEF. Modifying the
record format, as Hein has in his example, is one such function of $MODIFY.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list