Re: Location of forms code in z/OS manuals

2022-10-28 Thread Paul Gilmartin
On Fri, 28 Oct 2022 04:32:42 +, Seymour J Metz wrote:

>That's true for current z/OS but not true across the board.
>
>At least the PDF from IBM has title; the ones from bitsavers doesn't even have 
>that :-(
>
Ob Samuel Johnson's politically incorrect dog:

It's unrealistic to expect a process of scanning followed by OCR to infer 
metadata.

Need to add AI.

My earlier question about escaping backslashes was naive.  I retract it.

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-27 Thread Seymour J Metz
That's possible. There has been a title key in every PDF from IBM that I looked 
at, but that's a very small sample size. I may have to resort to parsing the 
title page. Thanks.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gorlinsky [p...@atsmigrations.com]
Sent: Thursday, October 27, 2022 10:35 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

Seymour,

I have been looking thru my collection of PDFs from IBM and have noticed that 
several different versions of PDF generators have been used. It also appears 
that the persons generating the PDFs from older BOOKMASTER/GML formats used 
many different programs. I am wondering if the tagging is a parameter to the 
generators that some people might or might not have set.

Paul

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-27 Thread Seymour J Metz
Is that a windows command? I'm pretty sure that DOS doesn't do escaping.

I would be building my index on Linux or OS/2.

Thanks.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Sri 
h Kolusu [skol...@us.ibm.com]
Sent: Thursday, October 27, 2022 11:05 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

>> Title is only one of the two data that I want as keys.


If title is the key you want then you can run the following DOS command to get 
the details

wmic datafile "C:\\Users\\Johndoe\\Manuals\\pops.pdf" list full

Note the escaping of the backslashes \ in the path


You can run the above command in batch against all the files in the folder.


Thanks,
Kolusu



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-27 Thread Seymour J Metz
That's true for current z/OS but not true across the board.

At least the PDF from IBM has title; the ones from bitsavers doesn't even have 
that :-(


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Schuster [pgs4ibmm...@pacbell.net]
Sent: Thursday, October 27, 2022 12:23 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

IBM provides an index when you download the entire pubs library zip file.
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-27 Thread Paul Gilmartin
On Thu, 27 Oct 2022 15:05:52 +, Sri h Kolusu wrote:
>... DOS command ...
>wmic datafile "C:\\Users\\Johndoe\\Manuals\\pops.pdf" list full
>
>Note the escaping of the backslashes \ in the path
> 
I'm puzzled.  If they're not escaped aren't they taken as directory level
separators, and isn't that what you want?

For comparison, on a (mostly) POSIX system I do:
pdfinfo "/Users/Johndoe/.../zOSV2R5Library/aoplt00_v241.pdf"

... no need to escape the slashes because they're supposed to separate
directory levels.

Feels like another good reason for not using DOS.

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-27 Thread Paul Schuster
IBM provides an index when you download the entire pubs library zip file.
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-27 Thread Sri h Kolusu
>> Title is only one of the two data that I want as keys.


If title is the key you want then you can run the following DOS command to get 
the details

wmic datafile "C:\\Users\\Johndoe\\Manuals\\pops.pdf" list full

Note the escaping of the backslashes \ in the path


You can run the above command in batch against all the files in the folder.


Thanks,
Kolusu



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-27 Thread Paul Gorlinsky
Seymour,

I have been looking thru my collection of PDFs from IBM and have noticed that 
several different versions of PDF generators have been used. It also appears 
that the persons generating the PDFs from older BOOKMASTER/GML formats used 
many different programs. I am wondering if the tagging is a parameter to the 
generators that some people might or might not have set. 

Paul

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-27 Thread Walt Farrell
On Wed, 26 Oct 2022 17:06:06 +, Seymour J Metz  wrote:

>PDFBox is certainly the way to go for the title, but IBM doesn't appear to be 
>putting the forms code anywhere accessible.

The form code is certainly in the text, e.g., at the bottom of the cover page. 
So you should be able to extract the first few pages (PDFtotext or another 
tool) and search for it. For example, using a regular expression to match 
something like SC23-6843-50.

-- 
Walt

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-26 Thread Paul Gilmartin
On Wed, 26 Oct 2022 14:55:05 +, Seymour J Metz wrote:
>...
>Downloading and parsing multiple index.html files should work for some but not 
>all of the manuals that I've downloaded.
> 
How are the forms codes useful?  Ordering hardcopies?  Citations?

Wandering only slightly OT, I notice that when I download and unzip the 0.8 GB
archive from
,
the metadata times are reasonably distributed over a couple years with some
clustering around the ends of odd-numbered months.  However, the file times
(assuming UTC) are distributed through the several minutes the download took.
This fits the astonishing assumption that the PDFs are rendered on-the-fly,
or perhaps just copied from a repository, during the download!

I'd find it more useful if the file timestamps matched the metadata.  But I have
a script (using "pdfinfo") to adjust those.

I'd also be grateful if the timestamp of the .zip archive as reported in the 
HTTP
headers truly represented the last update, or if the site supplied an ETag so
I could poll for updates and download conditionally.

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-26 Thread Seymour J Metz
PDFBox is certainly the way to go for the title, but IBM doesn't appear to be 
putting the forms code anywhere accessible.


From: IBM Mainframe Discussion List  on behalf of 
Mike Beer 
Sent: Wednesday, October 26, 2022 1:00 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: AW: Location of forms code in z/OS manuals

Hi,
Students of Rony Flatscher (Professor at the WU, Vienna) worked on several
interesting REXX projects.
One of the was the use of PDF files out of Rexx.

https://secure-web.cisco.com/1nYU7m-1vUE_5_VO-UqhVHFk8Ds1mKzC1jcP41cMRtvVQrOT8Hok7uVOKnW7nk1mLxvDW_Trs_4H91p_1YMHn_s8QHGPJoJyiArH9314TlTIpKd5CYqqqZzIGWVu0SGJ3yqE-p079eofxMvyHo5ixJk0KWW0NVaZiKNVulLF8_DiEIKqSe1nUV4DhMz6L4bItwivI6xEBZ3ZysqaTwcKINKkZwaGdDu8Bamydgb2ghBlj8cGXTY_ZUoUW_bVIs9POs_KPuQ7DmSDfgjv0xoUhQoPeymAqnLJbVKhkBSgXkY_7efA2vLFxg-I1euhHEonnsjYYyKyhiJNg5G9NOnLItBsOYDvXLmZkkywhQf0SYKrzgH4ekqvWc4IVBGAHVkBsIcojKzO127sYbgg0w13hQKfQOFEcX98OmNy6mssmWaRKYFbaUBXXH8t5JvfPTuIG/https%3A%2F%2Fwi.wu.ac.at%2Frgf%2Fdiplomarbeiten%2F

Look for author Dobrea

Rony's Bean Scripting Framework allows the easy integration of Java into
ooREXX.
https://secure-web.cisco.com/1fZ4ZqZNgZjYQeUIt-_bONuh-1jKzJOLraEghYhTJd2bfh-tBUWj4D3yUKCmrQ6de2HrxYH1g3MeWDrvCPFUtDjeQbBFnkLusuJKEwrT0E9Du-JGsa4e9iqFYBSzuUMeQOv7r3nUgUYIEnKXFTuZ9S1GlTxgt6ez09QV9-N1tE49y5o7_3Hfz0CXb68zejmQ1yU8H_BD0C0Fkp_y33mOXTmjlipVdIKf3tqKyR4SKuwA_FebpOCW5xhBix8KUASMq9ZW6TzpOLcW7TjY7yp7dyP9pybwLyca9uGPKidEvLBYW7RT1lF5nXiJ3J9kParFZXwXKN-8p3eTx3bThuxR7JP59jcgdaYMEtUHVaOzSyXKQB8QVFbMl-7fbuRN6Pj-nZyLrjrtdNGrUHpxwMpCxGWSBIfjg75FaAw7co-QC7w50S-3BfG8rSPem6_pto3agoWL96Um8DqaqArFtOcE3-A/https%3A%2F%2Fsourceforge.net%2Fprojects%2Fbsf4oorexx%2F

Best regards
Mike

-Ursprüngliche Nachricht-
Von: IBM Mainframe Discussion List  Im Auftrag von
Seymour J Metz
Gesendet: Wednesday, October 26, 2022 15:39
An: IBM-MAIN@LISTSERV.UA.EDU
Betreff: Re: Location of forms code in z/OS manuals

I wanted to write a script to index a bunch of manuals that I downloaded
from IBM and wanted the forms code to be the primary key. The file names are
not very helpful. Given that, I have to live with whatever information IBM
chooses to provide, unless and until someone submits an RFE with a
compelling business case for adding more metadata.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, October 25, 2022 6:35 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

On Tue, 25 Oct 2022 17:01:22 -0500, Joel C. Ewing  wrote:
>...
>Lacking a convention to use a specific metadata key for the manual
>publication number, the obvious and simplest way to supply the manual
>publication number in a manner that could easily be extracted from a
>PDF file is to include the complete designation as part of the file name.
>
The OP hasn't explained clearly what he needs to do, perhaps with an example
of what he wants to see.

Is there a satisfactory example, perhaps from an organization other than
IBM?

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


AW: Location of forms code in z/OS manuals

2022-10-26 Thread Mike Beer
Hi,
Students of Rony Flatscher (Professor at the WU, Vienna) worked on several
interesting REXX projects.
One of the was the use of PDF files out of Rexx.

https://wi.wu.ac.at/rgf/diplomarbeiten/

Look for author Dobrea

Rony's Bean Scripting Framework allows the easy integration of Java into
ooREXX.
https://sourceforge.net/projects/bsf4oorexx/

Best regards
Mike

-Ursprüngliche Nachricht-
Von: IBM Mainframe Discussion List  Im Auftrag von
Seymour J Metz
Gesendet: Wednesday, October 26, 2022 15:39
An: IBM-MAIN@LISTSERV.UA.EDU
Betreff: Re: Location of forms code in z/OS manuals

I wanted to write a script to index a bunch of manuals that I downloaded
from IBM and wanted the forms code to be the primary key. The file names are
not very helpful. Given that, I have to live with whatever information IBM
chooses to provide, unless and until someone submits an RFE with a
compelling business case for adding more metadata.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, October 25, 2022 6:35 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

On Tue, 25 Oct 2022 17:01:22 -0500, Joel C. Ewing  wrote:
>...
>Lacking a convention to use a specific metadata key for the manual 
>publication number, the obvious and simplest way to supply the manual 
>publication number in a manner that could easily be extracted from a 
>PDF file is to include the complete designation as part of the file name.
>
The OP hasn't explained clearly what he needs to do, perhaps with an example
of what he wants to see.

Is there a satisfactory example, perhaps from an organization other than
IBM?

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-26 Thread Farley, Peter
The "pdftotext" command line tool from the XPDFReader team does a pretty 
credible job of extracting good, readable (and more importantly, utility 
program readable) text from IBM PDF's.  I use it very successfully to extract 
data from the z/Architecture PoOP for a side project of mine.

https://www.xpdfreader.com/download.html

Using an appropriate utility tool you should be able to extract the form number 
you need from a text extract of the PDF title page (yes, this version of 
"pdftotext" can correctly extract specific pages by absolute page number [not 
the printed page number, just the sequential page-count number]).

Example usage of "pdftotext" to extract all of Appendix B by page number from a 
specific edition of the PoOP to a UTF-8 text file with CRLF line endings:

pdftotext -f 1573 -l 1642 -eol dos -cfg sample-xpdfrc -table -nopgbrk -enc 
UTF-8 ..\zArchPDF\a22-7832-10-zArch-PoOP-2015.pdf 
a22-7832-10-zArch-PoOP-AppB.txt

The "-table" option is very good at extracting readable text data from the PoOP 
manual, I believe it will work as well on other IBM manual PDF's.

HTH

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Seymour J Metz
Sent: Wednesday, October 26, 2022 10:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

By form code I mean the ---xx number that identifies the manual and 
used to be (without the -xx) the number used for ordering the manual. E.g., has 
the form code SA22-7801-14 and the title z/OS UNIX System Services User's Guide,

Downloading and parsing multiple index.html files should work for some but not 
all of the manuals that I've downloaded.

Thanks.
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-26 Thread Seymour J Metz
By form code I mean the ---xx number that identifies the manual and 
used to be (without the -xx) the number used for ordering the manual. E.g., has 
the form code SA22-7801-14 and the title z/OS UNIX System Services User's Guide,

Downloading and parsing multiple index.html files should work for some but not 
all of the manuals that I've downloaded.

Thanks.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Wednesday, October 26, 2022 10:03 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

On Wed, 26 Oct 2022 13:39:02 +, Seymour J Metz wrote:

>I wanted to write a script to index a bunch of manuals that I downloaded from 
>IBM and wanted the forms code to be the primary key. The file names are not 
>very helpful. Given that, I have to live with whatever information IBM chooses 
>to provide, unless and until someone submits an RFE with a compelling business 
>case for adding more metadata.
>
What's a "forms code"?  can you provide an example?

On 
<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww-40.ibm.com%2Fservers%2Fresourcelink%2Fsvc00100.nsf%2Fpages%2FzOSV2R5Library%3FOpenDocumentdata=05%7C01%7Csmetz3%40gmu.edu%7Cebaf14c0ad034a277c7b08dab75adb41%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C638023898103318643%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=mwJCGr5Fs1hkEY8B8mGpIRR38Gx3JpPaip3XB2ciRMQ%3Dreserved=0>

there's an index.html file that I use either to access the unzipped .pdf files 
or to create
a parallel list of symbolic links such as:

ls -1R
...
./z⧸OS XL C⧸C++:
Standard C++ Library Reference
z⧸OS C Curses
z⧸OS XL C⧸C++ Compiler and Runtime Migration Guide for the Application 
Programmer
z⧸OS XL C⧸C++ Language Reference
z⧸OS XL C⧸C++ Messages
z⧸OS XL C⧸C++ Programming Guide
z⧸OS XL C⧸C++ Runtime Library Reference
z⧸OS XL C⧸C++ User's Guide

./z⧸OS Xvfb:
z⧸OS Xvfb User's Guide

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-26 Thread Seymour J Metz
Title is only one of the two data that I want as keys.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Wendell Lovewell [01e9c0ee0673-dmarc-requ...@listserv.ua.edu]
Sent: Wednesday, October 26, 2022 10:09 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

Seymour, could you use the Title tag?

root@WLPC:/a/temp# pdfinfo sg246818.pdf | grep Title
Title:  Merging Systems into a Sysplex

Gil, thanks for the tip on pdfinfo.

Wendell

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-26 Thread Wendell Lovewell
Seymour, could you use the Title tag? 

root@WLPC:/a/temp# pdfinfo sg246818.pdf | grep Title
Title:  Merging Systems into a Sysplex

Gil, thanks for the tip on pdfinfo.

Wendell

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-26 Thread Paul Gilmartin
On Wed, 26 Oct 2022 13:39:02 +, Seymour J Metz wrote:

>I wanted to write a script to index a bunch of manuals that I downloaded from 
>IBM and wanted the forms code to be the primary key. The file names are not 
>very helpful. Given that, I have to live with whatever information IBM chooses 
>to provide, unless and until someone submits an RFE with a compelling business 
>case for adding more metadata.
> 
What's a "forms code"?  can you provide an example?

On 


there's an index.html file that I use either to access the unzipped .pdf files 
or to create
a parallel list of symbolic links such as:

ls -1R
...
./z⧸OS XL C⧸C++:
Standard C++ Library Reference
z⧸OS C Curses
z⧸OS XL C⧸C++ Compiler and Runtime Migration Guide for the Application 
Programmer
z⧸OS XL C⧸C++ Language Reference
z⧸OS XL C⧸C++ Messages
z⧸OS XL C⧸C++ Programming Guide
z⧸OS XL C⧸C++ Runtime Library Reference
z⧸OS XL C⧸C++ User's Guide

./z⧸OS Xvfb:
z⧸OS Xvfb User's Guide

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-26 Thread Seymour J Metz
I wanted to write a script to index a bunch of manuals that I downloaded from 
IBM and wanted the forms code to be the primary key. The file names are not 
very helpful. Given that, I have to live with whatever information IBM chooses 
to provide, unless and until someone submits an RFE with a compelling business 
case for adding more metadata.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, October 25, 2022 6:35 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

On Tue, 25 Oct 2022 17:01:22 -0500, Joel C. Ewing  wrote:
>...
>Lacking a convention to use a specific metadata key for the manual
>publication number, the obvious and simplest way to supply the manual
>publication number in a manner that could easily be extracted from a PDF
>file is to include the complete designation as part of the file name.
>
The OP hasn't explained clearly what he needs to do, perhaps with an example
of what he wants to see.

Is there a satisfactory example, perhaps from an organization other than IBM?

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-25 Thread Paul Gilmartin
On Tue, 25 Oct 2022 17:01:22 -0500, Joel C. Ewing  wrote:
>...
>Lacking a convention to use a specific metadata key for the manual
>publication number, the obvious and simplest way to supply the manual
>publication number in a manner that could easily be extracted from a PDF
>file is to include the complete designation as part of the file name.
> 
The OP hasn't explained clearly what he needs to do, perhaps with an example
of what he wants to see.

Is there a satisfactory example, perhaps from an organization other than IBM?

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-25 Thread Joel C. Ewing
There are relatively small number of standard PDF meta-data keys.  
Document number or publication ID is not one of those. There is a 
"keyword" key which could be adapted for that purpose, specifying 
"SA22-7832-12" as one of the keyword values, or it could be included as 
a part of the standard Title or Subject metadata values, but the 
creators of the PDF documents would have to commit to enforce that usage 
convention.  Perhaps the inclusion of this in the metadata needs to be 
submitted as a requirement.


I see a suggestion that Adobe PDF creation tools may have support for 
creating custom metadata keys, but if true, that doesn't guarantee other 
utilities designed for "standard" PDFs would interpret them.  LO Writer, 
and I suspect MS Word as well, has support for specifying "Custom 
Document Properties" key-value pairs, but these don't appear to be 
included as part of the PDF metadata when those applications generate PDFs.


Lacking a convention to use a specific metadata key for the manual 
publication number, the obvious and simplest way to supply the manual 
publication number in a manner that could easily be extracted from a PDF 
file is to include the complete designation as part of the file name.


    Joel C. Ewing

On 10/25/22 14:39, Seymour J Metz wrote:

I tried and did not see SA22-7832-12 anywhere after

Tue 10-25-22 15:30:18{2}[h:\] q:\usr\bin\pdfinfo.exe m:\pdf\ibm\z\a227832c.pdf
Title:  IBM z/Architecture Principles of Operation
Subject:z/Architecture
Keywords:
Author: IBM Corporation
Creator:FrameMaker 2017.0.4
Producer:   Acrobat Distiller 17.0 (Windows)
CreationDate:   Wed Aug 28 08:40:04 2019 EDT
ModDate:Wed Aug 28 08:40:04 2019 EDT
Tagged: no
UserProperties: no
Suspects:   no
Form:   AcroForm
JavaScript: yes
Pages:  2000
Encrypted:  no
Page size:  612 x 792 pts (letter)
Page rot:   0
File size:  17096062 bytes
Optimized:  yes
PDF version:1.6

Doe this mean that there is no way to extract it?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, October 25, 2022 1:32 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

On Tue, 25 Oct 2022 17:10:45 +, Seymour J Metz wrote:


Do the PDF manuals for z/OS have the forms code in the metadata? If so, under 
what key.


E.g. ?:

1022 $ pdfinfo z⧸OS\ UNIX\ System\ Services/z⧸OS\ UNIX\ System\ Services\ 
User\'s\ Guide
 | grep -i form
Creator: AH XSL Formatter V7.1 MR3 for Linux64 : 7.1.4.51036 
(2021-06-14T14:17+09)
Form:none
1023 $

I find pdfinfo as part of poppler or xpdf.  It might also be in ghostscript.

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
Joel C. Ewing

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-25 Thread Seymour J Metz
I tried and did not see SA22-7832-12 anywhere after

Tue 10-25-22 15:30:18{2}[h:\] q:\usr\bin\pdfinfo.exe m:\pdf\ibm\z\a227832c.pdf
Title:  IBM z/Architecture Principles of Operation
Subject:z/Architecture
Keywords:
Author: IBM Corporation
Creator:FrameMaker 2017.0.4
Producer:   Acrobat Distiller 17.0 (Windows)
CreationDate:   Wed Aug 28 08:40:04 2019 EDT
ModDate:Wed Aug 28 08:40:04 2019 EDT
Tagged: no
UserProperties: no
Suspects:   no
Form:   AcroForm
JavaScript: yes
Pages:  2000
Encrypted:  no
Page size:  612 x 792 pts (letter)
Page rot:   0
File size:  17096062 bytes
Optimized:  yes
PDF version:1.6

Doe this mean that there is no way to extract it?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, October 25, 2022 1:32 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Location of forms code in z/OS manuals

On Tue, 25 Oct 2022 17:10:45 +, Seymour J Metz wrote:

>Do the PDF manuals for z/OS have the forms code in the metadata? If so, under 
>what key.
>
E.g. ?:

1022 $ pdfinfo z⧸OS\ UNIX\ System\ Services/z⧸OS\ UNIX\ System\ Services\ 
User\'s\ Guide
| grep -i form
Creator: AH XSL Formatter V7.1 MR3 for Linux64 : 7.1.4.51036 
(2021-06-14T14:17+09)
Form:none
1023 $

I find pdfinfo as part of poppler or xpdf.  It might also be in ghostscript.

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Location of forms code in z/OS manuals

2022-10-25 Thread Paul Gilmartin
On Tue, 25 Oct 2022 17:10:45 +, Seymour J Metz wrote:

>Do the PDF manuals for z/OS have the forms code in the metadata? If so, under 
>what key.
>
E.g. ?:

1022 $ pdfinfo z⧸OS\ UNIX\ System\ Services/z⧸OS\ UNIX\ System\ Services\ 
User\'s\ Guide
| grep -i form
Creator: AH XSL Formatter V7.1 MR3 for Linux64 : 7.1.4.51036 
(2021-06-14T14:17+09)
Form:none
1023 $ 

I find pdfinfo as part of poppler or xpdf.  It might also be in ghostscript.

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Location of forms code in z/OS manuals

2022-10-25 Thread Seymour J Metz
Do the PDF manuals for z/OS have the forms code in the metadata? If so, under 
what key.

Thanks.



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN