home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s005 / 3.ddi / BUNDLE / OS2_HELP_MIGRATE.HLP (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1993-04-22  |  13.0 KB  |  375 lines

  1.  
  2. ΓòÉΓòÉΓòÉ <hidden> Help for Find Programs ΓòÉΓòÉΓòÉ
  3.  
  4. Use this window to start a search of your hard disk for programs to be migrated 
  5. to your OS/2* desktop.  (When a program is migrated, an object for that program 
  6. is displayed in a folder on the OS/2 desktop.  You can then easily start the 
  7. program from the desktop by double-clicking on the object.) 
  8.  
  9. All the drives on your hard disk and any network drives are listed in the 
  10. Drives list.  If you do not want a drive to be searched (because you know that 
  11. no programs exist on the drive), remove the highlighting for that drive. 
  12.  
  13. You can choose to migrate DOS programs, OS/2 programs, and programs written for 
  14. Windows**. 
  15.  
  16. The Database field lists the name of the default database supplied with the 
  17. OS/2 operating system.  Programs on your hard disk and those accessed from the 
  18. network are compared against this database.  Those that are found in the 
  19. database are placed in a DOS Programs folder, Windows Programs folder, or OS/2 
  20. Program folder on the OS/2 desktop.  You can also use the PARSEDB utility 
  21. program to create your own database. 
  22.  
  23. o If you want to search all drives for all program types, select Find. 
  24. o If you want to specify a different database, different drives, different 
  25.   programs, or a combination of each, do the following: 
  26.  
  27.     1. Remove the highlighting from any drives you do not want searched. 
  28.        (Either click on the drive letter or press the spacebar to remove the 
  29.        highlighting.) 
  30.     2. Remove the check mark next to any program type that you do not want 
  31.        searched. 
  32.     3. To use a different database, enter the full path and file name of the 
  33.        database in the Database entry field. 
  34.     4. Select Find. 
  35.  
  36. For a detailed explanation of each field, select from the list below: 
  37.  
  38. o Drives 
  39. o Database 
  40. o Migrate 
  41. o Find 
  42. o Exit 
  43.  
  44.  
  45. ΓòÉΓòÉΓòÉ <hidden> Help for Drives ΓòÉΓòÉΓòÉ
  46.  
  47. This list contains letters representing the hard disk drives on your system. 
  48. After you select the Find push button, the system looks on every drive selected 
  49. in the list to find DOS programs, OS/2* programs, and programs written for 
  50. Windows**.  Every drive listed is preselected (highlighted).  If you need to 
  51. see more drives, scroll the list.  Remove the highlighting from any drive that 
  52. you do not want searched. 
  53.  
  54.  
  55. ΓòÉΓòÉΓòÉ <hidden> Help for Migrate ΓòÉΓòÉΓòÉ
  56.  
  57. Use these check boxes to indicate if you want DOS programs, OS/2*, programs, 
  58. programs written for Windows**, or all programs migrated. The check mark in 
  59. each box shows that the choice is preselected. 
  60.  
  61. Remove the check mark next to any program type that you do not want to include 
  62. in the migration. 
  63.  
  64.  
  65. ΓòÉΓòÉΓòÉ <hidden> Help for Database ΓòÉΓòÉΓòÉ
  66.  
  67. Use the Database entry field to specify the full path and file name of the 
  68. database to be used during migration. A program is eligible for migration if an 
  69. entry corresponding to the program's name exists in the database. The default 
  70. database the system uses is database.dat. 
  71.  
  72. You can create your own database using the PARSEDB utility program.  This 
  73. utility program creates a database that describes the DOS settings needed so 
  74. that migrated programs will run more efficiently. 
  75.  
  76. Related Information: 
  77.  
  78. PARSEDB 
  79.  
  80.  
  81. ΓòÉΓòÉΓòÉ <hidden> Help for Find ΓòÉΓòÉΓòÉ
  82.  
  83. Select Find to start the search of your drives for programs written for DOS, 
  84. OS/2*, Windows**, or all programs.  After the programs are found, a window 
  85. appears in which you select those you want to migrate. 
  86.  
  87.  
  88. ΓòÉΓòÉΓòÉ 1. Help for Cancel ΓòÉΓòÉΓòÉ
  89.  
  90. Select Cancel if you decide not to migrate programs. 
  91.  
  92.  
  93. ΓòÉΓòÉΓòÉ 2. Help for Exit ΓòÉΓòÉΓòÉ
  94.  
  95. Select Exit to end the program.  If you have migrated programs, the changes 
  96. will be saved. 
  97.  
  98.  
  99. ΓòÉΓòÉΓòÉ <hidden> Help for Migrate Programs ΓòÉΓòÉΓòÉ
  100.  
  101. Use this window to specify the programs you want migrated.  When you migrate a 
  102. program, you can use it in a DOS, OS/2*, or WIN-OS/2 session of OS/2. 
  103.  
  104. All the programs listed are highlighted, indicating that they are preselected 
  105. for migration. 
  106.  
  107. o If you want to migrate all the programs listed, select Migrate. 
  108. o To migrate only certain programs: 
  109.  
  110.     1. Remove the highlighting from any programs you do not want to migrate. 
  111.     2. Select Migrate. 
  112.  
  113. If the list does not include a program you need, select Add Programs to include 
  114. other programs in the list for migration. 
  115.  
  116. For a detailed explanation of each field, select from the list below: 
  117.  
  118. o Applications 
  119. o Migrate 
  120. o Add Programs 
  121. o Cancel 
  122.  
  123.  
  124. ΓòÉΓòÉΓòÉ <hidden> Help for Applications ΓòÉΓòÉΓòÉ
  125.  
  126. This list contains the names of programs found on the drives that you selected 
  127. in the Find Programs window.  Depending upon the selections in the Migrate 
  128. field of that window, this list contains DOS programs, OS/2* programs, programs 
  129. written for Windows**, or all program types.  You can scroll the list to see 
  130. more programs. 
  131.  
  132. Remove the highlighting from any program you do not want to migrate. 
  133.  
  134. If the list does not include a program you need, select Add Programs to specify 
  135. other programs to be migrated. 
  136.  
  137.  
  138. ΓòÉΓòÉΓòÉ <hidden> Help for Migrate ΓòÉΓòÉΓòÉ
  139.  
  140. Select Migrate to place a program object for each program in the Applications 
  141. list in the appropriate folder on the OS/2* desktop. 
  142.  
  143.  
  144. ΓòÉΓòÉΓòÉ <hidden> Help for Add Programs ΓòÉΓòÉΓòÉ
  145.  
  146. Select Add Programs to place additional programs in the list of programs ready 
  147. for migration.  These additional programs would be migrated using default DOS 
  148. settings.  If these programs require special DOS settings, you will have to 
  149. apply these settings manually (after they are migrated). 
  150.  
  151. If you decide not to migrate a program after it has been placed in the list, 
  152. remove the highlighting from that program name. 
  153.  
  154.  
  155. ΓòÉΓòÉΓòÉ <hidden> Help for Add Programs ΓòÉΓòÉΓòÉ
  156.  
  157. Use this window to specify additional programs that you want to migrate. 
  158.  
  159. When the drives specified in the Find Programs window are searched, any files 
  160. that match entries in the default database are shown in the Migrate Programs 
  161. window.  Any other files with an extension of .CMD, .BAT, .EXE, or .COM are 
  162. also available for migration.  Those files are shown in the Available programs 
  163. list. 
  164.  
  165. Select any of these programs you want to migrate.  When you select a program 
  166. from the Available Programs list, information about the program will appear in 
  167. the fields above Available Programs. 
  168.  
  169. The Program title will contain the name of the program as listed in Available 
  170. Programs.  The default Working directory will be the same directory in which 
  171. the program currently is located.  You can modify the Program title and the 
  172. Working directory text to specify the name and directory you want the program 
  173. to be identified by. The system will attempt to select the type of program 
  174. (DOS, OS/2, Windows) for the highlighted program in Available Programs. 
  175.  
  176. You can specify the parameters for the program in the Parameters field.  To do 
  177. this, place the cursor in that field and type the text for the parameters. 
  178.  
  179. If you select Add, the highlighted program will be added to the Selected 
  180. programs list.  Once the program is in this list, you can remove it if you 
  181. decide that you do not want to migrate the program. To do this, select the 
  182. program in the Selected programs list, and then select Remove  This will remove 
  183. the program from the list of programs to be migrated. 
  184.  
  185. Once you have completed your list, select OK. This will cause all of the 
  186. programs listed in the Selected programs list to be added to the list of 
  187. programs in the Migrate Programs window. 
  188.  
  189. For a detailed explanation of each field, select from the list below: 
  190.  
  191. o Program title 
  192. o Program type 
  193. o Parameters 
  194. o Working directory 
  195. o Available programs 
  196. o Selected programs 
  197. o Add 
  198. o Remove 
  199. o OK 
  200. o Cancel 
  201.  
  202.  
  203. ΓòÉΓòÉΓòÉ <hidden> Help for Program Title ΓòÉΓòÉΓòÉ
  204.  
  205. The Program title field displays the name of the selected program.  Type in 
  206. this field to change the title.  This will be the title displayed below the 
  207. icon representing the program once it is migrated. 
  208.  
  209.  
  210. ΓòÉΓòÉΓòÉ <hidden> Help for Program Type ΓòÉΓòÉΓòÉ
  211.  
  212. Program type indicates whether the program is a DOS program, OS/2* program or a 
  213. program written for Windows**. 
  214.  
  215.  
  216. ΓòÉΓòÉΓòÉ <hidden> Help for Parameters ΓòÉΓòÉΓòÉ
  217.  
  218. Type any parameters that the selected program needs when it starts or that you 
  219. want the program to use when it is opened. 
  220.  
  221. Not all program objects need parameters when they are opened.  The 
  222. documentation for the program should tell you if the program needs any 
  223. parameters and how to use them. 
  224.  
  225.  
  226. ΓòÉΓòÉΓòÉ <hidden> Help for Working Directory ΓòÉΓòÉΓòÉ
  227.  
  228. Type a path to the working directory if you want to store files created with 
  229. this program in a directory different from the one in which the program files 
  230. reside.  The path consists of all directories that must be opened to get to the 
  231. working directory. 
  232.  
  233. Specifying a working directory is optional unless you are directed to do so in 
  234. the documentation that came with the program. 
  235.  
  236.  
  237. ΓòÉΓòÉΓòÉ <hidden> Help for Available Programs ΓòÉΓòÉΓòÉ
  238.  
  239. This list shows the programs found on the drives specified in the Find Programs 
  240. window.  The programs are listed in alphabetical order by their full path and 
  241. file name. 
  242.  
  243. If you select a program from the list, it will become highlighted and the 
  244. information associated with it will be displayed in the fields above Available 
  245. programs.  You can then change any of the information in these fields. 
  246.  
  247. After you have selected the program and changed any of its related fields, 
  248. select Add to add the program to the Selected programs list. 
  249.  
  250.  
  251. ΓòÉΓòÉΓòÉ <hidden> Help for Selected Programs ΓòÉΓòÉΓòÉ
  252.  
  253. This list shows the programs you have selected from the Available programs 
  254. list.  All programs in this list will be added to the list of programs in the 
  255. Migrate Programs window. 
  256.  
  257. If you decide that you do not want to migrate a specific program, select it and 
  258. then select Remove. This will remove the program from the Selected programs 
  259. list. 
  260.  
  261.  
  262. ΓòÉΓòÉΓòÉ <hidden> Help for Add ΓòÉΓòÉΓòÉ
  263.  
  264. Select Add to put the program in the Selected Programs list. 
  265.  
  266.  
  267. ΓòÉΓòÉΓòÉ <hidden> Help for Remove ΓòÉΓòÉΓòÉ
  268.  
  269. Select Remove to remove a program from the Selected Programs list. 
  270.  
  271.  
  272. ΓòÉΓòÉΓòÉ <hidden> Help for OK ΓòÉΓòÉΓòÉ
  273.  
  274. Select OK to add the list of programs in Selected programs to the Migrate 
  275. Programs window.  These programs will be migrated with the default DOS 
  276. settings.  If additional settings are required, you will have to apply these 
  277. settings manually.  Select the changing DOS and WIN-OS/2 entry from the 
  278. Settings topic of the Master Help Index after OS/2 installation is completed. 
  279.  
  280.  
  281. ΓòÉΓòÉΓòÉ <hidden> Help for PARSEDB ΓòÉΓòÉΓòÉ
  282.  
  283. PARSEDB is a tool that generates a binary database from a text file.  This 
  284. database is used by the Migrate Applications utility program.  PARSEDB is not a 
  285. Presentation Manager application.  It must be invoked from a command prompt. 
  286.  
  287. PARSEDB has three parameters.  The parameters are : 
  288.  
  289. o tag file name 
  290.  
  291. o text database file name 
  292.  
  293. o binary database file name (optional) 
  294. It should be invoked by typing the following sequence: 
  295.  
  296. o PARSEDB [path]tag_file [path]text_database [[path]binary_database] 
  297.  
  298. The tag file name is the name of a file that contains the definitions for the 
  299. tags used to define settings for programs that can be migrated.  The text 
  300. database file name is the name of a file that contains the application settings 
  301. for specific DOS, OS/2*, and Windows**, programs. 
  302.  
  303. The settings for a given program are grouped on consecutive lines.  Blank lines 
  304. mark the end of a program's settings.  Non-blank lines begin with a token, 
  305. which must be defined in the tag file. 
  306.  
  307. The tag file gives the limits, default values, and valid settings for tokens 
  308. for the various DOS properties. The lines in the tag file are of the form: 
  309. index value type [optional comments] 
  310.  
  311. Index is a number.  Value is the name of the setting. Type is the type of the 
  312. value.  The Type must be one of the following: 
  313.  
  314. o NOP   - type for comments, any line with this type will be ignored 
  315.  
  316. o STR   - type for a string value 
  317.  
  318. o INT   - type for an integer value 
  319.  
  320. o BOOL  - type with the values of "on" or "off" 
  321.  
  322. o BYTE  - type for program, either "DOS", "OS/2", or "Windows" 
  323.  
  324. o MLSTR  - type for multi-line string with component lines on individual 
  325.   linesin the text database file. 
  326.  
  327. Using these types, various settings for programs can be defined.  The 
  328. definition of these types and settings used within OS/2* can be found in the 
  329. file dbtag.dat. You cannot create a new tag file; however, the tag file is 
  330. available as a reference when creating the database.txt file. 
  331.  
  332. The definitions of the tokens in the tag file are used in defining database.txt 
  333. entries.  Database.txt will be used by PARSEDB to create the binary database 
  334. file that is used with Migrate. 
  335.  
  336. When creating a text database file, each program must have, at a minimum, the 
  337. following migration settings: 
  338.  
  339. o NAME 
  340.  
  341. o TITLE 
  342.  
  343. o TYPE 
  344.  
  345. o ASSOC_FILE 
  346.  
  347. o DEF_DIR 
  348. The ASSOC_FILE and DEF_DIR can have the values of NULL; however, they must be 
  349. included when defining a program. 
  350.  
  351. A migration database is created after PARSEDB checks for validity of all 
  352. entries in the text database file, comparing them to the settings definitions 
  353. in the tag file.  If all entries are valid, a binary database is created and 
  354. named database.txt by default.  You can specify the name of the binary database 
  355. as one of the parameters to PARSEDB. 
  356.  
  357. An error in either of the text files causes PARSEDB to exit with an error 
  358. message indicating the nature and location of the error. 
  359.  
  360. Error conditions from PARSEDB are as follows: 
  361.  
  362. o Presence of embedded ASCII NUL characters in either of the text files.  An 
  363.   error message that the file is corrupted will be returned. 
  364.  
  365. o Use of a setting not found in the tag file.  An error message indicating the 
  366.   use of an illegal setting and the line number and file name will be returned. 
  367.  
  368. o Absence of the minimum settings for an entry.  An error message will be 
  369.   returned indicating the entry has missing parameters. 
  370.  
  371. PARSEDB does not check for duplicate entries in either the tag file or the text 
  372. database file.  Also, it does not require settings to be in any particular 
  373. order.  PARSEDB is not case sensitive. 
  374.  
  375. You should never edit the tag file.  It is only to be used as a reference.