IBM Manuals on My PC

Updates For z/OS 2.4 Manuals

https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R4Library?OpenDocument

The 2.4 manuals were announced about a week ago, so I need to download the giant zip file and see if my script works to create shortcuts.  A quick look shows the index.html file has not only been renamed to some long name, but is totally reformatted to a super-complex html source file.  Looks very much like someone was told to make the index prettier and easier to find, so this person apparently decided to:

  • Rename index.html to 1._Open_Me_First_zOS_V2R4_Adobe_Indexed_Collection.html
  • Put a big heading and other information at the top that is unrelated to the books I’m looking for
  • Remove the nice links to each section that were at the top of the old index
  • Make it difficult to read the section headings because they are the same font as the book headings.
  • Use a Microsoft product to edit the index file.  MS products are known to produce html that nobody in their right mind would create, and this file is no exception.
  • Links include the directory name ../zosv2r4pdfkit-Jul-19, meaning you can’t rename that and still use the index.  What was this person thinking?
  • Include some obvious typos in the document, such as odd space below some of the section headings, extra binary characters on one of the book titles, one book missing its link, and similar things.

In other words, while I know this person had good intentions, they ended up making a mess of something that used to be simple and worked well.  But… with scripting we can still handle it.  Here is a modified script that works with the index I downloaded today.  Most likely though, this script will have issues the next time the index is updated.  That’s a problem, thanks to whoever decided to modify the index.

As before, follow the instructions at the top of this txt file.

create_shortcuts_24

Background – z/OS 2.3 Manuals

In the 1980′s I heard a rumor that IBM was the largest producer of printed material in the world.  I guess that could have been true, because where I worked with MVS there was a large room filled with all sorts of manuals, including a full time librarian.  Many people also ordered their own and it was kind of a badge of honor if you had a string of IBM manuals on a shelf at your desk.

Later we used BookManager, where manuals came on a CD in a format that seemed only known to the BookManager program you needed to install on Windows.  I didn’t like the format because the designers had taken the original manuals and divided them up into (what they probably thought) were logical sections.  For example, I would be looking at an OPEN macro and see the general syntax, but where are the details that follow?  That’s on another page, and often I’d have to backtrack to a higher level to find that other page.  I often just went to the printed manual instead.

Then along came pdf versions of the printed manuals, probably right about the time IBM stopped printing things on paper.  Finding things is difficult because you first have to find the right manual, and then use ctrl-F to search from (generally) the top down until you maybe find what you want.  But still, once I get to that spot I found them easier to use than the BookManager format.  These pdf files were available via the web, right alongside another option which kind of simulated the BookManager split-up format.  I always went straight for the pdf files and downloaded what I needed to my PC.

Later came Knowledge Center which had more features I guess, but I didn’t really use it much because it also resembled the BookManager format.  Plus, as happens often, someone decided they would pile everything into one clump, so if you’re searching for a JES2 keyword, you could easily end up in a section totally unrelated to JES2.  I seem to remember BookManager was like that too.

Disclaimer:  A lot of what’s above is just my view and may be way off

So Why Am I Here?

There’s a chance I’ll be working on a z/OS 2.3 upgrade for an IBM customer, so I thought I might as well look at the latest IBM manuals and download some to my PC.  I think the last time I did this (large scale downloads) was z/OS 1.3 so it’s time to look at all the changes IBM has been making to their manual web site.  Google sent me here:

https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3Library?OpenDocument

There are some things that look pretty cool here, but the thing I heard about that I’m really interested in is the link near the top of that page:

1

With that one link, we can download a zip file that contains the entire library, plus an index.html file that translates IBM’s difficult-to-use filenames to a readable title.  After unzipping I ended up with files like this:

2

Notice that all the files ended up in a single directory.  For example, you’ll find a Comm Manager book in the same directory as an MVS Macro manual.  At first that sounds like a mess, but it allows cross links between books.  So let’s keep it that way.  The index.html can tell us where things are:

3

Some things I think are odd about the index.html

  • You click on the pdf file name instead of the title, that confuses me a bit
  • All sections are always displayed even though I may want to concentrate on one section
  • Some of the links point to external web pages (i.e. Principles of Operation).  I’m not sure why they did this.
  • Some of the links point to things not found in the downloaded zip file (i.e. most of the Cryptography section).  Was that done on purpose to keep secrets? The 2.3 Program Directory also has a link but seems to be missing.
  • In Chrome (my html file default) when I click on a link it opens the PDF file within the browser.  That’s not what I want, I want a new Acrobat window.  There is probably a way around this in Chrome, but I’ll skip that because I have other plans.

Windows Shortcuts

What I would like is to have all the files in a local directory, such as c:\manuals\zos23, and then have a bunch of Windows shortcuts defined in various grouping directories so I can find things first by group, then by manual title… something like this:

4

So I’m thinking, what if I write a script that will read through the index.html file supplied by IBM, grab the group (i.e. BDT, BookManager, etc.), the book title, and the file name, and then create a bunch of shortcuts that look like the display above?

Turns out this was not too hard to do, but I had to learn just enough VBS scripting to get by.  If you want to try the script, here it is: (you will need to copy the text to create_shortcuts.vbs in order to run – see instructions in the code).

create_shortcuts.txt

That’s it… good luck

One thought on “IBM Manuals on My PC

  1. I believe that is just about the a whole lot information to me.. IBM Power 6 Using this program . pleased examining the content. Yet must remarks about several standard elements, The web page style is great, the content can be wonderful : D. Perfectly work, kind regards

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>