Manually inspecting your RTC generated package for z/OS

I guess any user of Rational Team Concert Enterprise Extensions is familiar with the packaging feature (see Packaging and deploying with Enterprise Extensions otherwise). This packaging feature, based on the location specified in its definition, stores the  package it generates for a later deployment. The package can additionally be added to the packaging result Downloads tab with the following flag:

packagePublish

While the package result provides a great insight of what has been packaged in the “Package Summary” tab and the “Package Summary Work Item” that creates; what if I want to manually inspect the contents of the package?

This post started as a result of some testing I was doing; when I decided to download the “package.zip” file to my workstation and tried to unzip it. No luck. Strange it was the unexpected result and the error I tried the same operation in OMVS directly, locating the package from the location specified in the package result:

pkglocation

However, I got the same error trying to unzip on the host:

unzipErrorOMVS

Therefore I broadened the conversation to the team. After a very enlightening discussion with a team mate, I was able to expand the package archive. The main details can be summarized in:

  • We use pax to create the package archive.
  • The archive pax generates is compatible with tar. Therefore “tar” command can be used to open/inspect the package
  • Some utilities like 7zip will will recognize automatically the package.zip format and open it. But seems like unzip OS commands (from Linux or OMVS) won’t and will then fail.

So getting back to the original situation. I could use tar to extract the package archive contents. From the mainframe, a simple command did the trick:

taromvs

You can follow a similar approach if you want download the zip file to your workstation.

Hope this helps anybody else out there willing to manually check the package contents. You can review these details and additional information in the jazz.net workitem 360393: Package zip – rename it to tar.

Advertisements

2 thoughts on “Manually inspecting your RTC generated package for z/OS

    • Hey Larry,
      shame on me! I have updated the title so it better reflects the detail of the content.
      Thanks for pointing out!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s