CAC 2020-01-28
This page is obsolete and archived!
- For the DPS8M Simulator visit https://dps8m.gitlab.io/
- For the Multics operating system visit https://swenson.org/multics_wiki/
- For Multics history visit https://multicians.org/
Possible DB bug observed by Kazuhisa Shimizu
http://blog.livedoor.jp/suzanhud/archives/31133698.html
cd db
cwd db
edm
domain: char_12 char(12),
char_5 char(5);
attribute: name char_12,
emp_num char_5,
comp char_5;
relation: Employee (name emp_num* comp),
Comp_mgr (comp* emp_num);
.
w foo.cmdb
q
create_mrds_db foo Pers_Info -list
edm
dom: a bit; /* simplest possible database */
rel: b(a*);
.
w x.cmdb
q
cmdb x small -list
create_mrds_dm_include Pers_Info -based
mrds_call open Pers_Info eu
mrds_call store 1 Employee name1 123 comp1
mrds_call retrieve 6 1 "-range (e Employee) -select e" -allValues are:
\000\000\000\000r_dir_dir>SysAdmin>Repair>db>Pers_Info.db
\c
\c exclusive_update \400\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000
name1
123
comp1
(END)mrds_call
421 call ioa_ ("^/Value^[ is^;s are^]:^/", (n_vals = 1));
422
423 do i = 1 to n_vals;
424 call ioa_ ("^a", values (i));
425 end;I am pretty certain that ioa_ "^a" will only print "\000" if it is passed in a string with nulls. The ioa_ is not the problem.
page revision: 2, last edited: 13 May 2025 20:03