plato:dev.notebook:info.concepts.fix

INFO (AID) (Adding Concepts)

When extending the concepts list, it was discovered that there was a limitation in the number of concepts (fixed at 1299 entries). Dale Sinder explored this limit and discovered that the number of concepts can be extended to 1499 entries (limited by the maximum number of nc variables [1500]).

The size of the common was 2580 words and we need to increase that length to 2780 (difference of 200 words).

In File a0aids1 block 3-a common doc, the following instructions are provided.

TEXT BLOCK 3-a = common doc SPACE = 236 1 If you need to change the length of common "aids" 2 the following things must agree: 3 4 1. "(n)aids" has -syscomx- with length parameter. 5 2. "a0aidsvoc" has -common-. 6 3. "a0usedaids" has -common-. 7 4. "ainfo" has -commonx- with no length parameter so disk 8 common length must agree with 1 through 3. 9 5. "ainfo" has a define called "tbllth" which is the 10 maximum length of the concept list in the common. 11 This is now 1300 and should be set to the common 12 length minus the start of the concept list. The 13 way "ainfo" works limits "tbllth" to an absolute 14 maximum of 1499.

Extending the limits requires a few steps:

  1. Ensure that the file na0aids1 exists and is the same size and type as a0aids1.
  2. Ensure that the file oa0aids1 exists and is a copy of a0aids1
    1. File oa0aids1 should be created
      1. in account s0over
      2. on master file system4
    2. File oa0aidsvoc needs to be created
      1. in account s0over
      2. on master file system4
      3. by copying a0aidsvoc
    3. File oa0usedaid needs to be created
      1. in account s0over
      2. on master file system4
      3. by copying a0usedaids
    4. File oainfo needs to be created
      1. in account s0over
      2. on master file system4
      3. by copying ainfo
  3. Edit file naids
    1. Search for the value 2580 (syscomx) changing the length from 2580 to 2780
      1. block 2-a entry (2 changes)
  4. Edit file na0aidsvoc
    1. Search for the value 2580, replace with 2780
      1. block 1-c aidsvocab
  5. Edit file na0usedaid
    1. Search for the value 2580, replace with 2780
      1. block 1-c ieu used
  6. Edit file ninfo
    1. Search for the value 2580, replace with 2780
      1. block 1-c ident
  7. Finally, edit file na0aids1, common aids
    1. SHIFT-LAB (change length)
    2. c to change length of common
    3. New length in words 2780
    4. SHIFT-HELP to do it

TEST the Changes

While all of the other AIDS/INFO code accommodates β€œN” version file naming, it does not accommodate this convention for the aids common file.

Therefore, we need to do the copyover of na0aids1 β†’ a0aids1 β†’ oa0aids1 using lesson operator prior to testing naids.

ABORT THE CURRENT COMMON

Once the copyover is complete, enter account system and modify the protections on file a0aids1 enabling group s to edit the file.

Enter the file and abort the common in EM.

Failing to do this will cause the system to try to use the stale common from the old a0aids1 file.

  1. Test the functionality by running lesson naids which should result in the standard β€œINFO” page.
  2. Copyover and recondense the remainder of the files:
    1. a0aidsvoc
    2. a0usedaids
    3. ainfo
    4. aids

Success

The length of the concepts table should now work.

  • plato/dev.notebook/info.concepts.fix.txt
  • Last modified: 2026/01/24 20:08
  • by Site Administrator