ch05.sgm 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. <!-- $XConsortium: ch05.sgm /main/4 1996/10/11 09:23:56 cdedoc $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <Chapter id="infoapg.div.5">
  10. <Title id="B7XKbKBcgmg24aK">Administering Bookcases</title>
  11. <IndexTerm><Primary>information libraries</Primary>
  12. <Secondary>bookcase administration</Secondary></IndexTerm>
  13. <Para>
  14. After building bookcases into an information library, you can
  15. perform several administrative functions on the bookcases that
  16. make up the library without having to rebuild them. Specifically,
  17. you can:
  18. </Para>
  19. <ItemizedList>
  20. <ListItem>
  21. <Para><Link Linkend="K7XKbKBcgmg24aK">Copy bookcases from another library</Link></Para>
  22. </ListItem>
  23. <ListItem>
  24. <Para><Link Linkend="B8XKbKBcgmg24aK">Remove bookcases from a library</Link></Para>
  25. </ListItem>
  26. <ListItem>
  27. <Para><Link Linkend="M8XKbKBcgmg24aK">List the bookcases in a library</Link></Para>
  28. </ListItem>
  29. <ListItem>
  30. <Para><Link Linkend="n0cWdbKB-zmg24aK">Rename bookcases in a library</Link></Para>
  31. </ListItem>
  32. <ListItem>
  33. <Para><Link Linkend="vbWdbKB-zmg24aK">Rearrange bookcases in a library</Link></Para>
  34. </ListItem>
  35. </ItemizedList>
  36. <Para>
  37. See also
  38. <Link Linkend="n7Ktl2IBUXmBt8oL">Adding a Bookcase to an Existing Library</Link>.
  39. </Para>
  40. <!--(((((((((((((((((((((((((((((((((((((((((((((((((((-->
  41. <sect1>
  42. <Title id="n01cq1dBePI9X3cS">Running dtinfogen admin</Title>
  43. <IndexTerm><Primary>Information Manager Toolkit</Primary><Secondary>commands</Secondary>
  44. <Tertiary>dtinfogen admin</Tertiary></IndexTerm>
  45. <Para>
  46. <command>dtinfogen admin</command>
  47. is an interactive program that displays a menu
  48. from which you select the administrative operation you want to
  49. perform. To run the <Command>dtinfogen admin</Command> command,
  50. on the command line type:
  51. </Para>
  52. <ProgramListing>
  53. <UserInput>dtinfogen admin</UserInput>
  54. </ProgramListing>
  55. <Para>
  56. When you press enter, the following menu appears.</Para>
  57. <LiteralLayout>
  58. 1) Copy a bookcase from another library
  59. 2) Remove a bookcase
  60. 3) List bookcases in a library
  61. 4) Rename a bookcase
  62. 5) Rearrange bookcases in a library
  63. 6) Exit
  64. Please enter your choice [1-6]
  65. </LiteralLayout>
  66. </sect1>
  67. <!--((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((-->
  68. <sect1>
  69. <Title id="K7XKbKBcgmg24aK">Copying Bookcases from Another Library</Title>
  70. <IndexTerm><Primary>information libraries</Primary><Secondary>copying bookcases between</Secondary></IndexTerm>
  71. <IndexTerm><Primary>bookcases</Primary><Secondary>copying from another library</Secondary></IndexTerm>
  72. <Para>
  73. When you copy a bookcase from another library,
  74. <command>dtinfogen admin</command>
  75. validates the bookcase you are copying against the bookcases in
  76. the destination library. This ensures that no section IDs are
  77. duplicated within the library, and that the database versions are
  78. compatible with each other.
  79. </Para>
  80. <Para>
  81. If the bookcase you want to copy already exists in the destination
  82. library, <Command>dtinfogen admin</Command> asks whether you wish to replace the
  83. bookcase.
  84. </Para>
  85. <Para>
  86. To copy a bookcase from another library:
  87. </Para>
  88. <OrderedList>
  89. <ListItem>
  90. <Para>At a command line, enter <UserInput>dtinfogen admin</UserInput>.
  91. </Para>
  92. <Para>
  93. The following menu appears:
  94. </Para>
  95. <LiteralLayout>
  96. 1) Copy a bookcase from another library
  97. 2) Remove a bookcase
  98. 3) List bookcases in a library
  99. 4) Rename a bookcase
  100. 5) Rearrange bookcases in a library
  101. 6) Exit
  102. Please enter your choice [1-6]
  103. </LiteralLayout>
  104. </ListItem>
  105. <ListItem>
  106. <Para>On the command line, enter <UserInput>1</UserInput>.
  107. </Para>
  108. <Para>
  109. <command>dtinfogen admin</command> displays:
  110. </Para>
  111. <LiteralLayout>
  112. Enter the path for the library from which you want to copy a bookcase.
  113. This can be a relative or absolute path.
  114. </LiteralLayout>
  115. </ListItem>
  116. <ListItem>
  117. <Para>
  118. Enter the path to the information library from which you
  119. want to copy a bookcase. For example: <UserInput>/lit/wolfe</UserInput>
  120. </Para>
  121. <Para>
  122. <command>dtinfogen admin</command> displays the bookcases available in the
  123. library you specified. For example:
  124. </Para>
  125. <LiteralLayout>
  126. The bookcases available in /lit/wolfe are:
  127. 1) Life [Life Works]
  128. 2) Essays [Essays from Life]
  129. 3) Poems [Collections of Poems]
  130. Enter the number associated with the bookcase you want to copy.
  131. </LiteralLayout>
  132. </ListItem>
  133. <ListItem>
  134. <Para>
  135. At the prompt, enter the number corresponding to the
  136. bookcase you want to copy. <command>dtinfogen admin</command> displays:
  137. </Para>
  138. <LiteralLayout>
  139. You specified <Replaceable>[Life]</Replaceable>. Do you really want to copy this bookcase?
  140. </LiteralLayout>
  141. </ListItem>
  142. <ListItem>
  143. <Para>
  144. To copy the bookcase you specified, enter
  145. <UserInput>Y</UserInput> (you can use
  146. an uppercase or lowercase character).
  147. </Para>
  148. </ListItem>
  149. <ListItem>
  150. <Para>
  151. Enter the path to the information library to which you
  152. want to copy the bookcase. For example:
  153. <UserInput>/lit/destiny</UserInput>
  154. </Para>
  155. <Para>
  156. <command>dtinfogen admin</command> displays the bookcases available in the
  157. library you specified:
  158. </Para>
  159. <LiteralLayout>
  160. The bookcases available in /lit/destiny are:
  161. 1) Child [School Days]
  162. 2) Reports [Reports from School]
  163. Bookcases appear in the browser Book List in the order listed here.
  164. Enter the number corresponding to the position you want bookcase to occupy [1-2].
  165. </LiteralLayout>
  166. </ListItem>
  167. <ListItem>
  168. <Para>
  169. Enter the number corresponding to the position you want
  170. the bookcase to occupy.
  171. </Para>
  172. <Para>
  173. If another bookcase already occupies the position you
  174. choose, the bookcase you are copying takes its place, and
  175. the original bookcase moves down one place in the list.
  176. </Para>
  177. <Para>
  178. <command>dtinfogen admin</command> displays the new order of the bookcases in
  179. the library. For example:
  180. </Para>
  181. <LiteralLayout>
  182. You specified this order for the bookcases:
  183. 1) Child [School Days]
  184. 2) Reports [Reports from School]
  185. 3) Life [Life Works]
  186. Is this correct? [ynq]
  187. </LiteralLayout>
  188. </ListItem>
  189. <ListItem>
  190. <Para>
  191. To copy the bookcase into this position, enter
  192. <UserInput>Y</UserInput>. <command>dtinfogen admin</command> saves the addition to the library and returns
  193. to the main menu.
  194. </Para>
  195. </ListItem>
  196. </OrderedList>
  197. </sect1>
  198. <!--))))))))))))))))))))))))))))))))))))))))))))))))))))-->
  199. <sect1>
  200. <Title id="B8XKbKBcgmg24aK">Removing Bookcases from a Library</Title>
  201. <IndexTerm><Primary>information libraries</Primary><Secondary>removing bookcases from</Secondary></IndexTerm>
  202. <IndexTerm><Primary>bookcases</Primary><Secondary>removing from a library</Secondary></IndexTerm>
  203. <Para>
  204. The procedure for removing a bookcase with <command>dtinfogen
  205. admin</command> is similar to the procedure for copying a bookcase into
  206. a library. When you remove a bookcase from a library, its database is
  207. deleted from the information library.
  208. </Para>
  209. <Para>
  210. When you specify the library to work with, <Command>dtinfogen
  211. admin</Command> lists the bookcases found in that library. You simply
  212. specify the bookcase to remove. If the information you supply is valid,
  213. <Command>dtinfogen admin</Command> prompts you for confirmation before
  214. removing the bookcase you specified.
  215. </Para>
  216. <Para>
  217. To remove a bookcase from a library:
  218. </Para>
  219. <OrderedList>
  220. <ListItem>
  221. <Para>
  222. At a command line, enter <UserInput>dtinfogen admin</UserInput>.
  223. </Para>
  224. <Para>
  225. The following menu appears.
  226. </Para>
  227. <LiteralLayout>
  228. 1) Copy a bookcase from another library
  229. 2) Remove a bookcase
  230. 3) List bookcases in a library
  231. 4) Rename a bookcase
  232. 5) Rearrange bookcases in a library
  233. 6) Exit
  234. Please enter your choice [1-6]
  235. </LiteralLayout>
  236. </ListItem>
  237. <ListItem>
  238. <Para>To remove a bookcase, enter <UserInput>2</UserInput>.
  239. </Para>
  240. <Para>
  241. <Command>dtinfogen admin</Command> displays:
  242. </Para>
  243. <LiteralLayout>
  244. Enter the path for the library from which you want to remove a bookcase.
  245. This can be a relative or absolute path.
  246. </LiteralLayout>
  247. </ListItem>
  248. <ListItem>
  249. <Para>
  250. Enter the path to the information library from which you
  251. want to remove the bookcase. For example: <UserInput>/lit/wolfe</UserInput>.
  252. </Para>
  253. <Para>
  254. <Command>dtinfogen admin</Command> displays the bookcases available in the
  255. library you specified:
  256. </Para>
  257. <LiteralLayout>
  258. The bookcases available in /lit/wolfe are:
  259. 1) Life [Life Works]
  260. 2) Essays [Essays from Life]
  261. 3) Poems [Collections of Poems]
  262. Enter the number corresponding to the bookcase to remove.
  263. </LiteralLayout>
  264. </ListItem>
  265. <ListItem>
  266. <Para>
  267. At the prompt, enter the number corresponding to the
  268. bookcase you want to remove.
  269. <Command>dtinfogen admin</Command> displays:
  270. </Para>
  271. <LiteralLayout>
  272. You specified <Replaceable>[Essays]</Replaceable>. Do you really want to remove this bookcase?
  273. </LiteralLayout>
  274. </ListItem>
  275. <ListItem>
  276. <Para>To remove the bookcase you specified, enter <UserInput>Y</UserInput>.
  277. <Command>dtinfogen admin</Command> removes the bookcase and returns to the
  278. main menu.
  279. </Para>
  280. </ListItem>
  281. </OrderedList>
  282. </sect1>
  283. <!--((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((-->
  284. <sect1>
  285. <Title id="M8XKbKBcgmg24aK">Listing the Bookcases in a Library</Title>
  286. <IndexTerm><Primary>information libraries</Primary><Secondary>listing bookcases in</Secondary></IndexTerm>
  287. <IndexTerm><Primary>bookcases</Primary><Secondary>listing for a library</Secondary></IndexTerm>
  288. <Para>
  289. In trying to identify the library to work with, you may want to
  290. list the bookcases in a library.
  291. </Para>
  292. <Para>
  293. To list bookcases in a library:
  294. </Para>
  295. <OrderedList>
  296. <ListItem>
  297. <Para>At a command line, enter
  298. <UserInput>dtinfogen admin</UserInput>.
  299. </Para>
  300. <Para>
  301. <command>dtinfogen admin</command> displays:</Para>
  302. <LiteralLayout>
  303. 1) Copy a bookcase from another library
  304. 2) Remove a bookcase
  305. 3) List bookcases in a library
  306. 4) Rename a bookcase
  307. 5) Rearrange bookcases in a library
  308. 6) Exit
  309. Please enter your choice [1-6]
  310. </LiteralLayout>
  311. </ListItem>
  312. <ListItem>
  313. <Para>
  314. To list a bookcase, enter <UserInput>3</UserInput>.
  315. </Para>
  316. <Para>
  317. <command>dtinfogen admin</command> displays:</Para>
  318. <LiteralLayout>
  319. Enter the path for the library for which you want to list bookcases.
  320. This can be a relative or absolute path.
  321. </LiteralLayout>
  322. </ListItem>
  323. <ListItem>
  324. <Para>
  325. Enter the path to the information library for which you
  326. want to list bookcases. For example: <UserInput>/lit/wolfe</UserInput>.
  327. </Para>
  328. <Para>
  329. <command>dtinfogen admin</command> displays the bookcases available in the
  330. library you specified. For example:
  331. </Para>
  332. <LiteralLayout>
  333. The bookcases available in /lit/wolfe are:
  334. 1) Life [Life Works]
  335. 2) Essays [Essays from Life]
  336. 3) Poems [Collections of Poems]
  337. </LiteralLayout>
  338. </ListItem>
  339. <ListItem>
  340. <Para>
  341. After listing the bookcases in the information library, <command>dtinfogen admin</command>
  342. returns you to the main menu.
  343. </Para>
  344. </ListItem>
  345. </OrderedList>
  346. </sect1>
  347. <!--)))))))))))))))))))))))))))))))))))))))))))))))))))))-->
  348. <sect1>
  349. <Title id="n0cWdbKB-zmg24aK">Renaming Bookcases in a Library</Title>
  350. <IndexTerm><Primary>information libraries</Primary><Secondary>renaming bookcases in</Secondary></IndexTerm>
  351. <IndexTerm><Primary>bookcases</Primary><Secondary>renaming in a library</Secondary></IndexTerm>
  352. <Para>
  353. You can change the bookcase names that the browser displays in
  354. the Information Manager Book List. To rename a bookcase:
  355. </Para>
  356. <OrderedList>
  357. <ListItem>
  358. <Para>
  359. At a command line, enter <UserInput>dtinfogen admin</UserInput>.
  360. </Para>
  361. <Para>
  362. <command>dtinfogen admin</command> displays:
  363. </Para>
  364. <LiteralLayout>
  365. 1) Copy a bookcase from another library
  366. 2) Remove a bookcase
  367. 3) List bookcases in a library
  368. 4) Rename a bookcase
  369. 5) Rearrange bookcases in a library
  370. 6) Exit
  371. Please enter your choice [1-6]
  372. </LiteralLayout>
  373. </ListItem>
  374. <ListItem>
  375. <Para>
  376. To rename a bookcase, enter <UserInput>4</UserInput>.
  377. </Para>
  378. <Para>
  379. <command>dtinfogen admin</command> displays:
  380. </Para>
  381. <LiteralLayout>
  382. Enter the path for the library containing the bookcase you want to rename.
  383. This can be a relative or absolute path.
  384. </LiteralLayout>
  385. </ListItem>
  386. <ListItem>
  387. <Para>
  388. Enter the path to the information library you want to
  389. rename. For example: <UserInput>/lit/wolfe</UserInput>.
  390. </Para>
  391. <Para>
  392. <command>dtinfogen admin</command> displays the bookcases available in the
  393. library you specified:
  394. </Para>
  395. <LiteralLayout>
  396. The bookcases available in /lit/wolfe are:
  397. 1) Life [Life Works]
  398. 2) Essays [Essays from Life]
  399. 3) Poems [Collections of Poems]
  400. Enter the number corresponding to the bookcase you want to rename.
  401. </LiteralLayout>
  402. </ListItem>
  403. <ListItem>
  404. <Para>
  405. At the prompt, enter the number corresponding to the
  406. bookcase you want to rename. <command>dtinfogen admin</command> displays:
  407. </Para>
  408. <LiteralLayout>
  409. You specified <Replaceable>[Poems]</Replaceable>. Do you really want to rename the bookcase?
  410. </LiteralLayout>
  411. </ListItem>
  412. <ListItem>
  413. <Para>To rename the bookcase you specified, enter <UserInput>Y</UserInput>.
  414. <command>dtinfogen admin</command> asks you to enter the new title for the
  415. bookcase:
  416. </Para>
  417. <LiteralLayout>
  418. Enter the new title for <Replaceable>[Poems]</Replaceable>.
  419. </LiteralLayout>
  420. </ListItem>
  421. <ListItem>
  422. <Para>
  423. Enter the new title for the bookcase.
  424. <command>dtinfogen admin</command> displays the new title:
  425. </Para>
  426. <LiteralLayout>You entered <Replaceable>[Old Poems]</Replaceable>. Is this title correct?
  427. </LiteralLayout>
  428. </ListItem>
  429. <ListItem>
  430. <Para>
  431. To accept the new title, enter <UserInput>Y</UserInput>.
  432. <command>dtinfogen admin</command> saves the
  433. new title and returns to the main menu.
  434. </Para>
  435. </ListItem>
  436. </OrderedList>
  437. </sect1>
  438. <!--)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))-->
  439. <sect1>
  440. <Title id="vbWdbKB-zmg24aK">Rearranging Bookcases in a Library</Title>
  441. <IndexTerm><Primary>information libraries</Primary><Secondary>rearranging bookcases in</Secondary></IndexTerm>
  442. <IndexTerm><Primary>bookcases</Primary><Secondary>rearranging in a library</Secondary></IndexTerm>
  443. <Para>
  444. After you have built a library, you may find that you want to
  445. display the bookcases in a different order in the Information Manager Book List.
  446. Or, you may have added a bookcase using
  447. <Command>dtinfogen build</Command>, and
  448. want to move it to a different position. You can use
  449. <Command>dtinfogen admin</Command> to
  450. change the order of bookcases in a library.
  451. </Para>
  452. <Para>
  453. To rearrange bookcases within a library:
  454. </Para>
  455. <OrderedList>
  456. <ListItem>
  457. <Para>
  458. At a command line, enter <UserInput>dtinfogen admin</UserInput>.
  459. </Para>
  460. <Para>
  461. <command>dtinfogen admin</command> displays:
  462. </Para>
  463. <LiteralLayout>
  464. 1) Copy a bookcase from another library
  465. 2) Remove a bookcase
  466. 3) List bookcases in a library
  467. 4) Rename a bookcase
  468. 5) Rearrange bookcases in a library
  469. 6) Exit
  470. Please enter your choice [1-6]
  471. </LiteralLayout>
  472. </ListItem>
  473. <ListItem>
  474. <Para>
  475. To rearrange bookcases within a library, enter <UserInput>5</UserInput>.
  476. </Para>
  477. <Para>
  478. <command>dtinfogen admin</command> displays:
  479. </Para>
  480. <LiteralLayout>
  481. Enter the path for the library you want to rearrange.
  482. This can be a relative or absolute path.
  483. </LiteralLayout>
  484. </ListItem>
  485. <ListItem>
  486. <Para>
  487. Enter the path to the information library you want to
  488. rearrange. For example: <UserInput>/lit/wolfe</UserInput>.
  489. </Para>
  490. <Para>
  491. <command>dtinfogen admin</command> displays the bookcases available in the
  492. library you specified:
  493. </Para>
  494. <LiteralLayout>
  495. The bookcases available in /lit/wolfe are:
  496. 1) Life [Life Works]
  497. 2) Essays [Essays from Life]
  498. 3) Poems [Collections of Poems]
  499. Enter the number corresponding to the bookcase you want to move.
  500. </LiteralLayout>
  501. </ListItem>
  502. <ListItem>
  503. <Para>
  504. At the prompt, enter the number corresponding to the
  505. bookcase you want to move. <command>dtinfogen admin</command> displays:
  506. </Para>
  507. <LiteralLayout>
  508. You specified <Replaceable>[Poems]</Replaceable>. Do you really want to move this bookcase?
  509. </LiteralLayout>
  510. </ListItem>
  511. <ListItem>
  512. <Para>
  513. To move the bookcase you specified to a different position
  514. in the library, enter <UserInput>Y</UserInput>.
  515. <command>dtinfogen admin</command> displays the current
  516. order of the library without the bookcase you selected to
  517. move. For example:
  518. </Para>
  519. <LiteralLayout>
  520. The order of the bookcase without [Poems] is:
  521. 1) Life [Life Works]
  522. 2) Essays [Essays from Life]
  523. Bookcases appear in the browser Book List in the order listed here.
  524. Enter the number corresponding to the position you want bookcase to occupy.
  525. </LiteralLayout>
  526. </ListItem>
  527. <ListItem>
  528. <Para>
  529. Enter the number corresponding to the position you want
  530. the bookcase to occupy.
  531. </Para>
  532. <Para>
  533. If another bookcase already occupies the position you
  534. choose, the bookcase you are moving takes its place, and
  535. the original bookcase moves one place down in the list.
  536. </Para>
  537. <Para>
  538. <Command>dtinfogen admin</Command> displays the new order of the bookcases in
  539. the library. For example:
  540. </Para>
  541. <LiteralLayout>
  542. You specified this order for the bookcases:
  543. 1) Poems [Collections of Poems]
  544. 2) Life [Life Works]
  545. 3) Essays [Essays from Life]
  546. Is this correct? [ynq]
  547. </LiteralLayout>
  548. </ListItem>
  549. <ListItem>
  550. <Para>
  551. To accept the rearranged order, enter <UserInput>Y</UserInput>.
  552. <Command>dtinfogen admin</Command> saves
  553. the new order and returns to the main menu.
  554. </Para>
  555. </ListItem>
  556. </OrderedList>
  557. </sect1>
  558. </Chapter>