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 [[email protected]] on behalf of
Paul Gilmartin [[email protected]]
Sent: Tuesday, October 25, 2022 1:32 PM
To: [email protected]
Subject: Re: Location of forms code in z/OS manuals
On Tue, 25 Oct 2022 17:10:45 +0000, 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 [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
--
Joel C. Ewing
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN