Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Don't tell me how hard you work. Tell me how much you get done. -- James J. Ling


computers / comp.os.vms / Re: Calling $CREPRC in COBOL

SubjectAuthor
* Calling $CREPRC in COBOLVAXman-
+* Re: Calling $CREPRC in COBOLCraig A. Berry
|+- Re: Calling $CREPRC in COBOLCraig A. Berry
|`* Re: Calling $CREPRC in COBOLBill Gunshannon
| `* Re: Calling $CREPRC in COBOLCraig A. Berry
|  +* Re: Calling $CREPRC in COBOLVAXman-
|  |+* Re: Calling $CREPRC in COBOLBill Gunshannon
|  ||`* Re: Calling $CREPRC in COBOLabrsvc
|  || `- Re: Calling $CREPRC in COBOLCraig A. Berry
|  |`- Re: Calling $CREPRC in COBOLRich Alderson
|  `* Re: Calling $CREPRC in COBOLBill Gunshannon
|   +* Re: Calling $CREPRC in COBOLCraig A. Berry
|   |+- Re: Calling $CREPRC in COBOLBill Gunshannon
|   |`* Re: Calling $CREPRC in COBOLDave Froble
|   | +* Re: Calling $CREPRC in COBOLRichard Maher
|   | |`- Re: Calling $CREPRC in COBOLRichard Maher
|   | `* Re: Calling $CREPRC in COBOLVAXman-
|   |  `* Re: Calling $CREPRC in COBOLDave Froble
|   |   `* Re: Calling $CREPRC in COBOLRichard Maher
|   |    `* Re: Calling $CREPRC in COBOLDave Froble
|   |     +* Re: Calling $CREPRC in COBOLRichard Maher
|   |     |`* Re: Calling $CREPRC in COBOLDave Froble
|   |     | +* Re: Calling $CREPRC in COBOLStephen Hoffman
|   |     | |+* Re: Calling $CREPRC in COBOLRichard Maher
|   |     | ||`- Re: Calling $CREPRC in COBOLSimon Clubley
|   |     | |`* Re: Calling $CREPRC in COBOLDavid Jones
|   |     | | `* Re: Calling $CREPRC in COBOLStephen Hoffman
|   |     | |  `* Re: Calling $CREPRC in COBOLSimon Clubley
|   |     | |   +* Re: Calling $CREPRC in COBOLDave Froble
|   |     | |   |+* Re: Calling $CREPRC in COBOLSimon Clubley
|   |     | |   ||`- Re: Calling $CREPRC in COBOLDave Froble
|   |     | |   |`* Re: Calling $CREPRC in COBOLStephen Hoffman
|   |     | |   | `* Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     | |   |  `* Re: Calling $CREPRC in COBOLCraig A. Berry
|   |     | |   |   `* Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     | |   |    `* Re: Calling $CREPRC in COBOLseasoned_geek
|   |     | |   |     +* Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     | |   |     |`* Re: Calling $CREPRC in COBOLseasoned_geek
|   |     | |   |     | `* Re: Calling $CREPRC in COBOLDave Froble
|   |     | |   |     |  +- Re: Calling $CREPRC in COBOLBill Gunshannon
|   |     | |   |     |  `- Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     | |   |     +- Re: Calling $CREPRC in COBOLStephen Hoffman
|   |     | |   |     `- Re: Calling $CREPRC in COBOLVAXman-
|   |     | |   +- Re: Calling $CREPRC in COBOLSingle Stage to Orbit
|   |     | |   +- Re: Calling $CREPRC in COBOLStephen Hoffman
|   |     | |   `- Re: Calling $CREPRC in COBOLDennis Boone
|   |     | `* Re: Calling $CREPRC in COBOLRichard Maher
|   |     |  `* Re: Calling $CREPRC in COBOLDave Froble
|   |     |   `- Re: Calling $CREPRC in COBOLRichard Maher
|   |     +* Re: Calling $CREPRC in COBOLDavid Jones
|   |     |+* Re: Calling $CREPRC in COBOLDave Froble
|   |     ||`- Re: Calling $CREPRC in COBOLseasoned_geek
|   |     |`* Re: Calling $CREPRC in COBOLseasoned_geek
|   |     | +- Re: Calling $CREPRC in COBOLDavid Jones
|   |     | `* Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     |  `* Re: Calling $CREPRC in COBOLseasoned_geek
|   |     |   +- Re: Calling $CREPRC in COBOLDave Froble
|   |     |   `* Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     |    +* Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     |    |+* Re: Calling $CREPRC in COBOLRichard Maher
|   |     |    ||`- Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     |    |`* Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     |    | `* Re: Calling $CREPRC in COBOLDave Froble
|   |     |    |  `- Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     |    `* Re: Calling $CREPRC in COBOLVAXman-
|   |     |     `* Re: Calling $CREPRC in COBOLRichard Maher
|   |     |      `* Re: Calling $CREPRC in COBOLArne Vajhøj
|   |     |       `- Re: Calling $CREPRC in COBOLRichard Maher
|   |     `- Re: Calling $CREPRC in COBOLseasoned_geek
|   `- Re: Calling $CREPRC in COBOLArne Vajhøj
+- Re: Calling $CREPRC in COBOLArne Vajhøj
`* Re: Calling $CREPRC in COBOLRichard Maher
 +* Re: Calling $CREPRC in COBOLabrsvc
 |`- Re: Calling $CREPRC in COBOLRichard Maher
 +* Re: Calling $CREPRC in COBOLRichard Maher
 |`* Re: Calling $CREPRC in COBOLPhil Howell
 | `- Re: Calling $CREPRC in COBOLRichard Maher
 `* Re: Calling $CREPRC in COBOLVAXman-
  +- Re: Calling $CREPRC in COBOLRichard Maher
  `* Re: Calling $CREPRC in COBOLSimon Clubley
   +* Re: Calling $CREPRC in COBOLVAXman-
   |`- Re: Calling $CREPRC in COBOLSimon Clubley
   +* Re: Calling $CREPRC in COBOLDennis Boone
   |+* Re: Calling $CREPRC in COBOLSingle Stage to Orbit
   ||`- Re: Calling $CREPRC in COBOLSimon Clubley
   |`- Re: Calling $CREPRC in COBOLSimon Clubley
   `* Re: Calling $CREPRC in COBOLBill Gunshannon
    +- Re: Calling $CREPRC in COBOLArne Vajhøj
    `* Re: Calling $CREPRC in COBOLseasoned_geek
     `* Re: Calling $CREPRC in COBOLVAXman-
      `- Re: Calling $CREPRC in COBOLJohnny Billquist

Pages:1234
Re: Calling $CREPRC in COBOL

<b816b1d93aaaa4c2b364fa5d23b1ea76cf532b81.camel@munted.eu>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23152&group=comp.os.vms#23152

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!palladium.buellnet!not-for-mail
From: alex.bu...@munted.eu (Single Stage to Orbit)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Tue, 14 Jun 2022 09:01:51 +0100
Organization: One very high maintenance cat
Message-ID: <b816b1d93aaaa4c2b364fa5d23b1ea76cf532b81.camel@munted.eu>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG>
<t80pog$hnn$1@gioia.aioe.org> <00B760DE.23380967@SendSpamHere.ORG>
<t87tg0$h5a$1@dont-email.me>
<Ps-dnZ3Lvf_5mzX_nZ2dnUU7-K2dnZ2d@giganews.com>
Reply-To: alex.buell@munted.eu
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: solani.org;
logging-data="110499"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Evolution 3.44.1
Cancel-Lock: sha1:k77ljFGM4bZ1NWnaPPg1hrr3N6c=
X-User-ID: eJwNyckBwCAIBMCWuHYh5YhK/yWY+Q6cyp1BMDAYNj2k0dmedWSbiXSlwy45VwOiZVrSZ+sftfK7whOkz7IHKqMUZw==
X-Priority: 1
In-Reply-To: <Ps-dnZ3Lvf_5mzX_nZ2dnUU7-K2dnZ2d@giganews.com>
 by: Single Stage to Orbi - Tue, 14 Jun 2022 08:01 UTC

On Mon, 2022-06-13 at 22:54 -0500, Dennis Boone wrote:
>  > Using COBOL to interface to VMS has been a serious eye-opener for
> me in
>  > reading this thread.  I guess no-one is going to be doing even a
> bare
>  > metal LED blinker in COBOL any time soon...  :-)
>
> Never underestimate the chance that some weirdo may combine some COMP
> data, the REVERSE verb, and some overlay moves.  I mean, there's
> http://www.coboloncogs.org/ so...
>
> /me ponders how to nmost obscurely get GPIO on a vax or itanic.

Raspberry Pi, using OpenCOBOL. See the 9th post on
https://forums.raspberrypi.com/viewtopic.php?t=139325 for the gory
details :-D

IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOWORLD.

DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-GPIO-INIT PIC x(40) VALUE 'echo "21" >
/sys/class/gpio/export'.
01 WS-GPIO-DIR PIC x(80) VALUE 'echo "out" >
/sys/class/gpio/gpio21/direction'.
01 WS-GPIO-ON PIC x(80) VALUE 'echo "1" >
/sys/class/gpio/gpio21/value'.
01 WS-GPIO-OFF PIC x(80) VALUE 'echo "0" >
/sys/class/gpio/gpio21/value'.
01 WS-GPIO-ClR PIC x(80) VALUE 'echo "21" >
/sys/class/gpio/unexport'.
--
Tactical Nuclear Kittens

Re: Calling $CREPRC in COBOL

<t8a0mo$s7q$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23153&group=comp.os.vms#23153

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Tue, 14 Jun 2022 12:59:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <t8a0mo$s7q$1@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org> <00B760DE.23380967@SendSpamHere.ORG> <t87tg0$h5a$1@dont-email.me> <00B762D2.2AC1B0E8@SendSpamHere.ORG>
Injection-Date: Tue, 14 Jun 2022 12:59:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b7bcfde4c5b10bc25a856e5e8b20c2b5";
logging-data="28922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19u/o7rr4ETRJtsCOzLBGwwY4RjxqPKOD8="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:8z9t4brbIXGDt27TKqQbIx49D4k=
 by: Simon Clubley - Tue, 14 Jun 2022 12:59 UTC

On 2022-06-13, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
> In article <t87tg0$h5a$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>On 2022-06-11, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
>>>
>>> COBOL is barely a read-only language for me but I was able to see that this
>>> is doable if one DOESN'T disregard system call parameters that one does NOT
>>> understand.
>>>
>>
>>Using COBOL to interface to VMS has been a serious eye-opener for me in
>>reading this thread. I guess no-one is going to be doing even a bare metal
>>LED blinker in COBOL any time soon... :-)
>
> Bare metal COBOL. Thankfully, I haven't poured the first beer yet or I'd have
> wasted a good ale, and I'd be cleaning it up from the screen and keyboard.
>

Oh, Brian. :-)

I thought you would have learnt by now not to have anything in your mouth
just in case before you read a post from me. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Calling $CREPRC in COBOL

<t8a15g$s7q$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23154&group=comp.os.vms#23154

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Tue, 14 Jun 2022 13:06:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <t8a15g$s7q$2@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org> <00B760DE.23380967@SendSpamHere.ORG> <t87tg0$h5a$1@dont-email.me> <Ps-dnZ3Lvf_5mzX_nZ2dnUU7-K2dnZ2d@giganews.com>
Injection-Date: Tue, 14 Jun 2022 13:06:56 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b7bcfde4c5b10bc25a856e5e8b20c2b5";
logging-data="28922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eo85jpUJ6GVKk+Y52JbQM/7EGDDpHiEs="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Nyl2Rpn7/U4qCBK4FiaYDlpRQB8=
 by: Simon Clubley - Tue, 14 Jun 2022 13:06 UTC

On 2022-06-13, Dennis Boone <drb@ihatespam.msu.edu> wrote:
> > Using COBOL to interface to VMS has been a serious eye-opener for me in
> > reading this thread. I guess no-one is going to be doing even a bare
> > metal LED blinker in COBOL any time soon... :-)
>
> Never underestimate the chance that some weirdo may combine some COMP
> data, the REVERSE verb, and some overlay moves. I mean, there's
> http://www.coboloncogs.org/ so...
>
> /me ponders how to nmost obscurely get GPIO on a vax or itanic.
>

Most obscure would probably be using the control signals on a _real_
serial port, not USB serial port, as GPIO pins.

Abusing a parallel port would also do it, but that's not as obscure
as using the control signals on a serial port.

There are designs for building low-cost microcontroller programmers
that work with control signals on real serial ports on PCs running
Linux. Just be aware of potential voltage compatibility issues with
current microcontrollers before trying the designs however.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Calling $CREPRC in COBOL

<t8a1jk$s7q$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23155&group=comp.os.vms#23155

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Tue, 14 Jun 2022 13:14:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <t8a1jk$s7q$3@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org> <00B760DE.23380967@SendSpamHere.ORG> <t87tg0$h5a$1@dont-email.me> <Ps-dnZ3Lvf_5mzX_nZ2dnUU7-K2dnZ2d@giganews.com> <b816b1d93aaaa4c2b364fa5d23b1ea76cf532b81.camel@munted.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Jun 2022 13:14:28 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b7bcfde4c5b10bc25a856e5e8b20c2b5";
logging-data="28922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+coZZ2MQ5mkGUVWFywJaNNJY9sTwYVyxw="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:18ATDgIqUqDlsGnQuti0ifx7708=
 by: Simon Clubley - Tue, 14 Jun 2022 13:14 UTC

On 2022-06-14, Single Stage to Orbit <alex.buell@munted.eu> wrote:
> On Mon, 2022-06-13 at 22:54 -0500, Dennis Boone wrote:
>>  > Using COBOL to interface to VMS has been a serious eye-opener for
>> me in
>>  > reading this thread.  I guess no-one is going to be doing even a
>> bare
>>  > metal LED blinker in COBOL any time soon...  :-)
>>
>> Never underestimate the chance that some weirdo may combine some COMP
>> data, the REVERSE verb, and some overlay moves.  I mean, there's
>> http://www.coboloncogs.org/ so...
>>
>> /me ponders how to nmost obscurely get GPIO on a vax or itanic.
>
> Raspberry Pi, using OpenCOBOL. See the 9th post on
> https://forums.raspberrypi.com/viewtopic.php?t=139325 for the gory
> details :-D
>

That is _NOT_ bare metal however. :-)

Bare metal is where your code is running directly on the hardware without
any operating system underneath it and where your COBOL program is directly
reading and writing from/to device registers and directly receiving device
interrupts.

You are allowed to use an assembly language dispatcher for the interrupt
handler that then calls your COBOL interrupt handler but that means your
COBOL code still needs to be able to work in interrupt context for the
device in question.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Calling $CREPRC in COBOL

<t8c6nf$bd2$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23163&group=comp.os.vms#23163

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!PqOvX6IGnPQwKdKFsHVyRA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Wed, 15 Jun 2022 16:54:05 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t8c6nf$bd2$1@gioia.aioe.org>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org>
<t81j22$1l9e$1@gioia.aioe.org>
<cd67f616-b598-4133-855b-28e16ec6b75en@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="11682"; posting-host="PqOvX6IGnPQwKdKFsHVyRA.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.10.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Richard Maher - Wed, 15 Jun 2022 08:54 UTC

On 11/06/2022 6:10 pm, Phil Howell wrote:
> On Saturday, 11 June 2022 at 6:17:11 pm UTC+10, Richard Maher wrote:
>> On 11/06/2022 9:05 am, Richard Maher wrote:
>>> On 11/06/2022 1:39 am, VAX...@SendSpamHere.ORG wrote:
>>>> 10 ENQ-TYPE PIC X(1) VALUE EXTERNAL PQL$_ENQLM.
>>>> ..............^
>>>> %COBOL-E-EXTREFVAL, VALUE EXTERNAL clause ignored - valid only on COMP
>>>> data-item
>>>>
>>>> How do you put PQL$ items in to a COBOL "byte"?
>>>>
>>>
>>> Unfortunately COBOL has never supported by integers but there are
>>> several ways to do it. (I haven't fired up my VMS machines in 5 years
>>> otherwise I'd give you an example. Back in the day when google groups
>>> could search the archives you could find one of several $creprc examples
>>> with all parameters including TCB)
>>>
>>> Cumbersome: -
>>>
>>> 01 enqlm_word pic 9(4) comp value external pql$_enqlm.
>>> 01 enqlm_byte redefines enqlm_word.
>>> 03 pql_enqlm pic x.
>>>
>>> move pql_enqlm to somewhere.
>>>
>>> Lose external symbols and hard code: -
>>>
>>> Hexadecimal literals:
>>>
>>> 10 ENQ-TYPE PIC X(1) VALUE x"00".
>>>
>>> Special Names:
>>>
>>> SPECIAL-NAMES.
>>> PQL$_ENQLM value is 44. (I don't know the value)
>>>
>>> 10 ENQ-TYPE PIC X(1) VALUE PQL$_ENQLM.
>>>
>>> The way I do it: -
>>>
>>> Define a global .PSECT in the same .MAR file that you already probably
>>> do for $pqldef GLOBAL
>>>
>>> Just lay it out as you would for macro.
>>>
>>> .psect fred long, gbl,shr,wrt,blah
>>>
>>> .byte pql$_enqlm
>>>
>>> Then declare an EXTERNAL variable as the same name as your global psect.
>>>
>>> 01 fred external.
>>> 03 pql$_enqlm pic x. (doesn't have to be same name)
>>> 03 pic x.
>>>
>>> * The last byte is NECESSARY to round up the psect size on Alpha, and
>>> * Itanium. Macro does this automatically.
>>>
>>> Again many examples in cov over the years
>> Below is an entry response. Need to find whole conversation or
>> view-as-tree: -
>>
>> https://groups.google.com/g/comp.os.vms/c/xJptlKOregU/m/y0s3fbcoqtQJ" rel="nofollow" target="_blank">https://groups.google.com/g/comp.os.vms/c/xJptlKOregU/m/y0s3fbcoqtQJ
>>
>> https://groups.google.com/g/comp.os.vms/c/xJptlKOregU/m/y0s3fbcoqtQ
>>
>> https://groups.google.com/g/comp.os.vms/c/TAmi6i8fMo0/m/1f1JnjqS8RsJ
>
> Boldly going where no COBOL has been before
>
> Nice to see dclexh used in anger again
>
> I always found that compiling with /LIST and /MAP=DECLARED
> showed you what the layout actually is, rather than what you thought it was
>

My not be strictly COBOL but the memory lingers: -

https://github.com/RichardMaher/Brotkrumen/blob/master/testmap.html

<script type="application/javascript">
'use strict';

/* identification division.
* program-id. YouCantTouchThis-BreakItDown.
* author. Richard Maher.
* version. 1.0
*/

Because of the hard-coded Google Map Key, you must copy the file to your
local system to run it.

Seems a lot of effort to get smooth marker movement but it's not up to me.

Re: Calling $CREPRC in COBOL

<jh1c5rFfn3rU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23169&group=comp.os.vms#23169

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Thu, 16 Jun 2022 14:47:23 -0400
Lines: 12
Message-ID: <jh1c5rFfn3rU1@mid.individual.net>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org>
<00B760DE.23380967@SendSpamHere.ORG> <t87tg0$h5a$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net wvE8CHGNQ9PH0U6Ur4GUzgpxa1wCwAZZ3eohC3jt8Jue+bZoSU
Cancel-Lock: sha1:78EAD3S9yf8kN/b53AtKDB+O7Kw=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: en-US
In-Reply-To: <t87tg0$h5a$1@dont-email.me>
 by: Bill Gunshannon - Thu, 16 Jun 2022 18:47 UTC

On 6/13/22 13:52, Simon Clubley wrote:
>
> I guess no-one is going to be doing even a bare metal
> LED blinker in COBOL any time soon... :-)
>

Which, of course, isn't the function of COBOL, but it's OK go
ahead and blame the language.

bill

Re: Calling $CREPRC in COBOL

<62ab95ab$0$707$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23171&group=comp.os.vms#23171

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 16 Jun 2022 16:42:18 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Subject: Re: Calling $CREPRC in COBOL
Content-Language: en-US
Newsgroups: comp.os.vms
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org>
<00B760DE.23380967@SendSpamHere.ORG> <t87tg0$h5a$1@dont-email.me>
<jh1c5rFfn3rU1@mid.individual.net>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <jh1c5rFfn3rU1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 17
Message-ID: <62ab95ab$0$707$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 348631b1.news.sunsite.dk
X-Trace: 1655412139 news.sunsite.dk 707 arne@vajhoej.dk/68.9.63.232:49575
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 16 Jun 2022 20:42 UTC

On 6/16/2022 2:47 PM, Bill Gunshannon wrote:
> On 6/13/22 13:52, Simon Clubley wrote:
>>                            I guess no-one is going to be doing even a
>> bare metal
>> LED blinker in COBOL any time soon... :-)
>
> Which, of course, isn't the function of COBOL, but it's OK go
> ahead and blame the language.

Assuming that he means COmmon Business Oriented Language and
not COmmon Baremetal Oriented Language, then I totally agree.

:-)

Arne

Re: Calling $CREPRC in COBOL

<92d24d2c-6f49-40c7-b71b-da2454dc4876n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23185&group=comp.os.vms#23185

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:600c:4fcb:b0:39c:64cd:cc89 with SMTP id o11-20020a05600c4fcb00b0039c64cdcc89mr26497486wmq.197.1655567748136;
Sat, 18 Jun 2022 08:55:48 -0700 (PDT)
X-Received: by 2002:a05:6214:20a4:b0:470:2b47:a2f6 with SMTP id
4-20020a05621420a400b004702b47a2f6mr5813780qvd.85.1655567747532; Sat, 18 Jun
2022 08:55:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 18 Jun 2022 08:55:47 -0700 (PDT)
In-Reply-To: <jh1c5rFfn3rU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=38.240.143.148; posting-account=z_53ZAoAAABPLJW38_4Jh_R33ylRkSCo
NNTP-Posting-Host: 38.240.143.148
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org>
<00B760DE.23380967@SendSpamHere.ORG> <t87tg0$h5a$1@dont-email.me> <jh1c5rFfn3rU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <92d24d2c-6f49-40c7-b71b-da2454dc4876n@googlegroups.com>
Subject: Re: Calling $CREPRC in COBOL
From: rol...@logikalsolutions.com (seasoned_geek)
Injection-Date: Sat, 18 Jun 2022 15:55:48 +0000
Content-Type: text/plain; charset="UTF-8"
 by: seasoned_geek - Sat, 18 Jun 2022 15:55 UTC

On Thursday, June 16, 2022 at 1:47:27 PM UTC-5, Bill Gunshannon wrote:
> On 6/13/22 13:52, Simon Clubley wrote:
> >
> > I guess no-one is going to be doing even a bare metal
> > LED blinker in COBOL any time soon... :-)
> >
> Which, of course, isn't the function of COBOL, but it's OK go
> ahead and blame the language.
>
The bare metal COBOL SORT would be interesting!

Better yet would be the bare metal COBOL REPORT WRITER.

Re: Calling $CREPRC in COBOL

<00B766B8.09C7ADC3@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23187&group=comp.os.vms#23187

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Sat, 18 Jun 2022 20:22:16 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B766B8.09C7ADC3@SendSpamHere.ORG>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org> <00B760DE.23380967@SendSpamHere.ORG> <t87tg0$h5a$1@dont-email.me> <jh1c5rFfn3rU1@mid.individual.net> <92d24d2c-6f49-40c7-b71b-da2454dc4876n@googlegroups.com>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="13226"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sat, 18 Jun 2022 20:22 UTC

In article <92d24d2c-6f49-40c7-b71b-da2454dc4876n@googlegroups.com>, seasoned_geek <roland@logikalsolutions.com> writes:
>On Thursday, June 16, 2022 at 1:47:27 PM UTC-5, Bill Gunshannon wrote:
>> On 6/13/22 13:52, Simon Clubley wrote:
>> >
>> > I guess no-one is going to be doing even a bare metal
>> > LED blinker in COBOL any time soon... :-)
>> >
>> Which, of course, isn't the function of COBOL, but it's OK go
>> ahead and blame the language.
>>
>The bare metal COBOL SORT would be interesting!
>
>Better yet would be the bare metal COBOL REPORT WRITER.

What sort/type of report?

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: Calling $CREPRC in COBOL

<t8lkim$tpr$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23189&group=comp.os.vms#23189

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.185.159.157.200!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Sun, 19 Jun 2022 00:45:42 +0200
Organization: MGT Consulting
Message-ID: <t8lkim$tpr$1@news.misty.com>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t80pog$hnn$1@gioia.aioe.org>
<00B760DE.23380967@SendSpamHere.ORG> <t87tg0$h5a$1@dont-email.me>
<jh1c5rFfn3rU1@mid.individual.net>
<92d24d2c-6f49-40c7-b71b-da2454dc4876n@googlegroups.com>
<00B766B8.09C7ADC3@SendSpamHere.ORG>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 18 Jun 2022 22:45:43 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="30523"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.10.0
Content-Language: en-US
In-Reply-To: <00B766B8.09C7ADC3@SendSpamHere.ORG>
 by: Johnny Billquist - Sat, 18 Jun 2022 22:45 UTC

On 2022-06-18 22:22, VAXman-@SendSpamHere.ORG wrote:
> In article <92d24d2c-6f49-40c7-b71b-da2454dc4876n@googlegroups.com>, seasoned_geek <roland@logikalsolutions.com> writes:
>> On Thursday, June 16, 2022 at 1:47:27 PM UTC-5, Bill Gunshannon wrote:
>>> On 6/13/22 13:52, Simon Clubley wrote:
>>>>
>>>> I guess no-one is going to be doing even a bare metal
>>>> LED blinker in COBOL any time soon... :-)
>>>>
>>> Which, of course, isn't the function of COBOL, but it's OK go
>>> ahead and blame the language.
>>>
>> The bare metal COBOL SORT would be interesting!
>>
>> Better yet would be the bare metal COBOL REPORT WRITER.
>
> What sort/type of report?

I don't think the COBOL language definition tells exactly what algorithm
used, but the ability to perform sorts is in the language.

I suspect it's the same with the report writer thingy.

Johnny

Re: Calling $CREPRC in COBOL

<t8olit$71c$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23196&group=comp.os.vms#23196

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Sun, 19 Jun 2022 22:20:24 -0400
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <t8olit$71c$1@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 Jun 2022 02:21:17 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="65ba870691aa808c35362736969fa5d7";
logging-data="7212"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VEcPn3DrgdVhEvFk0DfAqgIqKhb322LA="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:MPi0FtA9oHkvmp1nIFvIRniltIg=
In-Reply-To: <t809sr$m83$1@dont-email.me>
 by: Dave Froble - Mon, 20 Jun 2022 02:20 UTC

On 6/10/2022 4:34 PM, Craig A. Berry wrote:
>
> On 6/10/22 2:57 PM, Bill Gunshannon wrote:
>> On 6/10/22 15:03, Craig A. Berry wrote:
>>>
>>> On 6/10/22 1:27 PM, Bill Gunshannon wrote:
>>>> On 6/10/22 14:16, Craig A. Berry wrote:
>>>>> On 6/10/22 12:39 PM, VAXman-@SendSpamHere.ORG wrote:
>>>>>> 10 ENQ-TYPE PIC X(1) VALUE EXTERNAL PQL$_ENQLM.
>>>>>> ..............^
>>>>>> %COBOL-E-EXTREFVAL, VALUE EXTERNAL clause ignored - valid only on COMP
>>>>>> data-item
>>>>>>
>>>>>> How do you put PQL$ items in to a COBOL "byte"?
>
>> I have no idea what POL$_ENOLM means or what he is trying to do with it.
>> A rough guess would be rather than declaring it external he needs to
>> use some VMS Specific function to grab the value and load it into
>> ENO-TYPE.
>
> If SDL produces COBOL text libraries and there is a way to include them
> (some variant of COPY?) then yes, he might be able to do the equivalent
> of "#include <pqldef.h>" and not need the external declaration. But the
> external declaration is an ancient hack that at one time was more
> reliable than depending on the existence of programmer-friendly
> definitions, and also, if you were willing to link at installation time,
> could insulate against version-specific changes to the symbol value.

What I'm having a problem with is expecting the linker to find the declared
external data. PQL_ENQLM is a SYSGEN parameter. Not something the linker could
find, unless linking against the system image, and I have no idea if linking
against the system image would provide that parameter.

I could be wrong, hell I'm usually wrong these days. I do not think Brian gave
enough information.

From my occasional playing with CREPRC what I remember is that the PQL
parameters are used when a specific parameter is not provided. Thus, just don't
provide that parameter to CREPRC. I never did.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: Calling $CREPRC in COBOL

<t8op81$t8t$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23197&group=comp.os.vms#23197

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!PqOvX6IGnPQwKdKFsHVyRA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Mon, 20 Jun 2022 11:23:45 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t8op81$t8t$1@gioia.aioe.org>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="29981"; posting-host="PqOvX6IGnPQwKdKFsHVyRA.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.10.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Richard Maher - Mon, 20 Jun 2022 03:23 UTC

On 20/06/2022 10:20 am, Dave Froble wrote:
> On 6/10/2022 4:34 PM, Craig A. Berry wrote:
>>
>> On 6/10/22 2:57 PM, Bill Gunshannon wrote:
>>> On 6/10/22 15:03, Craig A. Berry wrote:
>>>>
>>>> On 6/10/22 1:27 PM, Bill Gunshannon wrote:
>>>>> On 6/10/22 14:16, Craig A. Berry wrote:
>>>>>> On 6/10/22 12:39 PM, VAXman-@SendSpamHere.ORG wrote:
>>>>>>> 10 ENQ-TYPE PIC X(1) VALUE EXTERNAL PQL$_ENQLM.
>>>>>>> ..............^ %COBOL-E-EXTREFVAL, VALUE EXTERNAL clause
>>>>>>> ignored - valid only on COMP data-item
>>>>>>>
>>>>>>> How do you put PQL$ items in to a COBOL "byte"?
>>
>>> I have no idea what POL$_ENOLM means or what he is trying to do
>>> with it. A rough guess would be rather than declaring it external
>>> he needs to use some VMS Specific function to grab the value and
>>> load it into ENO-TYPE.
>>
>> If SDL produces COBOL text libraries and there is a way to include
>> them (some variant of COPY?) then yes, he might be able to do the
>> equivalent of "#include <pqldef.h>" and not need the external
>> declaration. But the external declaration is an ancient hack that
>> at one time was more reliable than depending on the existence of
>> programmer-friendly definitions, and also, if you were willing to
>> link at installation time, could insulate against version-specific
>> changes to the symbol value.
>
> What I'm having a problem with is expecting the linker to find the
> declared external data. PQL_ENQLM is a SYSGEN parameter. Not
> something the linker could find, unless linking against the system
> image, and I have no idea if linking against the system image would
> provide that parameter.
>
> I could be wrong, hell I'm usually wrong these days. I do not think
> Brian gave enough information.
>
> From my occasional playing with CREPRC what I remember is that the
> PQL parameters are used when a specific parameter is not provided.
> Thus, just don't provide that parameter to CREPRC. I never did.
>

I think you'll find the process defaults rarely match your needs. For me
I create a server process username and $persona_assume before the
$creprc but also preload the quotas from a $getuai before hand.

The linker resolved PQL$m_ENQLM symbol does NOT contain a value for lock
limits it is merely telling creprc that the next item-list parameter
contains this value.

Re: Calling $CREPRC in COBOL

<00B76801.01280C59@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23198&group=comp.os.vms#23198

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Mon, 20 Jun 2022 11:37:06 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B76801.01280C59@SendSpamHere.ORG>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me> <jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me> <jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me> <t8olit$71c$1@dont-email.me>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="14534"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Mon, 20 Jun 2022 11:37 UTC

In article <t8olit$71c$1@dont-email.me>, Dave Froble <davef@tsoft-inc.com> writes:
>On 6/10/2022 4:34 PM, Craig A. Berry wrote:
>>
>> On 6/10/22 2:57 PM, Bill Gunshannon wrote:
>>> On 6/10/22 15:03, Craig A. Berry wrote:
>>>>
>>>> On 6/10/22 1:27 PM, Bill Gunshannon wrote:
>>>>> On 6/10/22 14:16, Craig A. Berry wrote:
>>>>>> On 6/10/22 12:39 PM, VAXman-@SendSpamHere.ORG wrote:
>>>>>>> 10 ENQ-TYPE PIC X(1) VALUE EXTERNAL PQL$_ENQLM.
>>>>>>> ..............^
>>>>>>> %COBOL-E-EXTREFVAL, VALUE EXTERNAL clause ignored - valid only on COMP
>>>>>>> data-item
>>>>>>>
>>>>>>> How do you put PQL$ items in to a COBOL "byte"?
>>
>>> I have no idea what POL$_ENOLM means or what he is trying to do with it.
>>> A rough guess would be rather than declaring it external he needs to
>>> use some VMS Specific function to grab the value and load it into
>>> ENO-TYPE.
>>
>> If SDL produces COBOL text libraries and there is a way to include them
>> (some variant of COPY?) then yes, he might be able to do the equivalent
>> of "#include <pqldef.h>" and not need the external declaration. But the
>> external declaration is an ancient hack that at one time was more
>> reliable than depending on the existence of programmer-friendly
>> definitions, and also, if you were willing to link at installation time,
>> could insulate against version-specific changes to the symbol value.
>
>What I'm having a problem with is expecting the linker to find the declared
>external data. PQL_ENQLM is a SYSGEN parameter. Not something the linker could
>find, unless linking against the system image, and I have no idea if linking
>against the system image would provide that parameter.
>
>I could be wrong, hell I'm usually wrong these days. I do not think Brian gave
>enough information.

Brian gave ample information for anyone who has used this abhorrent "launguage"
called COBOL..

PQL$_ENQLM is provided by a simple Macro:

.TITLE PQLDEF
$PQLDEF GLOBAL
.END

This is assembled/complied to create global symbols available at link time. Any
VMS programmer (sh/w)ould be aware of this.

> From my occasional playing with CREPRC what I remember is that the PQL
>parameters are used when a specific parameter is not provided. Thus, just don't
>provide that parameter to CREPRC. I never did.

$PQLDEF definitions are used to create a quota list for the $CREPRC system service
that define process quotes for the created process. Typically, the SYSGEN minimum
and or default quota parameters will suffice for the created process quota for the
crux of most processing.

In this case, the client was calling a module I wrote for them that *dynamically*
loads an environment to produce Ex(h)el spreadsheets. Their own programs are fat!
In fact, their programs are grossly obese. Their new code made "My 600 lbs Life"
look like a documentary on anorexia. When this program was launched, there was an
insufficient page file quota and thus, the program hacked up SS$_INSFMEM hairball
errors when trying to load the dynamically loaded spreadsheet code.

This is what happens when ?programmers? write code like:

PERFORM 1000A-CODE THRU
1000Z-CODE-EXIT.
PERFORM 2000A-CODE THRU
2000Z-CODE-EXIT.

PERFORM 3000A-CODE THRU
3000Z-CODE-EXIT.

:
:
1000A-CODE.
<a line of COBOL>.
1000Z-CODE-EXIT.

2000A-CODE.
<a line of COBOL>.
2000Z-CODE-EXIT.

3000A-CODE.
<a line of COBOL>.
3000Z-CODE-EXIT.

ad infinitum, compiling and linking everything /DEBUG/NOOPTIMIZE and /DEBUG,
and running the programs RUN/NODEBUG. $CREPRC launched programs are jacketed
in a .COM procedure that does '$ RUN/NODEBG <grossly-obese--program>'.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: Calling $CREPRC in COBOL

<t8q08l$1fb$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23202&group=comp.os.vms#23202

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Mon, 20 Jun 2022 10:28:48 -0400
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <t8q08l$1fb$1@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 Jun 2022 14:29:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="65ba870691aa808c35362736969fa5d7";
logging-data="1515"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/E3h0JCXbAL5oJHIq8M1vHztFvW6+YgC8="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:gc8qCSdVRPvYF1Iy/XHitEm3M/s=
In-Reply-To: <00B76801.01280C59@SendSpamHere.ORG>
 by: Dave Froble - Mon, 20 Jun 2022 14:28 UTC

On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
> In article <t8olit$71c$1@dont-email.me>, Dave Froble <davef@tsoft-inc.com> writes:

> PQL$_ENQLM is provided by a simple Macro:
>
> .TITLE PQLDEF
> $PQLDEF GLOBAL
> .END
>
> This is assembled/complied to create global symbols available at link time. Any
> VMS programmer (sh/w)ould be aware of this.

Guess I am now. Never did this particular thing.

>> From my occasional playing with CREPRC what I remember is that the PQL
>> parameters are used when a specific parameter is not provided. Thus, just don't
>> provide that parameter to CREPRC. I never did.
>
> $PQLDEF definitions are used to create a quota list for the $CREPRC system service
> that define process quotes for the created process. Typically, the SYSGEN minimum
> and or default quota parameters will suffice for the created process quota for the
> crux of most processing.

Most/all of my usage of CREPRC has been for creating detached processes. Now
that you made me think (I hate when that happens) I seem to recall that for
detached processes the PQL parameters are used for defaults when a particular
parameter is not in the item list. I also seem to recall that that may not
happen for other than detached processes. Didn't do much of that.

Regardless, if using a PQL parameter, unless they have been customized, (which I
did on systems running our software), the value may not be of much use, if it is
too low, and I also seem to recall that the supplied values were usually too
low. Thus my initial puzzlement as to why you wanted to use any PQL parameters.

My solution was to have some application data, one set for each detached
processes application, which specified needed parameters and such. Thru time,
more and more of our applications used detached processes, and the design turned
out to be quite helpful. Not so many people working with "terminals" these
days, and more services serving trading partner inquiries, orders, and such.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: Calling $CREPRC in COBOL

<t8r490$1b27$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23216&group=comp.os.vms#23216

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!PqOvX6IGnPQwKdKFsHVyRA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Tue, 21 Jun 2022 08:44:14 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t8r490$1b27$1@gioia.aioe.org>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="44103"; posting-host="PqOvX6IGnPQwKdKFsHVyRA.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.10.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Richard Maher - Tue, 21 Jun 2022 00:44 UTC

On 20/06/2022 10:28 pm, Dave Froble wrote:
> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>> In article <t8olit$71c$1@dont-email.me>, Dave Froble
>> <davef@tsoft-inc.com> writes:
>
>> PQL$_ENQLM is provided by a simple Macro:
>>
>> .TITLE PQLDEF $PQLDEF GLOBAL .END
>>
>> This is assembled/complied to create global symbols available at
>> link time. Any VMS programmer (sh/w)ould be aware of this.
>
> Guess I am now. Never did this particular thing.
>
>>> From my occasional playing with CREPRC what I remember is that
>>> the PQL parameters are used when a specific parameter is not
>>> provided. Thus, just don't provide that parameter to CREPRC. I
>>> never did.
>>
>> $PQLDEF definitions are used to create a quota list for the $CREPRC
>> system service that define process quotes for the created process.
>> Typically, the SYSGEN minimum and or default quota parameters will
>> suffice for the created process quota for the crux of most
>> processing.
>
> Most/all of my usage of CREPRC has been for creating detached
> processes. Now that you made me think (I hate when that happens) I
> seem to recall that for detached processes the PQL parameters are
> used for defaults when a particular parameter is not in the item
> list. I also seem to recall that that may not happen for other than
> detached processes. Didn't do much of that.
>
> Regardless, if using a PQL parameter, unless they have been
> customized, (which I did on systems running our software), the value
> may not be of much use, if it is too low, and I also seem to recall
> that the supplied values were usually too low. Thus my initial
> puzzlement as to why you wanted to use any PQL parameters.
>
> My solution was to have some application data, one set for each
> detached processes application, which specified needed parameters and
> such. Thru time, more and more of our applications used detached
> processes, and the design turned out to be quite helpful. Not so
> many people working with "terminals" these days, and more services
> serving trading partner inquiries, orders, and such.
>

So Dave's solution is "Application Data". Sounds good; what's stored there?

1) We already know you have quotas
2) How about privileges and maybe a UIC?
3) Default working directory and base priority perhaps?
4) Maybe an account for charge back accounting

What did you call it? DAVES_AF.DAT :-(

Re: Calling $CREPRC in COBOL

<t8r4cd$1b27$2@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23217&group=comp.os.vms#23217

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!PqOvX6IGnPQwKdKFsHVyRA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Tue, 21 Jun 2022 08:46:05 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t8r4cd$1b27$2@gioia.aioe.org>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <t8op81$t8t$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="44103"; posting-host="PqOvX6IGnPQwKdKFsHVyRA.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.10.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Richard Maher - Tue, 21 Jun 2022 00:46 UTC

On 20/06/2022 11:23 am, Richard Maher wrote:
> On 20/06/2022 10:20 am, Dave Froble wrote:
>> On 6/10/2022 4:34 PM, Craig A. Berry wrote:
>>>
>>> On 6/10/22 2:57 PM, Bill Gunshannon wrote:
>>>> On 6/10/22 15:03, Craig A. Berry wrote:
>>>>>
>>>>> On 6/10/22 1:27 PM, Bill Gunshannon wrote:
>>>>>> On 6/10/22 14:16, Craig A. Berry wrote:
>>>>>>> On 6/10/22 12:39 PM, VAXman-@SendSpamHere.ORG wrote:
>>>>>>>> 10  ENQ-TYPE      PIC X(1)  VALUE EXTERNAL PQL$_ENQLM.
>>>>>>>> ..............^ %COBOL-E-EXTREFVAL, VALUE EXTERNAL clause
>>>>>>>> ignored - valid only on COMP data-item
>>>>>>>>
>>>>>>>> How do you put PQL$ items in to a COBOL "byte"?
>>>
>>>> I have no idea what POL$_ENOLM means or what he is trying to do
>>>> with it. A rough guess would be rather than declaring it external
>>>> he needs to use some VMS Specific function to grab the value and
>>>> load it into ENO-TYPE.
>>>
>>> If SDL produces COBOL text libraries and there is a way to include
>>> them (some variant of COPY?) then yes, he might be able to do the
>>> equivalent of "#include <pqldef.h>" and not need the external
>>> declaration.  But the external declaration is an ancient hack that
>>> at one time was more reliable than depending on the existence of
>>> programmer-friendly definitions, and also, if you were willing to
>>> link at installation time, could insulate against version-specific
>>> changes to the symbol value.
>>
>> What I'm having a problem with is expecting the linker to find the
>> declared external data.  PQL_ENQLM is a SYSGEN parameter.  Not
>> something the linker could find, unless linking against the system
>> image, and I have no idea if linking against the system image would
>> provide that parameter.
>>
>> I could be wrong, hell I'm usually wrong these days.  I do not think
>>  Brian gave enough information.
>>
>> From my occasional playing with CREPRC what I remember is that the
>> PQL parameters are used when a specific parameter is not provided.
>> Thus, just don't provide that parameter to CREPRC.  I never did.
>>
>
> I think you'll find the process defaults rarely match your needs. For me
> I create a server process username and $persona_assume before the
> $creprc but also preload the quotas from a $getuai before hand.
>
> The linker resolved PQL$m_ENQLM symbol does NOT contain a value for lock
> limits it is merely telling creprc that the next item-list parameter
> contains this value.

More pearls go unnoticed

BTW If someone is better at the GOOGLE Groups interface than me you can
get the entire solution

Re: Calling $CREPRC in COBOL

<t8rg7g$cvp$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23220&group=comp.os.vms#23220

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Tue, 21 Jun 2022 00:07:16 -0400
Organization: A noiseless patient Spider
Lines: 129
Message-ID: <t8rg7g$cvp$1@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Jun 2022 04:08:17 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="053a06b344f833b3757eef6eaf442c43";
logging-data="13305"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1958Hm+pMBFwvcXLivkDJnUQb4in3Vqtek="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:MO1cnFROEesDRNVQDr0F0QWGpnA=
In-Reply-To: <t8r490$1b27$1@gioia.aioe.org>
 by: Dave Froble - Tue, 21 Jun 2022 04:07 UTC

On 6/20/2022 8:44 PM, Richard Maher wrote:
> On 20/06/2022 10:28 pm, Dave Froble wrote:
>> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>>> In article <t8olit$71c$1@dont-email.me>, Dave Froble <davef@tsoft-inc.com>
>>> writes:
>>
>>> PQL$_ENQLM is provided by a simple Macro:
>>>
>>> .TITLE PQLDEF $PQLDEF GLOBAL .END
>>>
>>> This is assembled/complied to create global symbols available at
>>> link time. Any VMS programmer (sh/w)ould be aware of this.
>>
>> Guess I am now. Never did this particular thing.
>>
>>>> From my occasional playing with CREPRC what I remember is that
>>>> the PQL parameters are used when a specific parameter is not
>>>> provided. Thus, just don't provide that parameter to CREPRC. I
>>>> never did.
>>>
>>> $PQLDEF definitions are used to create a quota list for the $CREPRC
>>> system service that define process quotes for the created process.
>>> Typically, the SYSGEN minimum and or default quota parameters will
>>> suffice for the created process quota for the crux of most
>>> processing.
>>
>> Most/all of my usage of CREPRC has been for creating detached processes. Now
>> that you made me think (I hate when that happens) I
>> seem to recall that for detached processes the PQL parameters are
>> used for defaults when a particular parameter is not in the item
>> list. I also seem to recall that that may not happen for other than
>> detached processes. Didn't do much of that.
>>
>> Regardless, if using a PQL parameter, unless they have been
>> customized, (which I did on systems running our software), the value
>> may not be of much use, if it is too low, and I also seem to recall
>> that the supplied values were usually too low. Thus my initial
>> puzzlement as to why you wanted to use any PQL parameters.
>>
>> My solution was to have some application data, one set for each
>> detached processes application, which specified needed parameters and
>> such. Thru time, more and more of our applications used detached
>> processes, and the design turned out to be quite helpful. Not so
>> many people working with "terminals" these days, and more services
>> serving trading partner inquiries, orders, and such.
>>
>
> So Dave's solution is "Application Data". Sounds good; what's stored there?
>
> 1) We already know you have quotas
> 2) How about privileges and maybe a UIC?
> 3) Default working directory and base priority perhaps?
> 4) Maybe an account for charge back accounting
>
> What did you call it? DAVES_AF.DAT :-(

Oh, you want the long version, huh?

Way, way, back, it was determined that due to the lack of adequate channels in
Basic+, 12 to be precise, it would be advisable to have a single file that could
be used for different types of data. Things with just a few records, such as
maybe 20 terms codes, 50 state codes, and others. We even called it a "codes
file". The design was for having the capability of re-defining the data fields
in the I/O buffer for each "code type". Even implemented a data file editor to
use the multiple record definitions.

Over time, many different record definitions were added to the utility. Ended
up with hundreds. Was really useful.

When we started setting up detached processes, later on on VMS, the CODES file
seemed the logical place to set up the data, assuming that the number of
detached processes we'd be running was in that 1-100 range, for which the CODES
file worked so well. That particular record definition contained all the things
we wanted a detached process to know.

The concept worked well, to the point all applications used it. Every program
got it's filenames from the codes file using keys/tokens/whatever you want to
call them for one example. The entire TOLAS and other ERP type applications
were built around the concept.

From an old customer site, no longer in use:

---Code type---------Code description------

CODES Codes Descriptors
BANK_CODE Bank code records
CHARGES Charge code records
COLLECTOR Credit analyst codes
COLLECT_LETTER Collection letter codes
COLLECT_TXNS Collection transaction codes
COMPANY_NAME Company name records
CTL_DATES Date range control records
CTY_TAX Taxing location rate records
CUST_TYPE Customer type codes
DAS14 DAS14 data file list(s)
DETACH Detached process parameter records
FILENAMES Data file names and locations
FREIGHT_CODES Freight code maintenance.
GL_ACCOUNTS General ledger account records
MESSAGES Message records
NUMBERS Miscellaneous numeric data records
ORDER_TYPES Order type code records
PASSWORDS Password code records
PAYMENT_AUTH Payment authorization code records
PL-DESC Product line description records
PO-TYPE Purchase Order Type Codes
POOL_CAR Pool car records
PSO_CHANGE PSO change codes
REGION Region codes
SALESMAN Salesman code records
SALES_GROUP Sales group codes
SA_PROGRAMS Sales Analysis program records
SEQUENCES Sequence number records
SHIP_VIA Ship via code records
STATES State code records
STRINGS Miscellaneous string data records
TERMS_CODES Terms code records
TRANSACTION Inventory transaction code records
WAREHOUSE Warehouse code records
WHSE_CTL Warehouse control records

Many more in current systems ...

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: Calling $CREPRC in COBOL

<t8v8bj$19ie$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23229&group=comp.os.vms#23229

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!PqOvX6IGnPQwKdKFsHVyRA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Wed, 22 Jun 2022 22:18:27 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t8v8bj$19ie$1@gioia.aioe.org>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org>
<t8rg7g$cvp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="42574"; posting-host="PqOvX6IGnPQwKdKFsHVyRA.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.10.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Richard Maher - Wed, 22 Jun 2022 14:18 UTC

On 21/06/2022 12:07 pm, Dave Froble wrote:
> On 6/20/2022 8:44 PM, Richard Maher wrote:
>> On 20/06/2022 10:28 pm, Dave Froble wrote:
>>> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>>>> In article <t8olit$71c$1@dont-email.me>, Dave Froble
>>>> <davef@tsoft-inc.com>
>>>> writes:
>>>
>>>> PQL$_ENQLM is provided by a simple Macro:
>>>>
>>>> .TITLE PQLDEF $PQLDEF    GLOBAL .END
>>>>
>>>> This is assembled/complied to create global symbols available at
>>>> link time.  Any VMS programmer (sh/w)ould be aware of this.
>>>
>>> Guess I am now.  Never did this particular thing.
>>>
>>>>> From my occasional playing with CREPRC what I remember is that
>>>>> the PQL parameters are used when a specific parameter is not
>>>>> provided.  Thus, just don't provide that parameter to CREPRC.  I
>>>>> never did.
>>>>
>>>> $PQLDEF definitions are used to create a quota list for the $CREPRC
>>>>  system service that define process quotes for the created process.
>>>> Typically, the SYSGEN minimum and or default quota parameters will
>>>> suffice for the created process quota for the crux of most
>>>> processing.
>>>
>>> Most/all of my usage of CREPRC has been for creating detached
>>> processes.  Now
>>> that you made me think (I hate when that happens) I
>>> seem to recall that for detached processes the PQL parameters are
>>> used for defaults when a particular parameter is not in the item
>>> list.  I also seem to recall that that may not happen for other than
>>> detached processes.  Didn't do much of that.
>>>
>>> Regardless, if using a PQL parameter, unless they have been
>>> customized, (which I did on systems running our software), the value
>>> may not be of much use, if it is too low, and I also seem to recall
>>> that the supplied values were usually too low.  Thus my initial
>>> puzzlement as to why you wanted to use any PQL parameters.
>>>
>>> My solution was to have some application data, one set for each
>>> detached processes application, which specified needed parameters and
>>> such.  Thru time, more and more of our applications used detached
>>> processes, and the design turned out to be quite helpful.  Not so
>>> many people working with "terminals" these days, and more services
>>> serving trading partner inquiries, orders, and such.
>>>
>>
>> So Dave's solution is "Application Data". Sounds good; what's stored
>> there?
>>
>> 1) We already know you have quotas
>> 2) How about privileges and maybe a UIC?
>> 3) Default working directory and base priority perhaps?
>> 4) Maybe an account for charge back accounting
>>
>> What did you call it? DAVES_AF.DAT :-(
>
> Oh, you want the long version, huh?
>
> Way, way, back, it was determined that due to the lack of adequate
> channels in Basic+, 12 to be precise, it would be advisable to have a
> single file that could be used for different types of data.  Things with
> just a few records, such as maybe 20 terms codes, 50 state codes, and
> others.  We even called it a "codes file".  The design was for having
> the capability of re-defining the data fields in the I/O buffer for each
> "code type".  Even implemented a data file editor to use the multiple
> record definitions.
>
> Over time, many different record definitions were added to the utility.
> Ended up with hundreds.  Was really useful.
>
> When we started setting up detached processes, later on on VMS, the
> CODES file seemed the logical place to set up the data, assuming that
> the number of detached processes we'd be running was in that 1-100
> range, for which the CODES file worked so well.  That particular record
> definition contained all the things we wanted a detached process to know.
>
> The concept worked well, to the point all applications used it.  Every
> program got it's filenames from the codes file using
> keys/tokens/whatever you want to call them for one example.  The entire
> TOLAS and other ERP type applications were built around the concept.
>
> From an old customer site, no longer in use:
>
> ---Code type---------Code description------
>
>    CODES             Codes Descriptors
>    BANK_CODE         Bank code records
>    CHARGES           Charge code records
>    COLLECTOR         Credit analyst codes
>    COLLECT_LETTER    Collection letter codes
>    COLLECT_TXNS      Collection transaction codes
>    COMPANY_NAME      Company name records
>    CTL_DATES         Date range control records
>    CTY_TAX           Taxing location rate records
>    CUST_TYPE         Customer type codes
>    DAS14             DAS14 data file list(s)
>    DETACH            Detached process parameter records
>    FILENAMES         Data file names and locations
>    FREIGHT_CODES     Freight code maintenance.
>    GL_ACCOUNTS       General ledger account records
>    MESSAGES          Message records
>    NUMBERS           Miscellaneous numeric data records
>    ORDER_TYPES       Order type code records
>    PASSWORDS         Password code records
>    PAYMENT_AUTH      Payment authorization code records
>    PL-DESC           Product line description records
>    PO-TYPE           Purchase Order Type Codes
>    POOL_CAR          Pool car records
>    PSO_CHANGE        PSO change codes
>    REGION            Region codes
>    SALESMAN          Salesman code records
>    SALES_GROUP       Sales group codes
>    SA_PROGRAMS       Sales Analysis program records
>    SEQUENCES         Sequence number records
>    SHIP_VIA          Ship via code records
>    STATES            State code records
>    STRINGS           Miscellaneous string data records
>    TERMS_CODES       Terms code records
>    TRANSACTION       Inventory transaction code records
>    WAREHOUSE         Warehouse code records
>    WHSE_CTL          Warehouse control records
>
> Many more in current systems ...
>

There ain't no fixin' stupid :-(

https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/service-accounts

Re: Calling $CREPRC in COBOL

<t8vbjf$c47$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23231&group=comp.os.vms#23231

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Wed, 22 Jun 2022 11:12:48 -0400
Organization: A noiseless patient Spider
Lines: 141
Message-ID: <t8vbjf$c47$1@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org>
<t8rg7g$cvp$1@dont-email.me> <t8v8bj$19ie$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 22 Jun 2022 15:13:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="aff3f49279b16b19086871b4f5d3abbe";
logging-data="12423"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19r69xlw4Tktff8qU7Ht7+3Q1qTCW1ZCvE="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:IbCk/vyKqINTaAeVAIIJT4Y0Joo=
In-Reply-To: <t8v8bj$19ie$1@gioia.aioe.org>
 by: Dave Froble - Wed, 22 Jun 2022 15:12 UTC

On 6/22/2022 10:18 AM, Richard Maher wrote:
> On 21/06/2022 12:07 pm, Dave Froble wrote:
>> On 6/20/2022 8:44 PM, Richard Maher wrote:
>>> On 20/06/2022 10:28 pm, Dave Froble wrote:
>>>> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>>>>> In article <t8olit$71c$1@dont-email.me>, Dave Froble <davef@tsoft-inc.com>
>>>>> writes:
>>>>
>>>>> PQL$_ENQLM is provided by a simple Macro:
>>>>>
>>>>> .TITLE PQLDEF $PQLDEF GLOBAL .END
>>>>>
>>>>> This is assembled/complied to create global symbols available at
>>>>> link time. Any VMS programmer (sh/w)ould be aware of this.
>>>>
>>>> Guess I am now. Never did this particular thing.
>>>>
>>>>>> From my occasional playing with CREPRC what I remember is that
>>>>>> the PQL parameters are used when a specific parameter is not
>>>>>> provided. Thus, just don't provide that parameter to CREPRC. I
>>>>>> never did.
>>>>>
>>>>> $PQLDEF definitions are used to create a quota list for the $CREPRC
>>>>> system service that define process quotes for the created process.
>>>>> Typically, the SYSGEN minimum and or default quota parameters will
>>>>> suffice for the created process quota for the crux of most
>>>>> processing.
>>>>
>>>> Most/all of my usage of CREPRC has been for creating detached processes. Now
>>>> that you made me think (I hate when that happens) I
>>>> seem to recall that for detached processes the PQL parameters are
>>>> used for defaults when a particular parameter is not in the item
>>>> list. I also seem to recall that that may not happen for other than
>>>> detached processes. Didn't do much of that.
>>>>
>>>> Regardless, if using a PQL parameter, unless they have been
>>>> customized, (which I did on systems running our software), the value
>>>> may not be of much use, if it is too low, and I also seem to recall
>>>> that the supplied values were usually too low. Thus my initial
>>>> puzzlement as to why you wanted to use any PQL parameters.
>>>>
>>>> My solution was to have some application data, one set for each
>>>> detached processes application, which specified needed parameters and
>>>> such. Thru time, more and more of our applications used detached
>>>> processes, and the design turned out to be quite helpful. Not so
>>>> many people working with "terminals" these days, and more services
>>>> serving trading partner inquiries, orders, and such.
>>>>
>>>
>>> So Dave's solution is "Application Data". Sounds good; what's stored there?
>>>
>>> 1) We already know you have quotas
>>> 2) How about privileges and maybe a UIC?
>>> 3) Default working directory and base priority perhaps?
>>> 4) Maybe an account for charge back accounting
>>>
>>> What did you call it? DAVES_AF.DAT :-(
>>
>> Oh, you want the long version, huh?
>>
>> Way, way, back, it was determined that due to the lack of adequate channels in
>> Basic+, 12 to be precise, it would be advisable to have a single file that
>> could be used for different types of data. Things with just a few records,
>> such as maybe 20 terms codes, 50 state codes, and others. We even called it a
>> "codes file". The design was for having the capability of re-defining the
>> data fields in the I/O buffer for each "code type". Even implemented a data
>> file editor to use the multiple record definitions.
>>
>> Over time, many different record definitions were added to the utility. Ended
>> up with hundreds. Was really useful.
>>
>> When we started setting up detached processes, later on on VMS, the CODES file
>> seemed the logical place to set up the data, assuming that the number of
>> detached processes we'd be running was in that 1-100 range, for which the
>> CODES file worked so well. That particular record definition contained all
>> the things we wanted a detached process to know.
>>
>> The concept worked well, to the point all applications used it. Every program
>> got it's filenames from the codes file using keys/tokens/whatever you want to
>> call them for one example. The entire TOLAS and other ERP type applications
>> were built around the concept.
>>
>> From an old customer site, no longer in use:
>>
>> ---Code type---------Code description------
>>
>> CODES Codes Descriptors
>> BANK_CODE Bank code records
>> CHARGES Charge code records
>> COLLECTOR Credit analyst codes
>> COLLECT_LETTER Collection letter codes
>> COLLECT_TXNS Collection transaction codes
>> COMPANY_NAME Company name records
>> CTL_DATES Date range control records
>> CTY_TAX Taxing location rate records
>> CUST_TYPE Customer type codes
>> DAS14 DAS14 data file list(s)
>> DETACH Detached process parameter records
>> FILENAMES Data file names and locations
>> FREIGHT_CODES Freight code maintenance.
>> GL_ACCOUNTS General ledger account records
>> MESSAGES Message records
>> NUMBERS Miscellaneous numeric data records
>> ORDER_TYPES Order type code records
>> PASSWORDS Password code records
>> PAYMENT_AUTH Payment authorization code records
>> PL-DESC Product line description records
>> PO-TYPE Purchase Order Type Codes
>> POOL_CAR Pool car records
>> PSO_CHANGE PSO change codes
>> REGION Region codes
>> SALESMAN Salesman code records
>> SALES_GROUP Sales group codes
>> SA_PROGRAMS Sales Analysis program records
>> SEQUENCES Sequence number records
>> SHIP_VIA Ship via code records
>> STATES State code records
>> STRINGS Miscellaneous string data records
>> TERMS_CODES Terms code records
>> TRANSACTION Inventory transaction code records
>> WAREHOUSE Warehouse code records
>> WHSE_CTL Warehouse control records
>>
>> Many more in current systems ...
>>
>
>
> There ain't no fixin' stupid :-(
>
> https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/service-accounts
>
>

Not sure what we're discussing now Richard ???

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: Calling $CREPRC in COBOL

<t8ve8m$17h$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23233&group=comp.os.vms#23233

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Wed, 22 Jun 2022 11:59:18 -0400
Organization: HoffmanLabs LLC
Lines: 158
Message-ID: <t8ve8m$17h$1@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me> <jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me> <jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me> <t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG> <t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org> <t8rg7g$cvp$1@dont-email.me> <t8v8bj$19ie$1@gioia.aioe.org> <t8vbjf$c47$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="f64a3c134050baae665ffa1dcf3886fd";
logging-data="1265"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18B7TQ9g1jTTTuJ6TAeI3RfxPTU6JY/abA="
User-Agent: Unison/2.2
Cancel-Lock: sha1:EWwEXhQlqriXU27QpuYQZIXZwTM=
 by: Stephen Hoffman - Wed, 22 Jun 2022 15:59 UTC

On 2022-06-22 15:12:48 +0000, Dave Froble said:

> On 6/22/2022 10:18 AM, Richard Maher wrote:
>> On 21/06/2022 12:07 pm, Dave Froble wrote:
>>> On 6/20/2022 8:44 PM, Richard Maher wrote:
>>>> On 20/06/2022 10:28 pm, Dave Froble wrote:
>>>>> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>>>>>> In article <t8olit$71c$1@dont-email.me>, Dave Froble
>>>>>> <davef@tsoft-inc.com> writes:
>>>>>
>>>>>> PQL$_ENQLM is provided by a simple Macro:
>>>>>>
>>>>>> .TITLE PQLDEF $PQLDEF GLOBAL .END
>>>>>>
>>>>>> This is assembled/complied to create global symbols available at link
>>>>>> time. Any VMS programmer (sh/w)ould be aware of this.
>>>>>
>>>>> Guess I am now. Never did this particular thing.
>>>>>
>>>>>>> From my occasional playing with CREPRC what I remember is that the PQL
>>>>>>> parameters are used when a specific parameter is not provided. Thus,
>>>>>>> just don't provide that parameter to CREPRC. I never did.
>>>>>>
>>>>>> $PQLDEF definitions are used to create a quota list for the $CREPRC
>>>>>> system service that define process quotes for the created process.
>>>>>> Typically, the SYSGEN minimum and or default quota parameters will
>>>>>> suffice for the created process quota for the crux of most processing.
>>>>>
>>>>> Most/all of my usage of CREPRC has been for creating detached
>>>>> processes. Now that you made me think (I hate when that happens) I
>>>>> seem to recall that for detached processes the PQL parameters are used
>>>>> for defaults when a particular parameter is not in the item list. I
>>>>> also seem to recall that that may not happen for other than detached
>>>>> processes. Didn't do much of that.
>>>>>
>>>>> Regardless, if using a PQL parameter, unless they have been customized,
>>>>> (which I did on systems running our software), the value may not be of
>>>>> much use, if it is too low, and I also seem to recall that the supplied
>>>>> values were usually too low. Thus my initial puzzlement as to why you
>>>>> wanted to use any PQL parameters.
>>>>>
>>>>> My solution was to have some application data, one set for each
>>>>> detached processes application, which specified needed parameters and
>>>>> such. Thru time, more and more of our applications used detached
>>>>> processes, and the design turned out to be quite helpful. Not so many
>>>>> people working with "terminals" these days, and more services serving
>>>>> trading partner inquiries, orders, and such.
>>>>>
>>>>
>>>> So Dave's solution is "Application Data". Sounds good; what's stored there?
>>>>
>>>> 1) We already know you have quotas
>>>> 2) How about privileges and maybe a UIC?
>>>> 3) Default working directory and base priority perhaps?
>>>> 4) Maybe an account for charge back accounting
>>>>
>>>> What did you call it? DAVES_AF.DAT :-(
>>>
>>> Oh, you want the long version, huh?
>>>
>>> Way, way, back, it was determined that due to the lack of adequate
>>> channels in Basic+, 12 to be precise, it would be advisable to have a
>>> single file that could be used for different types of data. Things
>>> with just a few records, such as maybe 20 terms codes, 50 state codes,
>>> and others. We even called it a "codes file". The design was for
>>> having the capability of re-defining the data fields in the I/O buffer
>>> for each "code type". Even implemented a data file editor to use the
>>> multiple record definitions.
>>>
>>> Over time, many different record definitions were added to the utility.
>>> Ended up with hundreds. Was really useful.
>>>
>>> When we started setting up detached processes, later on on VMS, the
>>> CODES file seemed the logical place to set up the data, assuming that
>>> the number of detached processes we'd be running was in that 1-100
>>> range, for which the CODES file worked so well. That particular record
>>> definition contained all the things we wanted a detached process to
>>> know.
>>>
>>> The concept worked well, to the point all applications used it. Every
>>> program got it's filenames from the codes file using
>>> keys/tokens/whatever you want to call them for one example. The entire
>>> TOLAS and other ERP type applications were built around the concept.
>>>
>>> From an old customer site, no longer in use:
>>>
>>> ---Code type---------Code description------
>>>
>>> CODES Codes Descriptors
>>> BANK_CODE Bank code records
>>> CHARGES Charge code records
>>> COLLECTOR Credit analyst codes
>>> ...
>>> WAREHOUSE Warehouse code records
>>> WHSE_CTL Warehouse control records
>>>
>>> Many more in current systems ...
>>>
>>
>>
>> There ain't no fixin' stupid :-(
>>
>> https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/service-accounts
>>
>>
>>
>
> Not sure what we're discussing now Richard ???

Richard is discussing Microsoft Windows features.

Else-platform, your approach is akin to a home-grown version of the
preferences files that are now commonly in use on other platforms,
though those typically have different formats and structures and
settings can be nested. OpenVMS unfortunately has big gaps in its
available APIs here.

Here's the Apple equivalent:
https://developer.apple.com/documentation/foundation/nsuserdefaults

In a newer app design, LDAP would probably be used to store the
settings, as that can allow these settings on the computer, the user,
groups, or environment-wide. Outside of the lack of local commands and
lexicals, LDAP is logical names, thirty years on. And the existing
features could probably be re-hosted over onto LDAP without
significantly altering the existing OpenVMS APIs, if at all. For
strictly-local settings-related text-format stuff where I don't have an
API for preferences and defaults, I might look at using JSON or YAML as
the format, not that BASIC or most OpenVMS apps have a good path into
any of that.

Within OpenVMS, these access settings can be enforced using
identifiers, where the access control is associated with an OpenVMS
object. LDAP and local services would need access to RIGHTSLIST or an
analog to map from the text name to the binary value that then gets
attached all over the place within OpenVMS, were LDAP involved here.

LDAP itself running locally could replace the entirety of the OpenVMS
authentication system, not that I would expect to see that happen in
this decade.

I'd expect LDAP is underneath what Richard mentions, though have no
interest in wading further into the Microsoft documentation.

As for your process creation... The PQL stuff is one of those areas
where the argument is optional, where the defaults are fickle, and
where the PQL list really shouldn't be optional. The mailbox settings
are another area where the defaults are way, way, way too hazardous for
use by production apps. The IOSB argument is another area, and that
argument should never be considered optional. And as an added wrinkle
here in some application environments and particularly given the PQL
list contents aren't naturally aligned, which means there's yet another
surprise awaiting the unwary.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Calling $CREPRC in COBOL

<t90c6n$a65$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23237&group=comp.os.vms#23237

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!PqOvX6IGnPQwKdKFsHVyRA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Thu, 23 Jun 2022 08:30:14 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t90c6n$a65$1@gioia.aioe.org>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org>
<t8rg7g$cvp$1@dont-email.me> <t8v8bj$19ie$1@gioia.aioe.org>
<t8vbjf$c47$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="10437"; posting-host="PqOvX6IGnPQwKdKFsHVyRA.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.10.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Richard Maher - Thu, 23 Jun 2022 00:30 UTC

On 22/06/2022 11:12 pm, Dave Froble wrote:
> On 6/22/2022 10:18 AM, Richard Maher wrote:
>> On 21/06/2022 12:07 pm, Dave Froble wrote:
>>> On 6/20/2022 8:44 PM, Richard Maher wrote:
>>>> On 20/06/2022 10:28 pm, Dave Froble wrote:
>>>>> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>>>>>> In article <t8olit$71c$1@dont-email.me>, Dave Froble
>>>>>> <davef@tsoft-inc.com>
>>>>>> writes:
>>>>>
>>>>>> PQL$_ENQLM is provided by a simple Macro:
>>>>>>
>>>>>> .TITLE PQLDEF $PQLDEF    GLOBAL .END
>>>>>>
>>>>>> This is assembled/complied to create global symbols available at
>>>>>> link time.  Any VMS programmer (sh/w)ould be aware of this.
>>>>>
>>>>> Guess I am now.  Never did this particular thing.
>>>>>
>>>>>>> From my occasional playing with CREPRC what I remember is that
>>>>>>> the PQL parameters are used when a specific parameter is not
>>>>>>> provided.  Thus, just don't provide that parameter to CREPRC.  I
>>>>>>> never did.
>>>>>>
>>>>>> $PQLDEF definitions are used to create a quota list for the $CREPRC
>>>>>>  system service that define process quotes for the created process.
>>>>>> Typically, the SYSGEN minimum and or default quota parameters will
>>>>>> suffice for the created process quota for the crux of most
>>>>>> processing.
>>>>>
>>>>> Most/all of my usage of CREPRC has been for creating detached
>>>>> processes.  Now
>>>>> that you made me think (I hate when that happens) I
>>>>> seem to recall that for detached processes the PQL parameters are
>>>>> used for defaults when a particular parameter is not in the item
>>>>> list.  I also seem to recall that that may not happen for other than
>>>>> detached processes.  Didn't do much of that.
>>>>>
>>>>> Regardless, if using a PQL parameter, unless they have been
>>>>> customized, (which I did on systems running our software), the value
>>>>> may not be of much use, if it is too low, and I also seem to recall
>>>>> that the supplied values were usually too low.  Thus my initial
>>>>> puzzlement as to why you wanted to use any PQL parameters.
>>>>>
>>>>> My solution was to have some application data, one set for each
>>>>> detached processes application, which specified needed parameters and
>>>>> such.  Thru time, more and more of our applications used detached
>>>>> processes, and the design turned out to be quite helpful.  Not so
>>>>> many people working with "terminals" these days, and more services
>>>>> serving trading partner inquiries, orders, and such.
>>>>>
>>>>
>>>> So Dave's solution is "Application Data". Sounds good; what's stored
>>>> there?
>>>>
>>>> 1) We already know you have quotas
>>>> 2) How about privileges and maybe a UIC?
>>>> 3) Default working directory and base priority perhaps?
>>>> 4) Maybe an account for charge back accounting
>>>>
>>>> What did you call it? DAVES_AF.DAT :-(
>>>
>>> Oh, you want the long version, huh?
>>>
>>> Way, way, back, it was determined that due to the lack of adequate
>>> channels in
>>> Basic+, 12 to be precise, it would be advisable to have a single file
>>> that
>>> could be used for different types of data.  Things with just a few
>>> records,
>>> such as maybe 20 terms codes, 50 state codes, and others.  We even
>>> called it a
>>> "codes file".  The design was for having the capability of
>>> re-defining the
>>> data fields in the I/O buffer for each "code type".  Even implemented
>>> a data
>>> file editor to use the multiple record definitions.
>>>
>>> Over time, many different record definitions were added to the
>>> utility.  Ended
>>> up with hundreds.  Was really useful.
>>>
>>> When we started setting up detached processes, later on on VMS, the
>>> CODES file
>>> seemed the logical place to set up the data, assuming that the number of
>>> detached processes we'd be running was in that 1-100 range, for which
>>> the
>>> CODES file worked so well.  That particular record definition
>>> contained all
>>> the things we wanted a detached process to know.
>>>
>>> The concept worked well, to the point all applications used it.
>>> Every program
>>> got it's filenames from the codes file using keys/tokens/whatever you
>>> want to
>>> call them for one example.  The entire TOLAS and other ERP type
>>> applications
>>> were built around the concept.
>>>
>>>  From an old customer site, no longer in use:
>>>
>>> ---Code type---------Code description------
>>>
>>>     CODES             Codes Descriptors
>>>     BANK_CODE         Bank code records
>>>     CHARGES           Charge code records
>>>     COLLECTOR         Credit analyst codes
>>>     COLLECT_LETTER    Collection letter codes
>>>     COLLECT_TXNS      Collection transaction codes
>>>     COMPANY_NAME      Company name records
>>>     CTL_DATES         Date range control records
>>>     CTY_TAX           Taxing location rate records
>>>     CUST_TYPE         Customer type codes
>>>     DAS14             DAS14 data file list(s)
>>>     DETACH            Detached process parameter records
>>>     FILENAMES         Data file names and locations
>>>     FREIGHT_CODES     Freight code maintenance.
>>>     GL_ACCOUNTS       General ledger account records
>>>     MESSAGES          Message records
>>>     NUMBERS           Miscellaneous numeric data records
>>>     ORDER_TYPES       Order type code records
>>>     PASSWORDS         Password code records
>>>     PAYMENT_AUTH      Payment authorization code records
>>>     PL-DESC           Product line description records
>>>     PO-TYPE           Purchase Order Type Codes
>>>     POOL_CAR          Pool car records
>>>     PSO_CHANGE        PSO change codes
>>>     REGION            Region codes
>>>     SALESMAN          Salesman code records
>>>     SALES_GROUP       Sales group codes
>>>     SA_PROGRAMS       Sales Analysis program records
>>>     SEQUENCES         Sequence number records
>>>     SHIP_VIA          Ship via code records
>>>     STATES            State code records
>>>     STRINGS           Miscellaneous string data records
>>>     TERMS_CODES       Terms code records
>>>     TRANSACTION       Inventory transaction code records
>>>     WAREHOUSE         Warehouse code records
>>>     WHSE_CTL          Warehouse control records
>>>
>>> Many more in current systems ...
>>>
>>
>>
>> There ain't no fixin' stupid :-(
>>
>> https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/service-accounts
>>
>>
>>
>
> Not sure what we're discussing now Richard ???
>

Just saying the *existing* sysuaf.dat et al files are already there and
functional and appropriate for the creation of service accounts on VMS
the only thing you may have to store somewhere else is the actual username.

"Hay System Manager, I need a Service Account for my application"

"Sure, I'll make sure it all fits with security policy. Done"

$getuai, $persona_create, $persona_assume $creprc . . .

Re: Calling $CREPRC in COBOL

<t90c8r$a65$2@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23238&group=comp.os.vms#23238

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!PqOvX6IGnPQwKdKFsHVyRA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Thu, 23 Jun 2022 08:31:23 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t90c8r$a65$2@gioia.aioe.org>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org>
<t8rg7g$cvp$1@dont-email.me> <t8v8bj$19ie$1@gioia.aioe.org>
<t8vbjf$c47$1@dont-email.me> <t8ve8m$17h$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="10437"; posting-host="PqOvX6IGnPQwKdKFsHVyRA.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.10.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Richard Maher - Thu, 23 Jun 2022 00:31 UTC

On 22/06/2022 11:59 pm, Stephen Hoffman wrote:
> On 2022-06-22 15:12:48 +0000, Dave Froble said:
>
>> On 6/22/2022 10:18 AM, Richard Maher wrote:
>>> On 21/06/2022 12:07 pm, Dave Froble wrote:
>>>> On 6/20/2022 8:44 PM, Richard Maher wrote:
>>>>> On 20/06/2022 10:28 pm, Dave Froble wrote:
>>>>>> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>>>>>>> In article <t8olit$71c$1@dont-email.me>, Dave Froble
>>>>>>> <davef@tsoft-inc.com> writes:
>>>>>>
>>>>>>> PQL$_ENQLM is provided by a simple Macro:
>>>>>>>
>>>>>>> .TITLE PQLDEF $PQLDEF    GLOBAL .END
>>>>>>>
>>>>>>> This is assembled/complied to create global symbols available at
>>>>>>> link time.  Any VMS programmer (sh/w)ould be aware of this.
>>>>>>
>>>>>> Guess I am now.  Never did this particular thing.
>>>>>>
>>>>>>>> From my occasional playing with CREPRC what I remember is that
>>>>>>>> the PQL parameters are used when a specific parameter is not
>>>>>>>> provided.  Thus, just don't provide that parameter to CREPRC.  I
>>>>>>>> never did.
>>>>>>>
>>>>>>> $PQLDEF definitions are used to create a quota list for the
>>>>>>> $CREPRC system service that define process quotes for the created
>>>>>>> process. Typically, the SYSGEN minimum and or default quota
>>>>>>> parameters will suffice for the created process quota for the
>>>>>>> crux of most processing.
>>>>>>
>>>>>> Most/all of my usage of CREPRC has been for creating detached
>>>>>> processes.  Now that you made me think (I hate when that happens)
>>>>>> I seem to recall that for detached processes the PQL parameters
>>>>>> are used for defaults when a particular parameter is not in the
>>>>>> item list.  I also seem to recall that that may not happen for
>>>>>> other than detached processes.  Didn't do much of that.
>>>>>>
>>>>>> Regardless, if using a PQL parameter, unless they have been
>>>>>> customized, (which I did on systems running our software), the
>>>>>> value may not be of much use, if it is too low, and I also seem to
>>>>>> recall that the supplied values were usually too low.  Thus my
>>>>>> initial puzzlement as to why you wanted to use any PQL parameters.
>>>>>>
>>>>>> My solution was to have some application data, one set for each
>>>>>> detached processes application, which specified needed parameters
>>>>>> and such.  Thru time, more and more of our applications used
>>>>>> detached processes, and the design turned out to be quite
>>>>>> helpful.  Not so many people working with "terminals" these days,
>>>>>> and more services serving trading partner inquiries, orders, and
>>>>>> such.
>>>>>>
>>>>>
>>>>> So Dave's solution is "Application Data". Sounds good; what's
>>>>> stored there?
>>>>>
>>>>> 1) We already know you have quotas
>>>>> 2) How about privileges and maybe a UIC?
>>>>> 3) Default working directory and base priority perhaps?
>>>>> 4) Maybe an account for charge back accounting
>>>>>
>>>>> What did you call it? DAVES_AF.DAT :-(
>>>>
>>>> Oh, you want the long version, huh?
>>>>
>>>> Way, way, back, it was determined that due to the lack of adequate
>>>> channels in Basic+, 12 to be precise, it would be advisable to have
>>>> a single file that could be used for different types of data.
>>>> Things with just a few records, such as maybe 20 terms codes, 50
>>>> state codes, and others.  We even called it a "codes file".  The
>>>> design was for having the capability of re-defining the data fields
>>>> in the I/O buffer for each "code type".  Even implemented a data
>>>> file editor to use the multiple record definitions.
>>>>
>>>> Over time, many different record definitions were added to the
>>>> utility.  Ended up with hundreds.  Was really useful.
>>>>
>>>> When we started setting up detached processes, later on on VMS, the
>>>> CODES file seemed the logical place to set up the data, assuming
>>>> that the number of detached processes we'd be running was in that
>>>> 1-100 range, for which the CODES file worked so well.  That
>>>> particular record definition contained all the things we wanted a
>>>> detached process to know.
>>>>
>>>> The concept worked well, to the point all applications used it.
>>>> Every program got it's filenames from the codes file using
>>>> keys/tokens/whatever you want to call them for one example.  The
>>>> entire TOLAS and other ERP type applications were built around the
>>>> concept.
>>>>
>>>> From an old customer site, no longer in use:
>>>>
>>>> ---Code type---------Code description------
>>>>
>>>> CODES             Codes Descriptors
>>>> BANK_CODE         Bank code records
>>>> CHARGES           Charge code records
>>>> COLLECTOR         Credit analyst codes
>>>> ...
>>>> WAREHOUSE         Warehouse code records
>>>> WHSE_CTL          Warehouse control records
>>>>
>>>> Many more in current systems ...
>>>>
>>>
>>>
>>> There ain't no fixin' stupid :-(
>>>
>>> https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/service-accounts
>>>
>>>
>>>
>>
>> Not sure what we're discussing now Richard ???
>
> Richard is discussing Microsoft Windows features.
>
> Else-platform, your approach is akin to a home-grown version of the
> preferences files that are now commonly in use on other platforms,
> though those typically have different formats and structures and
> settings can be nested.  OpenVMS unfortunately has big gaps in its
> available APIs here.
>
> Here's the Apple equivalent:
> https://developer.apple.com/documentation/foundation/nsuserdefaults
>
> In a newer app design, LDAP would probably be used to store the
> settings, as that can allow these settings on the computer, the user,
> groups, or environment-wide. Outside of the lack of local commands and
> lexicals, LDAP is logical names, thirty years on. And the existing
> features could probably be re-hosted over onto LDAP without
> significantly altering the existing OpenVMS APIs, if at all.  For
> strictly-local settings-related text-format stuff where I don't have an
> API for preferences and defaults, I might look at using JSON or YAML as
> the format, not that BASIC or most OpenVMS apps have a good path into
> any of that.
>
> Within OpenVMS, these access settings can be enforced using identifiers,
> where the access control is associated with an OpenVMS object. LDAP and
> local services would need access to RIGHTSLIST or an analog to map from
> the text name to the binary value that then gets attached all over the
> place within OpenVMS, were LDAP involved here.
>
> LDAP itself running locally could replace the entirety of the OpenVMS
> authentication system, not that I would expect to see that happen in
> this decade.
>
> I'd expect LDAP is underneath what Richard mentions, though have no
> interest in wading further into the Microsoft documentation.
>
> As for your process creation... The PQL stuff is one of those areas
> where the argument is optional, where the defaults are fickle, and where
> the PQL list really shouldn't be optional. The mailbox settings are
> another area where the defaults are way, way, way too hazardous for use
> by production apps. The IOSB argument is another area, and that argument
> should never be considered optional.  And as an added wrinkle here in
> some application environments and particularly given the PQL list
> contents aren't naturally aligned, which means there's yet another
> surprise awaiting the unwary.
>
>


Click here to read the complete article
Re: Calling $CREPRC in COBOL

<t90gad$51k$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23239&group=comp.os.vms#23239

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Wed, 22 Jun 2022 21:39:25 -0400
Organization: A noiseless patient Spider
Lines: 171
Message-ID: <t90gad$51k$1@dont-email.me>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org>
<t8rg7g$cvp$1@dont-email.me> <t8v8bj$19ie$1@gioia.aioe.org>
<t8vbjf$c47$1@dont-email.me> <t90c6n$a65$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 23 Jun 2022 01:40:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c32c61a4d1b7f3c6a86e669ad977530a";
logging-data="5172"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xRXIO+INjTQsGjUFyFIEZh1sgP5i8OB0="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:gM/lOYaErct8NRL5yC7uWeEH31Q=
In-Reply-To: <t90c6n$a65$1@gioia.aioe.org>
 by: Dave Froble - Thu, 23 Jun 2022 01:39 UTC

On 6/22/2022 8:30 PM, Richard Maher wrote:
> On 22/06/2022 11:12 pm, Dave Froble wrote:
>> On 6/22/2022 10:18 AM, Richard Maher wrote:
>>> On 21/06/2022 12:07 pm, Dave Froble wrote:
>>>> On 6/20/2022 8:44 PM, Richard Maher wrote:
>>>>> On 20/06/2022 10:28 pm, Dave Froble wrote:
>>>>>> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>>>>>>> In article <t8olit$71c$1@dont-email.me>, Dave Froble <davef@tsoft-inc.com>
>>>>>>> writes:
>>>>>>
>>>>>>> PQL$_ENQLM is provided by a simple Macro:
>>>>>>>
>>>>>>> .TITLE PQLDEF $PQLDEF GLOBAL .END
>>>>>>>
>>>>>>> This is assembled/complied to create global symbols available at
>>>>>>> link time. Any VMS programmer (sh/w)ould be aware of this.
>>>>>>
>>>>>> Guess I am now. Never did this particular thing.
>>>>>>
>>>>>>>> From my occasional playing with CREPRC what I remember is that
>>>>>>>> the PQL parameters are used when a specific parameter is not
>>>>>>>> provided. Thus, just don't provide that parameter to CREPRC. I
>>>>>>>> never did.
>>>>>>>
>>>>>>> $PQLDEF definitions are used to create a quota list for the $CREPRC
>>>>>>> system service that define process quotes for the created process.
>>>>>>> Typically, the SYSGEN minimum and or default quota parameters will
>>>>>>> suffice for the created process quota for the crux of most
>>>>>>> processing.
>>>>>>
>>>>>> Most/all of my usage of CREPRC has been for creating detached processes. Now
>>>>>> that you made me think (I hate when that happens) I
>>>>>> seem to recall that for detached processes the PQL parameters are
>>>>>> used for defaults when a particular parameter is not in the item
>>>>>> list. I also seem to recall that that may not happen for other than
>>>>>> detached processes. Didn't do much of that.
>>>>>>
>>>>>> Regardless, if using a PQL parameter, unless they have been
>>>>>> customized, (which I did on systems running our software), the value
>>>>>> may not be of much use, if it is too low, and I also seem to recall
>>>>>> that the supplied values were usually too low. Thus my initial
>>>>>> puzzlement as to why you wanted to use any PQL parameters.
>>>>>>
>>>>>> My solution was to have some application data, one set for each
>>>>>> detached processes application, which specified needed parameters and
>>>>>> such. Thru time, more and more of our applications used detached
>>>>>> processes, and the design turned out to be quite helpful. Not so
>>>>>> many people working with "terminals" these days, and more services
>>>>>> serving trading partner inquiries, orders, and such.
>>>>>>
>>>>>
>>>>> So Dave's solution is "Application Data". Sounds good; what's stored there?
>>>>>
>>>>> 1) We already know you have quotas
>>>>> 2) How about privileges and maybe a UIC?
>>>>> 3) Default working directory and base priority perhaps?
>>>>> 4) Maybe an account for charge back accounting
>>>>>
>>>>> What did you call it? DAVES_AF.DAT :-(
>>>>
>>>> Oh, you want the long version, huh?
>>>>
>>>> Way, way, back, it was determined that due to the lack of adequate channels in
>>>> Basic+, 12 to be precise, it would be advisable to have a single file that
>>>> could be used for different types of data. Things with just a few records,
>>>> such as maybe 20 terms codes, 50 state codes, and others. We even called it a
>>>> "codes file". The design was for having the capability of re-defining the
>>>> data fields in the I/O buffer for each "code type". Even implemented a data
>>>> file editor to use the multiple record definitions.
>>>>
>>>> Over time, many different record definitions were added to the utility. Ended
>>>> up with hundreds. Was really useful.
>>>>
>>>> When we started setting up detached processes, later on on VMS, the CODES file
>>>> seemed the logical place to set up the data, assuming that the number of
>>>> detached processes we'd be running was in that 1-100 range, for which the
>>>> CODES file worked so well. That particular record definition contained all
>>>> the things we wanted a detached process to know.
>>>>
>>>> The concept worked well, to the point all applications used it. Every program
>>>> got it's filenames from the codes file using keys/tokens/whatever you want to
>>>> call them for one example. The entire TOLAS and other ERP type applications
>>>> were built around the concept.
>>>>
>>>> From an old customer site, no longer in use:
>>>>
>>>> ---Code type---------Code description------
>>>>
>>>> CODES Codes Descriptors
>>>> BANK_CODE Bank code records
>>>> CHARGES Charge code records
>>>> COLLECTOR Credit analyst codes
>>>> COLLECT_LETTER Collection letter codes
>>>> COLLECT_TXNS Collection transaction codes
>>>> COMPANY_NAME Company name records
>>>> CTL_DATES Date range control records
>>>> CTY_TAX Taxing location rate records
>>>> CUST_TYPE Customer type codes
>>>> DAS14 DAS14 data file list(s)
>>>> DETACH Detached process parameter records
>>>> FILENAMES Data file names and locations
>>>> FREIGHT_CODES Freight code maintenance.
>>>> GL_ACCOUNTS General ledger account records
>>>> MESSAGES Message records
>>>> NUMBERS Miscellaneous numeric data records
>>>> ORDER_TYPES Order type code records
>>>> PASSWORDS Password code records
>>>> PAYMENT_AUTH Payment authorization code records
>>>> PL-DESC Product line description records
>>>> PO-TYPE Purchase Order Type Codes
>>>> POOL_CAR Pool car records
>>>> PSO_CHANGE PSO change codes
>>>> REGION Region codes
>>>> SALESMAN Salesman code records
>>>> SALES_GROUP Sales group codes
>>>> SA_PROGRAMS Sales Analysis program records
>>>> SEQUENCES Sequence number records
>>>> SHIP_VIA Ship via code records
>>>> STATES State code records
>>>> STRINGS Miscellaneous string data records
>>>> TERMS_CODES Terms code records
>>>> TRANSACTION Inventory transaction code records
>>>> WAREHOUSE Warehouse code records
>>>> WHSE_CTL Warehouse control records
>>>>
>>>> Many more in current systems ...
>>>>
>>>
>>>
>>> There ain't no fixin' stupid :-(
>>>
>>> https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/service-accounts
>>>
>>>
>>>
>>
>> Not sure what we're discussing now Richard ???
>>
>
>
> Just saying the *existing* sysuaf.dat et al files are already there and
> functional and appropriate for the creation of service accounts on VMS the only
> thing you may have to store somewhere else is the actual username.
>
> "Hay System Manager, I need a Service Account for my application"
>
> "Sure, I'll make sure it all fits with security policy. Done"
>
> $getuai, $persona_create, $persona_assume $creprc . . .

That is just totally wrong Richard.

The detached services we're running are part of the application. They need to
be aware of many things about the application. They really don't give a damn
about the OS, the SYSUAF, and anything not part of the application.


Click here to read the complete article
Re: Calling $CREPRC in COBOL

<t90mbd$174o$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23240&group=comp.os.vms#23240

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!PqOvX6IGnPQwKdKFsHVyRA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Calling $CREPRC in COBOL
Date: Thu, 23 Jun 2022 11:23:24 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t90mbd$174o$1@gioia.aioe.org>
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org>
<t8rg7g$cvp$1@dont-email.me> <t8v8bj$19ie$1@gioia.aioe.org>
<t8vbjf$c47$1@dont-email.me> <t90c6n$a65$1@gioia.aioe.org>
<t90gad$51k$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="40088"; posting-host="PqOvX6IGnPQwKdKFsHVyRA.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.10.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Richard Maher - Thu, 23 Jun 2022 03:23 UTC

On 23/06/2022 9:39 am, Dave Froble wrote:
> On 6/22/2022 8:30 PM, Richard Maher wrote:
>> On 22/06/2022 11:12 pm, Dave Froble wrote:
>>> On 6/22/2022 10:18 AM, Richard Maher wrote:
>>>> On 21/06/2022 12:07 pm, Dave Froble wrote:
>>>>> On 6/20/2022 8:44 PM, Richard Maher wrote:
>>>>>> On 20/06/2022 10:28 pm, Dave Froble wrote:
>>>>>>> On 6/20/2022 7:37 AM, VAXman-@SendSpamHere.ORG wrote:
>>>>>>>> In article <t8olit$71c$1@dont-email.me>, Dave Froble
>>>>>>>> <davef@tsoft-inc.com>
>>>>>>>> writes:
>>>>>>>
>>>>>>>> PQL$_ENQLM is provided by a simple Macro:
>>>>>>>>
>>>>>>>> .TITLE PQLDEF $PQLDEF    GLOBAL .END
>>>>>>>>
>>>>>>>> This is assembled/complied to create global symbols available at
>>>>>>>> link time.  Any VMS programmer (sh/w)ould be aware of this.
>>>>>>>
>>>>>>> Guess I am now.  Never did this particular thing.
>>>>>>>
>>>>>>>>> From my occasional playing with CREPRC what I remember is that
>>>>>>>>> the PQL parameters are used when a specific parameter is not
>>>>>>>>> provided.  Thus, just don't provide that parameter to CREPRC.  I
>>>>>>>>> never did.
>>>>>>>>
>>>>>>>> $PQLDEF definitions are used to create a quota list for the $CREPRC
>>>>>>>>  system service that define process quotes for the created process.
>>>>>>>> Typically, the SYSGEN minimum and or default quota parameters will
>>>>>>>> suffice for the created process quota for the crux of most
>>>>>>>> processing.
>>>>>>>
>>>>>>> Most/all of my usage of CREPRC has been for creating detached
>>>>>>> processes.  Now
>>>>>>> that you made me think (I hate when that happens) I
>>>>>>> seem to recall that for detached processes the PQL parameters are
>>>>>>> used for defaults when a particular parameter is not in the item
>>>>>>> list.  I also seem to recall that that may not happen for other than
>>>>>>> detached processes.  Didn't do much of that.
>>>>>>>
>>>>>>> Regardless, if using a PQL parameter, unless they have been
>>>>>>> customized, (which I did on systems running our software), the value
>>>>>>> may not be of much use, if it is too low, and I also seem to recall
>>>>>>> that the supplied values were usually too low.  Thus my initial
>>>>>>> puzzlement as to why you wanted to use any PQL parameters.
>>>>>>>
>>>>>>> My solution was to have some application data, one set for each
>>>>>>> detached processes application, which specified needed parameters
>>>>>>> and
>>>>>>> such.  Thru time, more and more of our applications used detached
>>>>>>> processes, and the design turned out to be quite helpful.  Not so
>>>>>>> many people working with "terminals" these days, and more services
>>>>>>> serving trading partner inquiries, orders, and such.
>>>>>>>
>>>>>>
>>>>>> So Dave's solution is "Application Data". Sounds good; what's
>>>>>> stored there?
>>>>>>
>>>>>> 1) We already know you have quotas
>>>>>> 2) How about privileges and maybe a UIC?
>>>>>> 3) Default working directory and base priority perhaps?
>>>>>> 4) Maybe an account for charge back accounting
>>>>>>
>>>>>> What did you call it? DAVES_AF.DAT :-(
>>>>>
>>>>> Oh, you want the long version, huh?
>>>>>
>>>>> Way, way, back, it was determined that due to the lack of adequate
>>>>> channels in
>>>>> Basic+, 12 to be precise, it would be advisable to have a single
>>>>> file that
>>>>> could be used for different types of data.  Things with just a few
>>>>> records,
>>>>> such as maybe 20 terms codes, 50 state codes, and others.  We even
>>>>> called it a
>>>>> "codes file".  The design was for having the capability of
>>>>> re-defining the
>>>>> data fields in the I/O buffer for each "code type".  Even
>>>>> implemented a data
>>>>> file editor to use the multiple record definitions.
>>>>>
>>>>> Over time, many different record definitions were added to the
>>>>> utility.  Ended
>>>>> up with hundreds.  Was really useful.
>>>>>
>>>>> When we started setting up detached processes, later on on VMS, the
>>>>> CODES file
>>>>> seemed the logical place to set up the data, assuming that the
>>>>> number of
>>>>> detached processes we'd be running was in that 1-100 range, for
>>>>> which the
>>>>> CODES file worked so well.  That particular record definition
>>>>> contained all
>>>>> the things we wanted a detached process to know.
>>>>>
>>>>> The concept worked well, to the point all applications used it.
>>>>> Every program
>>>>> got it's filenames from the codes file using keys/tokens/whatever
>>>>> you want to
>>>>> call them for one example.  The entire TOLAS and other ERP type
>>>>> applications
>>>>> were built around the concept.
>>>>>
>>>>>  From an old customer site, no longer in use:
>>>>>
>>>>> ---Code type---------Code description------
>>>>>
>>>>>     CODES             Codes Descriptors
>>>>>     BANK_CODE         Bank code records
>>>>>     CHARGES           Charge code records
>>>>>     COLLECTOR         Credit analyst codes
>>>>>     COLLECT_LETTER    Collection letter codes
>>>>>     COLLECT_TXNS      Collection transaction codes
>>>>>     COMPANY_NAME      Company name records
>>>>>     CTL_DATES         Date range control records
>>>>>     CTY_TAX           Taxing location rate records
>>>>>     CUST_TYPE         Customer type codes
>>>>>     DAS14             DAS14 data file list(s)
>>>>>     DETACH            Detached process parameter records
>>>>>     FILENAMES         Data file names and locations
>>>>>     FREIGHT_CODES     Freight code maintenance.
>>>>>     GL_ACCOUNTS       General ledger account records
>>>>>     MESSAGES          Message records
>>>>>     NUMBERS           Miscellaneous numeric data records
>>>>>     ORDER_TYPES       Order type code records
>>>>>     PASSWORDS         Password code records
>>>>>     PAYMENT_AUTH      Payment authorization code records
>>>>>     PL-DESC           Product line description records
>>>>>     PO-TYPE           Purchase Order Type Codes
>>>>>     POOL_CAR          Pool car records
>>>>>     PSO_CHANGE        PSO change codes
>>>>>     REGION            Region codes
>>>>>     SALESMAN          Salesman code records
>>>>>     SALES_GROUP       Sales group codes
>>>>>     SA_PROGRAMS       Sales Analysis program records
>>>>>     SEQUENCES         Sequence number records
>>>>>     SHIP_VIA          Ship via code records
>>>>>     STATES            State code records
>>>>>     STRINGS           Miscellaneous string data records
>>>>>     TERMS_CODES       Terms code records
>>>>>     TRANSACTION       Inventory transaction code records
>>>>>     WAREHOUSE         Warehouse code records
>>>>>     WHSE_CTL          Warehouse control records
>>>>>
>>>>> Many more in current systems ...
>>>>>
>>>>
>>>>
>>>> There ain't no fixin' stupid :-(
>>>>
>>>> https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/service-accounts
>>>>
>>>>
>>>>
>>>>
>>>
>>> Not sure what we're discussing now Richard ???
>>>
>>
>>
>> Just saying the *existing* sysuaf.dat et al files are already there and
>> functional and appropriate for the creation of service accounts on VMS
>> the only
>> thing you may have to store somewhere else is the actual username.
>>
>> "Hay System Manager, I need a Service Account for my application"
>>
>> "Sure, I'll make sure it all fits with security policy. Done"
>>
>> $getuai, $persona_create, $persona_assume $creprc . . .
>
> That is just totally wrong Richard.
>
> The detached services we're running are part of the application.  They
> need to be aware of many things about the application.  They really
> don't give a damn about the OS, the SYSUAF, and anything not part of the
> application.
>
> Just because CREPRC is used to create the detached processes doesn't
> mean they are not an integral part of the application.  Just because we
> need to provide some "system" information to start up the detached
> process isn't really important to the application, other than what's
> needed to get it done.
>
> If you want to argue it, I'll just point out that the design has been
> running, successfully, for over 45 years.  Before VMS in fact.  This
> design was running on RSTS.
>


Click here to read the complete article
Re: Calling $CREPRC in COBOL

<17386385-f589-4ab2-bd49-69c540557cccn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23241&group=comp.os.vms#23241

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:adf:d229:0:b0:21a:3916:84ff with SMTP id k9-20020adfd229000000b0021a391684ffmr8582564wrh.349.1655991799787;
Thu, 23 Jun 2022 06:43:19 -0700 (PDT)
X-Received: by 2002:a05:6214:d08:b0:470:51b1:e541 with SMTP id
8-20020a0562140d0800b0047051b1e541mr12481294qvh.50.1655991799076; Thu, 23 Jun
2022 06:43:19 -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.os.vms
Date: Thu, 23 Jun 2022 06:43:18 -0700 (PDT)
In-Reply-To: <t8ve8m$17h$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=104.231.150.181; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 104.231.150.181
References: <00B76057.ECCFCF4E@SendSpamHere.ORG> <t801pc$gd7$1@dont-email.me>
<jghgpaF5vgoU1@mid.individual.net> <t804ht$a69$1@dont-email.me>
<jghm0uF6rbqU1@mid.individual.net> <t809sr$m83$1@dont-email.me>
<t8olit$71c$1@dont-email.me> <00B76801.01280C59@SendSpamHere.ORG>
<t8q08l$1fb$1@dont-email.me> <t8r490$1b27$1@gioia.aioe.org>
<t8rg7g$cvp$1@dont-email.me> <t8v8bj$19ie$1@gioia.aioe.org>
<t8vbjf$c47$1@dont-email.me> <t8ve8m$17h$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <17386385-f589-4ab2-bd49-69c540557cccn@googlegroups.com>
Subject: Re: Calling $CREPRC in COBOL
From: osuvma...@gmail.com (David Jones)
Injection-Date: Thu, 23 Jun 2022 13:43:19 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1852
 by: David Jones - Thu, 23 Jun 2022 13:43 UTC

On Wednesday, June 22, 2022 at 11:59:22 AM UTC-4, Stephen Hoffman wrote:
> As for your process creation... The PQL stuff is one of those areas
> where the argument is optional, where the defaults are fickle, and
> where the PQL list really shouldn't be optional.

If they go to fix that, they should also drop the 63 character limit on the image
name argument.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor