SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Java archive file updates

SMP/E for z/OS Commands
SA23-2275-01

One or more ++JARUPDs may be processed for a single Java™ Archive (JAR) file, and the ++JARUPDs for that JAR file will be processed in the order implied by the processing order of the SYSMODs which contain the ++JARUPDs. That is, if a SYSMOD contains a ++JARUPD and specifies a prerequisite for another SYSMOD that contains a ++JARUPD for the same JAR file, then the ++JARUPD from the prerequisite SYSMOD is processed first. If no processing order can be implied from the containing SYSMODs, then no particular order of processing for the ++JARUPDs will be assumed.

Following are the steps required to process one or more ++JARUPDs for a single JAR file:

  1. Create the primary temporary work directory in the SMPWKDIR directory for processing all ++JAR and ++JARUPD elements. If the SMPWKDIR directory is not specified on a DD statement or DDDEF entry, SMP/E will use the /tmp directory.
  2. Copy the JAR file to be updated into the primary temporary work directory.
  3. Create an update subdirectory for processing the ++JARUPD elements for this JAR file.
  4. Copy a ++JARUPD element to the primary temporary work directory.
  5. Extract the component files from the ++JARUPD element into the update subdirectory.
  6. Repeat steps 4 through 5 for each ++JARUPD to be processed for this JAR file.
  7. Update the JAR file with the component files from all the ++JARUPD elements.
  8. Cleanup the ++JARUPD elements and all component files in the update subdirectory.
  9. Copy the updated JAR file into its target directory.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014