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