Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The test of intelligent tinkering is to save all the parts. -- Aldo Leopold


computers / comp.sys.unisys / Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file

SubjectAuthor
* DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a fileCR
`* Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a fileTKosfeld
 `* Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a fileCR
  `* Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a fileCR
   `* Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a fileCR
    `* Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a fileLouis Krupp
     `- Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a fileCR

1
DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file

<3ed18239-99df-4376-b5c0-020e603807b1n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=187&group=comp.sys.unisys#187

  copy link   Newsgroups: comp.sys.unisys
X-Received: by 2002:a05:622a:1441:b0:35c:da34:d5dc with SMTP id v1-20020a05622a144100b0035cda34d5dcmr20595738qtx.338.1663788237826;
Wed, 21 Sep 2022 12:23:57 -0700 (PDT)
X-Received: by 2002:a05:6214:f24:b0:4ac:a9fd:8b42 with SMTP id
iw4-20020a0562140f2400b004aca9fd8b42mr24543573qvb.22.1663788237655; Wed, 21
Sep 2022 12:23:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.unisys
Date: Wed, 21 Sep 2022 12:23:55 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=50.79.174.17; posting-account=MH_JkwoAAAB5cPLZ09i8nQ1BI1EWU4wI
NNTP-Posting-Host: 50.79.174.17
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3ed18239-99df-4376-b5c0-020e603807b1n@googlegroups.com>
Subject: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file
From: chaia...@gmail.com (CR)
Injection-Date: Wed, 21 Sep 2022 19:23:57 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1360
 by: CR - Wed, 21 Sep 2022 19:23 UTC

Is there any way to find the PPB for a file programatically ?

I couldn't find anything in either of these 2 manuals (Getstatus or MCP System Interfaces inthe ASeries_Info section), which is where I would have expected to find it.

I am doing a directory search, and after we identify the file, is there any way to get at its PPB ?

Thanks
Chai

Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file

<tghcp4$17pa$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=188&group=comp.sys.unisys#188

  copy link   Newsgroups: comp.sys.unisys
Path: i2pn2.org!i2pn.org!aioe.org!VCF1Gz3n/7BhQwkxszmR1Q.user.46.165.242.75.POSTED!not-for-mail
From: tkosf...@gmx.net (TKosfeld)
Newsgroups: comp.sys.unisys
Subject: Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file
Date: Thu, 22 Sep 2022 07:18:13 -0300
Organization: Aioe.org NNTP Server
Message-ID: <tghcp4$17pa$1@gioia.aioe.org>
References: <3ed18239-99df-4376-b5c0-020e603807b1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="40746"; posting-host="VCF1Gz3n/7BhQwkxszmR1Q.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Content-Language: en-US
X-Antivirus-Status: Clean
X-Antivirus: Avast (VPS 220922-0, 9/21/2022), Outbound message
X-Notice: Filtered by postfilter v. 0.9.2
 by: TKosfeld - Thu, 22 Sep 2022 10:18 UTC

On 9/21/2022 4:23 PM, CR wrote:
> Is there any way to find the PPB for a file programatically ?
>
> I couldn't find anything in either of these 2 manuals (Getstatus or MCP System Interfaces inthe ASeries_Info section), which is where I would have expected to find it.
>
> I am doing a directory search, and after we identify the file, is there any way to get at its PPB ?
>
> Thanks
> Chai

The getstatus/setstatus manual (8600 0346–420), page 3–26 contains the
need info.
extraindex+7 points to the PPB.

https://public.support.unisys.com/c71/docs/fs6200-2.0/86000346-420.pdf

Good luck.....

--
This email has been checked for viruses by Avast antivirus software.
www.avast.com

Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file

<369543e1-d9c5-4a63-9b90-3b9c0fddd080n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=189&group=comp.sys.unisys#189

  copy link   Newsgroups: comp.sys.unisys
X-Received: by 2002:a05:622a:614:b0:35d:1ad7:4ebb with SMTP id z20-20020a05622a061400b0035d1ad74ebbmr334251qta.176.1663848405003;
Thu, 22 Sep 2022 05:06:45 -0700 (PDT)
X-Received: by 2002:ac8:5d90:0:b0:35c:ce34:3929 with SMTP id
d16-20020ac85d90000000b0035cce343929mr2385699qtx.227.1663848404428; Thu, 22
Sep 2022 05:06:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.unisys
Date: Thu, 22 Sep 2022 05:06:44 -0700 (PDT)
In-Reply-To: <tghcp4$17pa$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=50.79.174.17; posting-account=MH_JkwoAAAB5cPLZ09i8nQ1BI1EWU4wI
NNTP-Posting-Host: 50.79.174.17
References: <3ed18239-99df-4376-b5c0-020e603807b1n@googlegroups.com> <tghcp4$17pa$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <369543e1-d9c5-4a63-9b90-3b9c0fddd080n@googlegroups.com>
Subject: Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file
From: chaia...@gmail.com (CR)
Injection-Date: Thu, 22 Sep 2022 12:06:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 27
 by: CR - Thu, 22 Sep 2022 12:06 UTC

On Thursday, September 22, 2022 at 6:18:21 AM UTC-4, TKosfeld wrote:
> On 9/21/2022 4:23 PM, CR wrote:
> > Is there any way to find the PPB for a file programatically ?
> >
> > I couldn't find anything in either of these 2 manuals (Getstatus or MCP System Interfaces inthe ASeries_Info section), which is where I would have expected to find it.
> >
> > I am doing a directory search, and after we identify the file, is there any way to get at its PPB ?
> >
> > Thanks
> > Chai
> The getstatus/setstatus manual (8600 0346–420), page 3–26 contains the
> need info.
> extraindex+7 points to the PPB.
>
> https://public.support.unisys.com/c71/docs/fs6200-2.0/86000346-420.pdf
>
> Good luck.....
>
> --
> This email has been checked for viruses by Avast antivirus software.
> www.avast.com

Thank you Thomas ! I was looking for "PPB" instead of "program parameter block" :-). I am going to try it out.

Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file

<bb74171b-6ecc-4e7c-9f7d-c9d12a0e28b4n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=196&group=comp.sys.unisys#196

  copy link   Newsgroups: comp.sys.unisys
X-Received: by 2002:a05:620a:17a0:b0:6cd:a185:131d with SMTP id ay32-20020a05620a17a000b006cda185131dmr5565427qkb.759.1663938525251;
Fri, 23 Sep 2022 06:08:45 -0700 (PDT)
X-Received: by 2002:a37:424e:0:b0:6ce:b59:5735 with SMTP id
p75-20020a37424e000000b006ce0b595735mr5583253qka.115.1663938525019; Fri, 23
Sep 2022 06:08:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.unisys
Date: Fri, 23 Sep 2022 06:08:44 -0700 (PDT)
In-Reply-To: <369543e1-d9c5-4a63-9b90-3b9c0fddd080n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.79.174.17; posting-account=MH_JkwoAAAB5cPLZ09i8nQ1BI1EWU4wI
NNTP-Posting-Host: 50.79.174.17
References: <3ed18239-99df-4376-b5c0-020e603807b1n@googlegroups.com>
<tghcp4$17pa$1@gioia.aioe.org> <369543e1-d9c5-4a63-9b90-3b9c0fddd080n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bb74171b-6ecc-4e7c-9f7d-c9d12a0e28b4n@googlegroups.com>
Subject: Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file
From: chaia...@gmail.com (CR)
Injection-Date: Fri, 23 Sep 2022 13:08:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3055
 by: CR - Fri, 23 Sep 2022 13:08 UTC

On Thursday, September 22, 2022 at 8:06:45 AM UTC-4, CR wrote:
> On Thursday, September 22, 2022 at 6:18:21 AM UTC-4, TKosfeld wrote:
> > On 9/21/2022 4:23 PM, CR wrote:
> > > Is there any way to find the PPB for a file programatically ?
> > >
> > > I couldn't find anything in either of these 2 manuals (Getstatus or MCP System Interfaces inthe ASeries_Info section), which is where I would have expected to find it.
> > >
> > > I am doing a directory search, and after we identify the file, is there any way to get at its PPB ?
> > >
> > > Thanks
> > > Chai
> > The getstatus/setstatus manual (8600 0346–420), page 3–26 contains the
> > need info.
> > extraindex+7 points to the PPB.
> >
> > https://public.support.unisys.com/c71/docs/fs6200-2.0/86000346-420.pdf
> >
> > Good luck.....
> >
> > --
> > This email has been checked for viruses by Avast antivirus software.
> > www.avast.com
> Thank you Thomas ! I was looking for "PPB" instead of "program parameter block" :-). I am going to try it out.

The Getstatus documentation says the following about the PPB:

ARY [EXTRAINDEX + 7] Link to an image of the program parameter block of a code
file. The program parameter block contains an encoded
version of attributes to be applied to the task when a code
file is run.

What kind of "encoding" does it use ? I am going to run it with TADS and see what it actually contains. The only reason I am doing all this is because a customer asked for it in a report.

Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file

<74652ef3-ef35-449e-8a7a-df474b884799n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=221&group=comp.sys.unisys#221

  copy link   Newsgroups: comp.sys.unisys
X-Received: by 2002:a37:790:0:b0:6cb:ebb2:2bd4 with SMTP id 138-20020a370790000000b006cbebb22bd4mr21299622qkh.612.1664367570565;
Wed, 28 Sep 2022 05:19:30 -0700 (PDT)
X-Received: by 2002:a05:6870:618e:b0:130:9e9d:650d with SMTP id
a14-20020a056870618e00b001309e9d650dmr5192375oah.109.1664367570150; Wed, 28
Sep 2022 05:19:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.unisys
Date: Wed, 28 Sep 2022 05:19:29 -0700 (PDT)
In-Reply-To: <bb74171b-6ecc-4e7c-9f7d-c9d12a0e28b4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.79.174.17; posting-account=MH_JkwoAAAB5cPLZ09i8nQ1BI1EWU4wI
NNTP-Posting-Host: 50.79.174.17
References: <3ed18239-99df-4376-b5c0-020e603807b1n@googlegroups.com>
<tghcp4$17pa$1@gioia.aioe.org> <369543e1-d9c5-4a63-9b90-3b9c0fddd080n@googlegroups.com>
<bb74171b-6ecc-4e7c-9f7d-c9d12a0e28b4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <74652ef3-ef35-449e-8a7a-df474b884799n@googlegroups.com>
Subject: Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file
From: chaia...@gmail.com (CR)
Injection-Date: Wed, 28 Sep 2022 12:19:30 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4077
 by: CR - Wed, 28 Sep 2022 12:19 UTC

On Friday, September 23, 2022 at 9:08:45 AM UTC-4, CR wrote:
> On Thursday, September 22, 2022 at 8:06:45 AM UTC-4, CR wrote:
> > On Thursday, September 22, 2022 at 6:18:21 AM UTC-4, TKosfeld wrote:
> > > On 9/21/2022 4:23 PM, CR wrote:
> > > > Is there any way to find the PPB for a file programatically ?
> > > >
> > > > I couldn't find anything in either of these 2 manuals (Getstatus or MCP System Interfaces inthe ASeries_Info section), which is where I would have expected to find it.
> > > >
> > > > I am doing a directory search, and after we identify the file, is there any way to get at its PPB ?
> > > >
> > > > Thanks
> > > > Chai
> > > The getstatus/setstatus manual (8600 0346–420), page 3–26 contains the
> > > need info.
> > > extraindex+7 points to the PPB.
> > >
> > > https://public.support.unisys.com/c71/docs/fs6200-2.0/86000346-420.pdf
> > >
> > > Good luck.....
> > >
> > > --
> > > This email has been checked for viruses by Avast antivirus software.
> > > www.avast.com
> > Thank you Thomas ! I was looking for "PPB" instead of "program parameter block" :-). I am going to try it out.
> The Getstatus documentation says the following about the PPB:
>
> ARY [EXTRAINDEX + 7] Link to an image of the program parameter block of a code
> file. The program parameter block contains an encoded
> version of attributes to be applied to the task when a code
> file is run.
>
> What kind of "encoding" does it use ? I am going to run it with TADS and see what it actually contains. The only reason I am doing all this is because a customer asked for it in a report.

Just an update on my findings. There does not seem to be any documented way to decode the PPB for a file. Unisys Support confirmed this for me. The only option when spinning through
a directory search was to use SYSTEM/FILEDATA as follows:

RUN *SYSTEM/FILEDATA ("ATTRIBUTES:TITLE=<object file name> PPB FILENAME=PPBOUT"). The results of the PPB are written to the PPBOUT file which I will parse to get the PPB data.

I need to use this for a report for potentially hundreds of files in a directory. Running FILEDATA as an external process for every single file is going to be inherently slow and the reporting
program will take a long time to run, particularly if the directory of files that is being processed is very large. At the moment, I don't have any choice in the matter. I have requested a
New Feature Request to be created, to allow the PPB to be decoded.

That is, unless somebody in this group suggests an alternative.

Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file

<VmlZK.271763$9Yp5.264537@fx12.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=225&group=comp.sys.unisys#225

  copy link   Newsgroups: comp.sys.unisys
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
Subject: Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file
Content-Language: en-US
Newsgroups: comp.sys.unisys
References: <3ed18239-99df-4376-b5c0-020e603807b1n@googlegroups.com>
<tghcp4$17pa$1@gioia.aioe.org>
<369543e1-d9c5-4a63-9b90-3b9c0fddd080n@googlegroups.com>
<bb74171b-6ecc-4e7c-9f7d-c9d12a0e28b4n@googlegroups.com>
<74652ef3-ef35-449e-8a7a-df474b884799n@googlegroups.com>
From: lkr...@invalid.pssw.com.invalid (Louis Krupp)
In-Reply-To: <74652ef3-ef35-449e-8a7a-df474b884799n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 52
Message-ID: <VmlZK.271763$9Yp5.264537@fx12.iad>
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Thu, 29 Sep 2022 18:21:41 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Thu, 29 Sep 2022 12:21:39 -0600
X-Received-Bytes: 3858
 by: Louis Krupp - Thu, 29 Sep 2022 18:21 UTC

On 9/28/2022 6:19 AM, CR wrote:
> On Friday, September 23, 2022 at 9:08:45 AM UTC-4, CR wrote:
>> On Thursday, September 22, 2022 at 8:06:45 AM UTC-4, CR wrote:
>>> On Thursday, September 22, 2022 at 6:18:21 AM UTC-4, TKosfeld wrote:
>>>> On 9/21/2022 4:23 PM, CR wrote:
>>>>> Is there any way to find the PPB for a file programatically ?
>>>>>
>>>>> I couldn't find anything in either of these 2 manuals (Getstatus or MCP System Interfaces inthe ASeries_Info section), which is where I would have expected to find it.
>>>>>
>>>>> I am doing a directory search, and after we identify the file, is there any way to get at its PPB ?
>>>>>
>>>>> Thanks
>>>>> Chai
>>>> The getstatus/setstatus manual (8600 0346–420), page 3–26 contains the
>>>> need info.
>>>> extraindex+7 points to the PPB.
>>>>
>>>> https://public.support.unisys.com/c71/docs/fs6200-2.0/86000346-420.pdf
>>>>
>>>> Good luck.....
>>>>
>>>> --
>>>> This email has been checked for viruses by Avast antivirus software.
>>>> www.avast.com
>>> Thank you Thomas ! I was looking for "PPB" instead of "program parameter block" :-). I am going to try it out.
>> The Getstatus documentation says the following about the PPB:
>>
>> ARY [EXTRAINDEX + 7] Link to an image of the program parameter block of a code
>> file. The program parameter block contains an encoded
>> version of attributes to be applied to the task when a code
>> file is run.
>>
>> What kind of "encoding" does it use ? I am going to run it with TADS and see what it actually contains. The only reason I am doing all this is because a customer asked for it in a report.
>
> Just an update on my findings. There does not seem to be any documented way to decode the PPB for a file. Unisys Support confirmed this for me. The only option when spinning through
> a directory search was to use SYSTEM/FILEDATA as follows:
>
> RUN *SYSTEM/FILEDATA ("ATTRIBUTES:TITLE=<object file name> PPB FILENAME=PPBOUT"). The results of the PPB are written to the PPBOUT file which I will parse to get the PPB data.
>
> I need to use this for a report for potentially hundreds of files in a directory. Running FILEDATA as an external process for every single file is going to be inherently slow and the reporting
> program will take a long time to run, particularly if the directory of files that is being processed is very large. At the moment, I don't have any choice in the matter. I have requested a
> New Feature Request to be created, to allow the PPB to be decoded.
>
> That is, unless somebody in this group suggests an alternative.

Potentially stupid question:

If you need PPB info for a lot of files in one directory, could you run
FILEDATA with "ATTRIBUTES:DIRECTORY=<directory name> ..."?

Louis

Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file

<706f3d34-c1ae-4e66-896b-25ff6ff74f44n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=229&group=comp.sys.unisys#229

  copy link   Newsgroups: comp.sys.unisys
X-Received: by 2002:a05:620a:219a:b0:6ce:4164:e22c with SMTP id g26-20020a05620a219a00b006ce4164e22cmr6212271qka.214.1664551044830;
Fri, 30 Sep 2022 08:17:24 -0700 (PDT)
X-Received: by 2002:a05:6870:1718:b0:131:d3b0:37ca with SMTP id
h24-20020a056870171800b00131d3b037camr4607085oae.99.1664551044277; Fri, 30
Sep 2022 08:17:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.unisys
Date: Fri, 30 Sep 2022 08:17:23 -0700 (PDT)
In-Reply-To: <VmlZK.271763$9Yp5.264537@fx12.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=50.79.174.17; posting-account=MH_JkwoAAAB5cPLZ09i8nQ1BI1EWU4wI
NNTP-Posting-Host: 50.79.174.17
References: <3ed18239-99df-4376-b5c0-020e603807b1n@googlegroups.com>
<tghcp4$17pa$1@gioia.aioe.org> <369543e1-d9c5-4a63-9b90-3b9c0fddd080n@googlegroups.com>
<bb74171b-6ecc-4e7c-9f7d-c9d12a0e28b4n@googlegroups.com> <74652ef3-ef35-449e-8a7a-df474b884799n@googlegroups.com>
<VmlZK.271763$9Yp5.264537@fx12.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <706f3d34-c1ae-4e66-896b-25ff6ff74f44n@googlegroups.com>
Subject: Re: DCAlgol (GetStatus or ASeries_Info) code to get the PPB of a file
From: chaia...@gmail.com (CR)
Injection-Date: Fri, 30 Sep 2022 15:17:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5290
 by: CR - Fri, 30 Sep 2022 15:17 UTC

On Thursday, September 29, 2022 at 2:21:42 PM UTC-4, Louis Krupp wrote:
> On 9/28/2022 6:19 AM, CR wrote:
> > On Friday, September 23, 2022 at 9:08:45 AM UTC-4, CR wrote:
> >> On Thursday, September 22, 2022 at 8:06:45 AM UTC-4, CR wrote:
> >>> On Thursday, September 22, 2022 at 6:18:21 AM UTC-4, TKosfeld wrote:
> >>>> On 9/21/2022 4:23 PM, CR wrote:
> >>>>> Is there any way to find the PPB for a file programatically ?
> >>>>>
> >>>>> I couldn't find anything in either of these 2 manuals (Getstatus or MCP System Interfaces inthe ASeries_Info section), which is where I would have expected to find it.
> >>>>>
> >>>>> I am doing a directory search, and after we identify the file, is there any way to get at its PPB ?
> >>>>>
> >>>>> Thanks
> >>>>> Chai
> >>>> The getstatus/setstatus manual (8600 0346–420), page 3–26 contains the
> >>>> need info.
> >>>> extraindex+7 points to the PPB.
> >>>>
> >>>> https://public.support.unisys.com/c71/docs/fs6200-2.0/86000346-420.pdf
> >>>>
> >>>> Good luck.....
> >>>>
> >>>> --
> >>>> This email has been checked for viruses by Avast antivirus software.
> >>>> www.avast.com
> >>> Thank you Thomas ! I was looking for "PPB" instead of "program parameter block" :-). I am going to try it out.
> >> The Getstatus documentation says the following about the PPB:
> >>
> >> ARY [EXTRAINDEX + 7] Link to an image of the program parameter block of a code
> >> file. The program parameter block contains an encoded
> >> version of attributes to be applied to the task when a code
> >> file is run.
> >>
> >> What kind of "encoding" does it use ? I am going to run it with TADS and see what it actually contains. The only reason I am doing all this is because a customer asked for it in a report.
> >
> > Just an update on my findings. There does not seem to be any documented way to decode the PPB for a file. Unisys Support confirmed this for me. The only option when spinning through
> > a directory search was to use SYSTEM/FILEDATA as follows:
> >
> > RUN *SYSTEM/FILEDATA ("ATTRIBUTES:TITLE=<object file name> PPB FILENAME=PPBOUT"). The results of the PPB are written to the PPBOUT file which I will parse to get the PPB data.
> >
> > I need to use this for a report for potentially hundreds of files in a directory. Running FILEDATA as an external process for every single file is going to be inherently slow and the reporting
> > program will take a long time to run, particularly if the directory of files that is being processed is very large. At the moment, I don't have any choice in the matter. I have requested a
> > New Feature Request to be created, to allow the PPB to be decoded.
> >
> > That is, unless somebody in this group suggests an alternative.
> Potentially stupid question:
>
> If you need PPB info for a lot of files in one directory, could you run
> FILEDATA with "ATTRIBUTES:DIRECTORY=<directory name> ..."?
>
> Louis

Louis,

Yes we could, and it does work. But our Directory Scanner has some other filters as well, so we really need to select each file based on that filter and then apply the PPB option (if specified) for the file.
Parsing the PPBOUT file to pull out only the PPB for the file I am looking for was a little tricky. The output is exactly like what would result from an LFILE <directory>:PPB. If a filename is also a directory,
then you have the file as well as the underlying nodes. What I have implemented works fine, and the customer is okay with the performance hit. They need the PPB for some internal QA auditing, and
they are happy to have an automated solution.

Chai

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor