home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 17 Fixes30 / 17-Fixes30.zip / cs_141.exe / README.INF (.txt) < prev    next >
OS/2 Help File  |  1995-05-02  |  27KB  |  886 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Corrective Service Facility Overview ΓòÉΓòÉΓòÉ
  3.  
  4. Corrective Service Facility (CSF) is a utility program that you can use to 
  5. apply service updates to the OS/2* operating system and to OS/2-based 
  6. subsystems and applications. You can use CSF to apply either a full service 
  7. package (ServicePak) or a fix service package (FixPak). 
  8.  
  9. A ServicePak contains all code fixes that have been developed since the last 
  10. product release.  Applying a ServicePak updates the corrective service level 
  11. (current CSD level) of the product.  (You can display the current CSD level by 
  12. entering the SYSLEVEL command from an OS/2 command prompt.) 
  13.  
  14. A FixPak replaces or updates a subset of product files.  Applying a FixPak 
  15. updates the fix level of the product but does not affect the current CSD level. 
  16. (You can view the fix level of the product in the service log, described in 
  17. Viewing the Service Log.) 
  18.  
  19. CSF simplifies the process of applying service to a product because CSF: 
  20.  
  21.    o  Lets you apply service to either a single system or to multiple systems 
  22.       in a LAN environment 
  23.  
  24.    o  Prevents you from applying service that is inappropriate for your system 
  25.  
  26.    o  Allows you to "back out" of the service you applied, which restores your 
  27.       system to a previous level 
  28.  
  29.    o  Allows you to "commit" to the level of service you applied, which frees 
  30.       disk space on your system used by CSF 
  31.  
  32.    o  Creates a service log that tracks all service applied to a product 
  33.  
  34.    o  Handles unexpected conditions while continuing to apply service 
  35.  
  36.  The sections that follow define CSF terms and explain the CSF process.  The 
  37.  steps to use CSF are described in Using CSF. 
  38.  
  39.  
  40. ΓòÉΓòÉΓòÉ 1.1. Applying Service in Single System and LAN Environments ΓòÉΓòÉΓòÉ
  41.  
  42. CSF provides an interface for applying service to a single system and an 
  43. interface for applying service in a LAN environment: 
  44.  
  45. The SERVICE facility is a graphical interface for updating a single system 
  46. without restarting the system. SERVICE prompts you to enter information in 
  47. service windows and enables you to choose the products you want to update with 
  48. service or restore to an earlier level. 
  49.  
  50. The FSERVICE facility is a command-oriented interface.  You can use FSERVICE in 
  51. a minimal OS/2 environment, such as when you start CSF from diskette, and in 
  52. attended or unattended configuration, installation, and distribution (CID) 
  53. environments and NetView* Distribution Manager/2 (NetView DM/2) environments, 
  54. in which service is applied to multiple remote systems attached to a local area 
  55. network (LAN).  You submit your service request to FSERVICE using command line 
  56. parameters and a response file in which you code your service request using 
  57. FSERVICE keywords and parameters. 
  58.  
  59.  
  60. ΓòÉΓòÉΓòÉ 1.2. Ensuring That Service is Appropriate ΓòÉΓòÉΓòÉ
  61.  
  62. Whether you use SERVICE or FSERVICE, CSF ensures that the country code, 
  63. version, release level, and current CSD level of your product are compatible 
  64. with the service updates, and will not proceed with service if there is a 
  65. mismatch.  Information about the level of the products on your system is 
  66. contained in the SYSLEVEL.xxx file on the OS2 directory of the boot drive. 
  67.  
  68.  
  69. ΓòÉΓòÉΓòÉ 1.3. Restoring a Product to a Previous Level ΓòÉΓòÉΓòÉ
  70.  
  71. Occasionally, even a service package that is compatible with a product can 
  72. cause problems when it interacts with the other products on your system.  CSF 
  73. enables you to remove a service package and restore your product to its 
  74. previous level without requiring you to reinstall the product. Removing a 
  75. service package is called "backing out" of a ServicePak or a FixPak. 
  76.  
  77. CSF enables you to restore a product in either of two ways: 
  78.  
  79.    o  You can remove all service applied to the product since it was installed 
  80.       or last committed, which restores the product to its base level. 
  81.       (Committing a Product with Service Applied explains what it means to 
  82.       "commit" a product.) 
  83.    o  You can remove the most recent service package applied to the product, 
  84.       which restores the product to its previous fix level. 
  85.  
  86.  
  87. ΓòÉΓòÉΓòÉ 1.3.1. Restoring a Product to Its Base Level ΓòÉΓòÉΓòÉ
  88.  
  89. Depending on the product you are servicing, CSF might save a copy of your 
  90. product files before applying service to the product. This copy of your "base" 
  91. (installed or committed) level files is called an archive.  You can use an 
  92. archive to restore your product to its base level at any time during service. 
  93.  
  94. In general, an archive is required by products that take considerable time and 
  95. multiple diskettes to install, and not required by products that can be 
  96. reinstalled easily with few diskettes.  When a product requires an archive, 
  97. neither the SERVICE nor FSERVICE facilities will apply service to it until you 
  98. specify a location for the archive. When a product does not require an archive, 
  99. the SERVICE facility will not allow you to specify an archive location.  The 
  100. FSERVICE facility will return the error message "Archiving is disabled for the 
  101. product" and provide the path to the SYSLEVEL file for the product. 
  102.  
  103. When an archive is required, CSF copies the product files that are at the base 
  104. level and are to be updated by a service package.  CSF saves these copies in 
  105. the archive before applying service. The first time you apply a service package 
  106. to a base-level product, all files to be updated by the service package are 
  107. copied into the archive. Each time you apply a subsequent service package to 
  108. the product, CSF copies into the archive only the product files that were not 
  109. serviced previously (the product files that are still at the base level.) If 
  110. service has been applied to the file before, the file is not copied into the 
  111. archive. In this way, CSF saves a copy of your base-level product that you can 
  112. restore even after you have applied multiple service packages. 
  113.  
  114. For example, FixPak 1 updates product files A, B, and C, and FixPak 2 updates 
  115. product files C and D.  The product to which they are being applied is at the 
  116. base level. Before applying FixPak 1, CSF copies files A, B, and C to the 
  117. archive location you provide.  When you later apply FixPak 2, CSF copies file D 
  118. into the archive, because file D is still at base level.  File C was updated by 
  119. FixPak 1 and is no longer at base level, so CSF does not copy it into the 
  120. archive. 
  121.  
  122. When a product requires an archive, you must specify an archive location when 
  123. you: 
  124.  
  125.    o  Apply service to a product for the first time 
  126.    o  Apply service to your product for the first time after committing the 
  127.       product with a service package applied 
  128.  
  129.  You can save an archive on diskette or on a local or remote hard disk.  You 
  130.  should provide 5 to 10 megabytes of disk space for a product archive. After an 
  131.  archive has been created for a product, CSF uses that archive until you: 
  132.  
  133.    o  Redirect CSF to an archive at another location (described in Redirecting 
  134.       CSF to a Different Archive.) 
  135.  
  136.    o  Commit the product with a ServicePak applied to it 
  137.  
  138.  CSF saves only one archive per product.  It adds to the archive each time a 
  139.  service package updates a base-level file. You can save copies of product 
  140.  files with service applied by creating a backup of your product files each 
  141.  time you apply a new service package. 
  142.  
  143.  
  144. ΓòÉΓòÉΓòÉ 1.3.2. Restoring a Product to a Previous Fix Level ΓòÉΓòÉΓòÉ
  145.  
  146. A backup is a copy of product files to which service has been applied at least 
  147. once.  At your request, CSF saves a copy of your current product files before 
  148. applying the next level of service to the product.  The backup enables you to 
  149. restore your product to its level of service before the most recent service was 
  150. applied. 
  151.  
  152. You request a backup by specifying a path and directory in which CSF is to 
  153. create the backup.  The directory can be located on either a local drive or 
  154. diskette but cannot be on a network drive.  If both the archive and the backup 
  155. are located on diskette, they must be on separate diskettes. 
  156.  
  157. Creating a backup is optional.  However, if you do not create a backup when you 
  158. apply service, the only way to back out of the current service package is to 
  159. restore the product to the archive level.  You cannot use a backup created when 
  160. you applied an earlier service package to back out of the current service 
  161. package.  If a product has one or more FixPaks applied to it, it is a good idea 
  162. to create a backup before applying a new FixPak.  The backup enables you to 
  163. restore the product with any previously-applied service intact. 
  164.  
  165. You can have only one backup of a product at a time.  If a backup already 
  166. exists when you request a backup, the older backup is deleted.  You cannot 
  167. create a backup before an archive has been saved. 
  168.  
  169.  
  170. ΓòÉΓòÉΓòÉ 1.3.3. Redirecting CSF to a Different Archive ΓòÉΓòÉΓòÉ
  171.  
  172. At some time after CSF has created an archive, you might want to move the 
  173. archive to another location, such as a drive with more free disk space, or a 
  174. LAN server where multiple systems with identical product levels can share the 
  175. archive.  After you (or your LAN administrator) have copied the archive to the 
  176. new location, you can redirect CSF to use the new archive location.  (The 
  177. archive files must be present at the new archive location before you redirect 
  178. CSF, and the system level and files of the archive in the new location must 
  179. match those of the archive in the old location.)  Redirecting CSF changes the 
  180. reference to the archive location but does not copy the files. 
  181.  
  182. After you ensure that the archive files exist in the new location, you can use 
  183. the Redirect window of the SERVICE facility or the REDIRECT keyword of the 
  184. FSERVICE facility to redirect CSF to the new archive location. 
  185.  
  186.  
  187. ΓòÉΓòÉΓòÉ 1.4. Committing a Product with Service Applied ΓòÉΓòÉΓòÉ
  188.  
  189. After you apply service to a product, you will probably spend some time testing 
  190. it to see how the service affects your system.  When you are satisfied with a 
  191. service package, you no longer need the ability to restore your previous level 
  192. system.  At this point, you can commit the product with the service installed. 
  193.  
  194. Committing the product with a FixPak applied frees the disk space used by your 
  195. backup files.  Committing a product with a ServicePak applied frees the disk 
  196. space used by the backup files and also removes the reference to the archive. 
  197. To free the disk space used by the archive, you must manually delete the 
  198. archive files.  CSF does not delete archive files because they can be used by 
  199. multiple systems or products. 
  200.  
  201. After a product is committed, you cannot restore the product to an earlier fix 
  202. level.  When you commit a product with a ServicePak applied, you cannot restore 
  203. the product to an earlier fix level or to the archive level. 
  204.  
  205. After applying a ServicePak to a product, you must commit the product before 
  206. you can apply additional service to it.  The SERVICE facility identifies the 
  207. products that must be committed before you can apply additional service.  It 
  208. also enables you to commit those products from a single window.  Committing a 
  209. product before applying additional service makes it easier to identify which 
  210. service package to back out of, should a fix be incompatible with your system. 
  211.  
  212.  
  213. ΓòÉΓòÉΓòÉ 1.5. Viewing the Service Log ΓòÉΓòÉΓòÉ
  214.  
  215. CSF creates a service log in which it tracks all service applied to a product. 
  216. The service log is named SERVICE.LOG, and is located by default on the 
  217. OS2\INSTALL directory of the boot drive.  (The FSERVICE utility enables you to 
  218. specify a different location for the service log.) 
  219.  
  220. The service log contains the following information: 
  221.  
  222.    o  The name and level of the product that was updated. 
  223.  
  224.    o  The specific identity and level of the FixPak that was installed. 
  225.  
  226.    o  The date and time the FixPak was installed. 
  227.  
  228.    o  The type of CSF operation (for example, the application of a FixPak or a 
  229.       back out to a previous service level). 
  230.  
  231.    o  The new files that have been copied to the disk.  Copy operations are 
  232.       logged with lines that are labelled "Copying" and include the full path 
  233.       name of the file on the disk. 
  234.  
  235.    o  The existing files that have been updated on the disk.  Updates are 
  236.       considered to be either full file replacements or file patches.  Update 
  237.       operations are logged with lines that are labelled "Updating" and that 
  238.       include the full path name of the target file on the disk. 
  239.  
  240.    o  The files that have been copied to an archive.  Archive operations are 
  241.       logged with lines that are labelled "Archiving" and that include the full 
  242.       path name of the file in the archive path. 
  243.  
  244.    o  The files that have been copied to the backup.  Backup operations are 
  245.       logged with lines that are labelled "Backing up" and include the full 
  246.       path name of the file in the backup path. 
  247.  
  248.  CSF also creates and maintains the following files for its own use.  Do not 
  249.  modify the following files: 
  250.  
  251.       ARCHIVE_.xxx 
  252.       FIXSTART 
  253.       All files in the IBMCSFLK directory 
  254.       IBMCSFLK.DLL 
  255.       IBMCSFLK.EXE 
  256.       IBMCSFLK.LST 
  257.       IBMCSFLK.LOG 
  258.       IBMCSFLK.MGT 
  259.       IBMCSFLK.SYS 
  260.       LOGF0000.xxx 
  261.       LOGSTART.xxx 
  262.  
  263.  
  264. ΓòÉΓòÉΓòÉ 1.6. Handling Unexpected Conditions ΓòÉΓòÉΓòÉ
  265.  
  266. CSF handles unexpected conditions, such as locked files and service 
  267. interruptions.  When CSF encounters a locked file that is to be updated or 
  268. replaced, it postpones the processing of that file until the next time you 
  269. restart the system, and it continues applying service.  To process the locked 
  270. files, you must restart the system before you can apply another service package 
  271. to it; however, you can delay restarting until a convenient time, such as the 
  272. end of the work day. 
  273.  
  274. If you are using the SERVICE facility and CSF finds that there is not enough 
  275. free disk space on your system to process locked files, you will be prompted to 
  276. use the FSERVICE facility.  The response file CSF_SEL.000 (on the root 
  277. directory of the first boot drive) contains the tags generated by your input to 
  278. the SERVICE facility up until CSF attempted to process the locked files. 
  279. Complete the response file using the syntax described in Using the FSERVICE 
  280. Response File and restart CSF from diskette. 
  281.  
  282. If a service interruption such as a power outage or a cable disconnection 
  283. occurs while you are using SERVICE or FSERVICE in an attended CID environment, 
  284. you can allow CSF to continue to apply service or discontinue applying service 
  285. temporarily.  When you resume the service, CSF begins at the point when the 
  286. interruption occurred and continues to apply service. 
  287.  
  288. If you are using FSERVICE in an unattended CID or NetView DM/2 environment when 
  289. a service interruption occurs, CSF returns an error to the host and you cannot 
  290. apply subsequent service packages until you successfully reapply the 
  291. interrupted service package.  A message in the log file indicates that recovery 
  292. is pending for a particular service package. 
  293.  
  294. Note:   If a service interruption occurs, it is a good idea to issue the OS/2 
  295. command CHKDSK with the /F parameter before resuming service.  CHKDSK analyzes 
  296. files and cleans up file fragments that might result from a service 
  297. interruption.  See "OS/2 Command Reference" for information about the CHKDSK 
  298. command. 
  299.  
  300.  
  301. ΓòÉΓòÉΓòÉ 2. Using CSF ΓòÉΓòÉΓòÉ
  302.  
  303. Your interface to CSF depends on the environment in which your system is 
  304. running.  You use the graphical SERVICE facility to update a single running 
  305. system or the command-oriented FSERVICE response file to update multiple 
  306. systems in a LAN environment. 
  307.  
  308.  
  309. ΓòÉΓòÉΓòÉ 2.1. Using the SERVICE Facility ΓòÉΓòÉΓòÉ
  310.  
  311. The SERVICE facility is a graphical interface that uses service windows to 
  312. prompt you for input when applying service to one or more products on your 
  313. system.  Follow the steps below to start CSF and use the SERVICE facility. 
  314.  
  315.    1. Open an OS/2 window. 
  316.  
  317.    2. Insert "CSF Diskette 1" into drive A 
  318.  
  319.    3. Change the directory to drive A. 
  320.  
  321.    4. Type SERVICE at the command prompt, and press Enter. 
  322.  
  323.    5. In the OS/2 Corrective Service Facility window, select Ok to display the 
  324.       Serviceable Products window. 
  325.  
  326.  
  327. ΓòÉΓòÉΓòÉ 2.1.1. Applying Service ΓòÉΓòÉΓòÉ
  328.  
  329. The Serviceable Products window displays the products on your system to which 
  330. service can be applied.  The serviceable products displayed in the Products 
  331. field: 
  332.  
  333.    o  Are installed on your system 
  334.    o  Have updates in the FixPak or ServicePak that you are applying 
  335.    o  Have SYSLEVEL files that are compatible with the SYSLEVEL files of the 
  336.       service you are applying. 
  337.  
  338.  All serviceable products are initially selected and highlighted in the 
  339.  Products field.  If you do not want to apply service to one or more products 
  340.  listed, deselect those products that you do not want to service.  The products 
  341.  that you deselect will no longer be highlighted and service will not be 
  342.  applied to them. 
  343.  
  344.  If this is the first time that service is being applied to a selected product, 
  345.  you must specify in the Archive field the path and directory for the archive 
  346.  of the product.  If an archive already exists for the product, you cannot 
  347.  modify the path that appears in the Archive field.  See Restoring a Product to 
  348.  Its Base Level for more information on archives and archive paths. 
  349.  
  350.  If service has been applied previously to a selected product, you can 
  351.  optionally specify in the Backup field the path and directory for a backup of 
  352.  the product.  If an archive has not yet been saved for the product, you will 
  353.  not be able to modify the Backup field.  See Restoring a Product to a Previous 
  354.  Fix Level for more information on backups and backup paths. 
  355.  
  356.  When only the products to which you are applying service are highlighted, 
  357.  select Service to apply service to the products.  To display a list of 
  358.  products that have archives, backups, or a list of products that can be 
  359.  committed, select Change Product List. 
  360.  
  361.  
  362. ΓòÉΓòÉΓòÉ 2.1.2. Changing the Product List ΓòÉΓòÉΓòÉ
  363.  
  364. The Change Product List push button displays a window in which you can select 
  365. one of the four product lists that CSF maintains.  The type of product list 
  366. that you select determines the actions you can perform on the selected 
  367. products.  If you select a product list that does not exist, such as when no 
  368. products on the system have backups, CSF issues a message. 
  369.  
  370. CSF maintains the following product lists: 
  371.  
  372.  Serviceable Products 
  373.            A list of products on your system to which you can apply service. 
  374.            When you select Serviceable Products, you can use the window that is 
  375.            displayed to apply service to the selected products. 
  376.  
  377.  Archived Products 
  378.            A list of products on your system that have archives.  When you 
  379.            select Archived Products, you can use the window that is displayed 
  380.            to restore the selected products to the archive level or to redirect 
  381.            CSF to a different archive location. 
  382.  
  383.  Backed Up Products 
  384.            A list of products on your system that have backups.  When you 
  385.            select Backed Up Products, you can use the window that is displayed 
  386.            to restore the selected products to the backup level. 
  387.  
  388.  Uncommitted Products 
  389.            A list of products on your system that can be committed.  When you 
  390.            select Uncommitted Products, you can use the window that is 
  391.            displayed to commit the selected products. 
  392.  
  393.  
  394. ΓòÉΓòÉΓòÉ 2.1.3. Redirecting CSF to Another Archive ΓòÉΓòÉΓòÉ
  395.  
  396. Use this window to direct CSF to an archive in a location that is different 
  397. from the one specified in the Source directory field. 
  398.  
  399. To display the Redirect Service window: 
  400.  
  401.    1. Select the Change Product List push button. 
  402.    2. Select the Archived products radio button. 
  403.    3. In the Archived Products window, all products are initially selected. 
  404.       Deselect the products with archives that are to remain unchanged, and 
  405.       then select the Redirect pushbutton. 
  406.  
  407.  When the Redirect Service window is displayed, you can view the list of 
  408.  products that have archives (in the Product field) and the location of the 
  409.  archives (in the Source directory field). 
  410.  
  411.  Enter the new archive path in the Target directory field.  The archive path 
  412.  can be on a diskette, on a local drive, or a network drive, and the archive 
  413.  files must be in place in the new location before you select Ok. 
  414.  
  415.  
  416. ΓòÉΓòÉΓòÉ 2.1.4. Backing Out of a Service Package ΓòÉΓòÉΓòÉ
  417.  
  418. Use the Back Out Service window to restore a product to its archive level or 
  419. backup level. 
  420.  
  421. To display the Back Out Service window: 
  422.  
  423.    1. Select the Change Product List push button. 
  424.  
  425.    2. Do one of the following: 
  426.  
  427.         o  To restore a product to its archive level, select the Archived 
  428.            Products radio button.  In the Archived Products window, all 
  429.            products are initially selected.  Deselect the products that are not 
  430.            to be restored to the archive level, and then select the Back Out 
  431.            push button. 
  432.  
  433.         o  To restore a product to its backup level, select the Backed Up 
  434.            Products radio button.  In the Backed Up Products window,  all 
  435.            products are initially selected.  Deselect the products that are not 
  436.            to be restored to the backup level, and then select the Back Out 
  437.            push button. 
  438.  
  439.  When the Back Out Service window is displayed, you can view the selected 
  440.  products (in the Products field) and the level to which they will be backed 
  441.  out (in the Target Level field).  Select Ok to restore the product to the 
  442.  target level. 
  443.  
  444.  
  445. ΓòÉΓòÉΓòÉ 2.1.5. Committing a Product ΓòÉΓòÉΓòÉ
  446.  
  447. Use this window to commit a product with either a FixPak or a ServicePak 
  448. applied. 
  449.  
  450. Committing a product with a FixPak applied frees the disk space used by the 
  451. backup for that product and removes the ability to restore the product to the 
  452. backup level.  You can still restore the product to the archive level. 
  453.  
  454. Committing a product with a ServicePak applied frees the disk space used by the 
  455. backup for that product and removes the reference to the archive.  You cannot 
  456. restore the product to either the backup or archive level. 
  457.  
  458. To display the Commit Service window: 
  459.  
  460.    1. Select the Change Product List push button. 
  461.    2. Select the Uncommitted Products radio button. 
  462.    3. In the Uncommitted Products window, all products are initially selected. 
  463.       Deselect the products you do not want to commit, and then select the 
  464.       Commit push button. 
  465.  
  466.  When the Commit Service window is displayed, you can view the product list, 
  467.  archive level, and back up level, and select Ok to commit the products. 
  468.  
  469.  
  470. ΓòÉΓòÉΓòÉ 2.2. Using the FSERVICE Response File ΓòÉΓòÉΓòÉ
  471.  
  472. This section provides a detailed look at the tags and syntax used in the 
  473. FSERVICE response file.  High-level examples follow the syntax descriptions. 
  474. It also describes the FSERVICE command and parameters. 
  475.  
  476. Code your service request in the response file before starting the FSERVICE 
  477. facility. Sample response files are included on: 
  478.  
  479.       "CSF Diskette 2" if you have 3.5-inch diskettes 
  480.       "CSF Diskette 3" if you have 5.25-inch diskettes 
  481.  You can edit the sample file and customize the tags for your request.  If you 
  482.  want to create a new response file, open a file named RESPONSE.FIL and code 
  483.  your FSERVICE request in it.  Specify the location of the new response file in 
  484.  the CONFIG.SYS file or on the command line when you invoke FSERVICE.  (See 
  485.  FSERVICE Command for information about the FSERVICE command and parameters, 
  486.  and the location of the CONFIG.SYS file.) 
  487.  
  488.  Follow the steps below to start the FSERVICE facility. 
  489.  
  490.    1. Open an OS/2 window. 
  491.    2. Insert "CSF Diskette 1" into drive A. 
  492.    3. Change the directory to drive A. 
  493.    4. Type FSERVICE at the command prompt, and press Enter. 
  494.    5. Follow the instructions on your screen. 
  495.  
  496.  
  497. ΓòÉΓòÉΓòÉ 2.2.1. Applying Service to Multiple Systems ΓòÉΓòÉΓòÉ
  498.  
  499. The method of submitting your response file to CSF and applying service to 
  500. multiple systems varies by the type of environment and how it has been set up. 
  501. Review the documentation for your client-server environment before attempting 
  502. to apply service in a LAN environment, and refer to the information in 
  503. README.CID on the OS/2 Warp installation diskettes as well as the information 
  504. in this document. 
  505.  
  506.  
  507. ΓòÉΓòÉΓòÉ 2.2.2. Response File Syntax ΓòÉΓòÉΓòÉ
  508.  
  509. You use two kinds of tags to code CSF requests in your response file. "General" 
  510. tags specify how CSF is to process all the service requests in the response 
  511. file.  "Keyword" tags indicate the actions that CSF is to take and the products 
  512. against which CSF is to take them. 
  513.  
  514. The following sections describe the general and keyword tags. 
  515.  
  516.  
  517. ΓòÉΓòÉΓòÉ 2.2.3. General Tags ΓòÉΓòÉΓòÉ
  518.  
  519. General tags indicate how CSF is to process the service requests in a response 
  520. file. There are four general tags.  The general tags describe: 
  521.  
  522.    o  The location of an alternate log file to contain the service history 
  523.    o  Whether CSF is to issue or bypass certain verification messages 
  524.    o  The location of the service package or the source path 
  525.    o  The location of the archive or backup 
  526.  
  527.  The following summary describes the optional and required general tags, and 
  528.  with which keyword tags they are coded. 
  529.  
  530.  General Tag   Keyword Requirements 
  531.  
  532.  :LOGFILE      Optional - can be coded with any keyword 
  533.  
  534.  :FLAGS        Optional - if coded, must be coded with :SERVICE 
  535.  
  536.  :SOURCE       Optional - if coded, must be coded with :SERVICE 
  537.  
  538.  :TARGET       Required with :BACKOUT 
  539.  
  540.  Code any required general tags before their keyword tags in the response file. 
  541.  If a required general tag appears after its keyword in a file, FSERVICE will 
  542.  fail. If a general tag that is not required follows a keyword tag in the 
  543.  response file, the general tag will be ignored.  A general tag is not 
  544.  position-dependent with other general tags, but each general tag must occur 
  545.  only once in a response file. 
  546.  
  547.  :LOGFILE  drive\path\filename 
  548.  
  549.            Specifies that a log file other than the default log file is to be 
  550.            used.  (The default log file is named SERVICE.LOG and is located on 
  551.            the directory of the SYSLEVEL file for the product.)  Specify the 
  552.            drive, directory, and name of the alternate log file.  CSF creates 
  553.            the alternate log file if it does not exist and appends the service 
  554.            history to the log file after it has been created. 
  555.  
  556.            :LOGFILE is optional. 
  557.  
  558.  :FLAGS    flag1 Γöé flag2 Γöé flag3 
  559.  
  560.            Indicates that CSF is to bypass the specified verification messages 
  561.            while applying service. Code :FLAGS only when you code the :SERVICE 
  562.            keyword tag.  If you specify :FLAGS in a response file that does not 
  563.            have the :SERVICE tag, the flags will be ignored. 
  564.  
  565.            :FLAGS is optional.  When you code :FLAGS, you must specify one or 
  566.            more of the following flags: 
  567.  
  568.       REPLACE_NEWER 
  569.                         Specifies that CSF is to replace product files that 
  570.                         have more recent dates than the corresponding files on 
  571.                         the service package.  If REPLACE_NEWER is not 
  572.                         specified, each time CSF finds a file with a more 
  573.                         recent date than those in the service package, you must 
  574.                         verify that the file can be replaced or cancel the 
  575.                         replacement of the file. 
  576.  
  577.                         REPLACE_NEWER is coded in the sample response file on 
  578.                         CSF diskette 2.  Specify REPLACE_NEWER to avoid 
  579.                         multiple verification messages when applying service to 
  580.                         multiple products. 
  581.  
  582.       REPLACE_PROTECTED 
  583.                         Specifies that CSF is to replace files that are 
  584.                         read-only, hidden, or system files.  If 
  585.                         REPLACE_PROTECTED is not specified, each time CSF finds 
  586.                         a protected file, you must verify that the file can be 
  587.                         replaced or cancel the replacement of the file. 
  588.  
  589.                         REPLACE_PROTECTED is coded in the sample response file 
  590.                         on CSF diskette 2.  Specify REPLACE_PROTECTED to avoid 
  591.                         multiple verification messages when applying service to 
  592.                         multiple products. 
  593.  
  594.       EXIT_WHEN_DONE 
  595.                         Tells FSERVICE to stop if any errors are encountered 
  596.                         and to report the errors. 
  597.  
  598.  :SOURCE   drive\path 
  599.  
  600.            Specifies the drive and directory of the service package you are 
  601.            applying to a product.  :SOURCE is optional.  You can specify 
  602.            :SOURCE in a response file that contains a :SERVICE tag, or on the 
  603.            command line when submitting a response file that contains the 
  604.            :SERVICE tag.  If :SOURCE is omitted when :SERVICE is specified, the 
  605.            default source drive is drive A.  If :SOURCE is coded in a response 
  606.            file that does not contain the :SERVICE tag, it is ignored. 
  607.  
  608.  :TARGET   ARCHIVE Γöé BACKUP 
  609.  
  610.            Specifies that a product is to be backed out of a service package 
  611.            and restored to either the backup or archive level.  You can specify 
  612.            only one :TARGET keyword per response file.  All back out requests 
  613.            (specified by the :BACKOUT keyword tag) in the response file restore 
  614.            products to the level (either ARCHIVE or BACKUP) specified on 
  615.            :TARGET.  To restore one product to the archive level and another 
  616.            product to the backup level, code the requests in separate response 
  617.            files. 
  618.  
  619.            :TARGET is required in response files that contain the :BACKOUT 
  620.            keyword.  When you code :TARGET, it must appear in the response file 
  621.            before the :BACKOUT keyword, and it must specify either ARCHIVE or 
  622.            BACKUP.  If :TARGET appears in the response file after the :BACKOUT 
  623.            keyword, FSERVICE will fail.  If :TARGET appears in a response file 
  624.            that does not contain the :BACKOUT tag, it is ignored. 
  625.  
  626.  * 
  627.  
  628.            Specifies that a comment follows. 
  629.  
  630.  
  631. ΓòÉΓòÉΓòÉ 2.2.4. Keyword Tags ΓòÉΓòÉΓòÉ
  632.  
  633. Keyword tags indicate the action to be taken against a specific product. 
  634. Because the same product can be installed multiple times or in multiple 
  635. partitions on a system, all keyword tags include a :SYSLEVEL tag to identify 
  636. the specific occurrence of the product being updated or restored. 
  637.  
  638. You can use a single response file to take action against multiple products or 
  639. multiple occurrences of the same product.  However, you cannot code conflicting 
  640. actions for the same product occurrence (represented by the same SYSLEVEL 
  641. file), such as simultaneously committing a product and restoring it to its 
  642. backup level.  Similarly, you cannot duplicate requests against the same 
  643. product occurrence.  Conflicting or duplicate requests against a single product 
  644. occurrence will cause FSERVICE to fail. 
  645.  
  646.  :SERVICE 
  647.            Specifies that a service package is to be applied to a product. 
  648.            :SERVICE has two position-dependent parameter tags that must follow 
  649.            it and one optional parameter tag.  Each tag must be on a line by 
  650.            itself.  The parameter tags are: 
  651.  
  652.       :SYSLEVEL drive\path\SYSLEVEL.xxx 
  653.  
  654.                 Specifies the drive and directory of the SYSLEVEL file of the 
  655.                 product being serviced.  This tag must follow the :SERVICE 
  656.                 keyword in the response file.  If you do not specify a drive, 
  657.                 CSF applies service to all partitions. 
  658.  
  659.       :ARCHIVE  drive\path 
  660.  
  661.                 Specifies the drive and directory of the archive of the product 
  662.                 being serviced.  This tag must follow the :SERVICE keyword in 
  663.                 the response file if this is the first time that service is 
  664.                 being applied to the product.  If you do not specify a drive, 
  665.                 CSF will create an archive on all partitions to which service 
  666.                 is being applied. 
  667.  
  668.       :BACKUP   drive\path 
  669.  
  670.                 Specifies the drive and directory of the BACKUP of the product 
  671.                 being serviced.  This tag can optionally follow the :SERVICE 
  672.                 keyword in the response file if an archive for the product 
  673.                 already exists.  If you do not specify a drive, CSF will create 
  674.                 a backup on all partitions to which service is being applied. 
  675.  
  676.  :BACKOUT 
  677.            Specifies that the product is to be backed out of a FixPak or 
  678.            ServicePak to the level specified on the :TARGET tag.  :BACKOUT has 
  679.            one position-dependent parameter tag, which must follow it on a line 
  680.            by itself. The parameter tag is: 
  681.  
  682.       :SYSLEVEL drive\path\SYSLEVEL.xxx 
  683.  
  684.                 Specifies the drive, directory, and file name of the SYSLEVEL 
  685.                 file of the product being backed out of a service package. 
  686.                 This tag must follow the :BACKOUT keyword in the response file. 
  687.  
  688.  :REDIRECT 
  689.            Specifies that CSF is to be redirected to a product archive other 
  690.            than the current product archive.  :REDIRECT has two 
  691.            position-dependent parameter tags that must follow it, each of which 
  692.            must be on a line by itself.  The parameter tags are: 
  693.  
  694.       :SYSLEVEL drive\path\SYSLEVEL.xxx 
  695.  
  696.                 Specifies the drive, directory, and file name of the SYSLEVEL 
  697.                 file of the product associated with the archive being 
  698.                 redirected.  This tag must follow the :REDIRECT keyword in the 
  699.                 response file. 
  700.  
  701.       :ARCHIVE  drive\path 
  702.  
  703.                 Specifies the drive and directory of the new archive location. 
  704.                 This tag must follow the :REDIRECT keyword in the response 
  705.                 file. 
  706.  
  707.  :COMMIT 
  708.            Specifies that a product is to be committed with either a FixPak or 
  709.            a ServicePak applied to it. :COMMIT has one position-dependent 
  710.            parameter tag, which must follow it on a line by itself. The 
  711.            parameter tag is: 
  712.  
  713.       :SYSLEVEL drive\path\SYSLEVEL.xxx 
  714.  
  715.                 Specifies the drive, directory, and file name of the SYSLEVEL 
  716.                 file of the product being committed.  This tag must follow the 
  717.                 :COMMIT keyword in the response file. 
  718.  
  719.  
  720. ΓòÉΓòÉΓòÉ 2.2.5. Applying Service ΓòÉΓòÉΓòÉ
  721.  
  722. The following example illustrates the FSERVICE response file syntax for 
  723. applying service to a product and creating an archive on drive D.  The :SOURCE 
  724. general tag must appear before the keywords in the response file.  If coded, 
  725. the :FLAGS general tag must also appear before the keywords in the response 
  726. file and must specify at least one of the three flags. 
  727.  
  728.  
  729. :SOURCE A:\
  730. :FLAGS   REPLACE_NEWER REPLACE_PROTECTED
  731. :SERVICE
  732. :SYSLEVEL C:\OS2\INSTALL\SYSLEVEL.OS2
  733. :ARCHIVE D:\ARCHIVE
  734.  
  735.  
  736. ΓòÉΓòÉΓòÉ 2.2.6. Redirecting CSF to Another Archive ΓòÉΓòÉΓòÉ
  737.  
  738. The following example illustrates the FSERVICE response file syntax for 
  739. redirecting CSF to an archive on a LAN.  There are no required general tags and 
  740. no optional tags.  Both :SYSLEVEL and :ARCHIVE must follow the :REDIRECT tag. 
  741.  
  742.  
  743. :REDIRECT
  744. :SYSLEVEL C:\OS2\INSTALL\SYSLEVEL.OS2
  745. :ARCHIVE X:\CSD\OS2V3\ARCHIVE
  746.  
  747.  
  748. ΓòÉΓòÉΓòÉ 2.2.7. Backing Out of a Service Package ΓòÉΓòÉΓòÉ
  749.  
  750. The following example illustrates the FSERVICE response file tags for backing 
  751. out of a fix service package or a ServicePak to the previous fix level.  There 
  752. are no optional tags.  You must specify BACKUP on the TARGET general tag to 
  753. return to the previous fix level. 
  754.  
  755.  
  756. :TARGET  BACKUP
  757. :BACKOUT
  758. :SYSLEVEL C:\OS2\INSTALL\SYSLEVEL.OS2
  759.  
  760.  
  761. ΓòÉΓòÉΓòÉ 2.2.8. Committing a Product ΓòÉΓòÉΓòÉ
  762.  
  763. The following example illustrates the FSERVICE response file tags for 
  764. committing a product to a FixPak or a ServicePak.  There are no required 
  765. general tags and no optional tags. 
  766.  
  767.  
  768. :COMMIT
  769. :SYSLEVEL C:\OS2\INSTALL\SYSLEVEL.OS2
  770.  
  771.  
  772. ΓòÉΓòÉΓòÉ 2.2.9. FSERVICE Command ΓòÉΓòÉΓòÉ
  773.  
  774. You can use the FSERVICE command and parameters to provide additional input to 
  775. FSERVICE about your service request, or to override the information specified 
  776. in your response file.  The FSERVICE command can be used in two ways: 
  777.  
  778.    o  When you have a command prompt available, such as when you invoke SEMAINT 
  779.       in a CID environment, you can specify the FSERVICE command at the command 
  780.       prompt. 
  781.  
  782.    o  You can modify the FSERVICE parameters in the CONFIG.SYS file. 
  783.  
  784.       The CONFIG.SYS file is on "CSF Diskette 2" if you have 3.5-inch diskettes 
  785.       and "CSF Diskette 3" if you have 5.25-inch diskettes. 
  786.  
  787.  The parameters that you specify on the command line override the response file 
  788.  tags. The parameters that you specify in the CONFIG.SYS file override those 
  789.  specified on the command line. 
  790.  
  791.  ? 
  792.            Displays the FSERVICE command syntax and parameter descriptions on 
  793.            your computer screen. 
  794.  
  795.  /S:drive\path 
  796.            Specifies the fully-qualified path to the ServicePak images.  The 
  797.            path can specify either a local hard disk or a redirected drive on 
  798.            the code server.  The path depends on the directory structure you 
  799.            have set up.  If you use the directory structure recommended in the 
  800.            "LAN Configuration, Installation, and Distribution Utility Guide" 
  801.            and an OS/2 2.0 ServicePak, the path is <drive>\CSD\OS2V20\CSD01. 
  802.  
  803.            This parameter is required. 
  804.  
  805.  /T:drive\path 
  806.            Specifies the fully-qualified path to the directory from which the 
  807.            system was started.  If the system was started from a maintenance 
  808.            system on the hard disk, this path matches the /T: parameter 
  809.            specified on the SEMAINT command.  FSERVICE restores the CONFIG.SYS, 
  810.            STARTUP.CMD, and AUTOEXEC.BAT files from backups located in this 
  811.            directory. 
  812.  
  813.            This parameter is optional.  If you specify  /T:drive\path when CSF 
  814.            is started from diskette, CSF does not validate the path specified 
  815.            on this parameter. 
  816.  
  817.  /R:path\filename.ext 
  818.            Specifies the fully-qualified path to the FSERVICE response file. 
  819.            If you use the directory structure recommended in the "LAN 
  820.            Configuration, Installation, and Distribution Utility Guide" and an 
  821.            OS/2 2.0 ServicePak, the response file is located on 
  822.            <drive>\CSD\OS2V20\CSD01. 
  823.  
  824.            This parameter is required. 
  825.  
  826.  /L1:path\filename.ext 
  827.  
  828.  /L:path\filename.ext 
  829.            Specifies the fully-qualified path to the service log. 
  830.  
  831.            This parameter is optional. 
  832.  
  833.  /CID 
  834.            Specifies that FSERVICE is to restore the following files from the 
  835.            backups made by SEMAINT: 
  836.  
  837.    o  OS2BOOT 
  838.    o  OS2KRNL 
  839.    o  OS2LDR 
  840.    o  OS2DASD.DMD 
  841.    o  OS2SCSI.DMD 
  842.    o  OS2LDR.MSG 
  843.  
  844.            This parameter is optional.  Specify /CID only when FSERVICE is 
  845.            running under a maintenance system created by SEMAINT. 
  846.  
  847.  /LARGE 
  848.            Specifies that the service package is on CD-ROM. 
  849.  
  850.  /B:boot-drive-letter 
  851.            Specifies a boot drive letter for substitution of the %BOOTDRIVE% 
  852.            parameter in the directory list. 
  853.  
  854.  
  855. ΓòÉΓòÉΓòÉ 3. Notices ΓòÉΓòÉΓòÉ
  856.  
  857. References in this publication to IBM products, programs, or services do not 
  858. imply that IBM intends to make these available in all countries in which IBM 
  859. operates. Any reference to an IBM product, program or service is not intended 
  860. to state or imply that only IBM's product, program, or service may be used. Any 
  861. functionally equivalent product, program, or service that does not infringe any 
  862. of IBM's intellectual property rights or other legally protectable rights may 
  863. be used instead of the IBM product, program, or service. Evaluation and 
  864. verification of operation in conjunction with other products, programs, or 
  865. services, except those expressly designated by IBM, are the user's 
  866. responsibility. 
  867.  
  868. IBM may have patents or pending patent applications covering subject matter in 
  869. this document. The furnishing of this document does not give you any license to 
  870. these patents. You can send license inquiries, in writing, to the IBM Director 
  871. of Licensing, IBM Corporation, 500 Columbus Avenue, Thornwood NY 10594, U.S.A. 
  872.  
  873. IBM DISCLAIMS ALL WARRANTIES, WHETHER EXPRESSED OR IMPLIED, INCLUDING WITHOUT 
  874. LIMITATION, WARRANTIES OF FITNESS AND MERCHANTABILITY WITH RESPECT TO THE 
  875. INFORMATION IN THIS DOCUMENT. BY FURNISHING THIS DOCUMENT, IBM GRANTS NO 
  876. LICENSES TO ANY RELATED PATENTS OR COPYRIGHTS. 
  877.  
  878.  
  879. ΓòÉΓòÉΓòÉ 3.1. Trademarks ΓòÉΓòÉΓòÉ
  880.  
  881. The following terms, denoted by an asterisk (*) in this publication, are 
  882. trademarks of the IBM Corporation in the United States or other countries. 
  883.  
  884.       NetView 
  885.       OS/2 
  886.