Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Economics is extremely useful as a form of employment for economists. -- John Kenneth Galbraith


computers / comp.sys.tandem / Re: ENFORM failure

SubjectAuthor
* ENFORM failureHenrik Paludan-Mørk
`- Re: ENFORM failureKeith Dick

1
ENFORM failure

<3b5cd3a9-51bc-4d9f-9c1a-43b273351ccan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=197&group=comp.sys.tandem#197

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:ae9:e407:: with SMTP id q7mr10596526qkc.410.1624616950629;
Fri, 25 Jun 2021 03:29:10 -0700 (PDT)
X-Received: by 2002:a25:6f55:: with SMTP id k82mr11783181ybc.490.1624616950419;
Fri, 25 Jun 2021 03:29:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Fri, 25 Jun 2021 03:29:10 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=158.233.246.4; posting-account=9Qm5_goAAABo2Q09vwuWeNWjXeia0KOF
NNTP-Posting-Host: 158.233.246.4
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3b5cd3a9-51bc-4d9f-9c1a-43b273351ccan@googlegroups.com>
Subject: ENFORM failure
From: kilgasto@gmail.com (Henrik Paludan-Mørk)
Injection-Date: Fri, 25 Jun 2021 10:29:10 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Henrik Paludan-Mørk - Fri, 25 Jun 2021 10:29 UTC

I am at my wit's end here.

pls consider this query below.
I have asked enform to find certain records, based on the content of the field HR-ID. ENFORM is successful in retrieving the records in question, but when asked to LIST same records, there are no values.
I feel the error might be in the DDL definition of the record vs the file, but i can find no discrepancies. Any hints what can go wrong, please ?

1 * ?dictionary $xxx.yyyyyyyy
5 * ?Assign uaub1 to $xxxx.yyyyyyy.uaub
6 *
7 *
17 * open uauB1;
19 *
37 *
38 * LIST
39 * uaub1.ansnr
47 * uaub1.record-update
47.1 * uaub1.sletdato
47.2 * uaub1.hr-id
47.3 * uaub1.afdnr
48 * where
49 *
55 *
56 * uaub1.hr-id = "M015494"
57 * or uaub1.hr-id = "M014169"
57.1 * or uaub1.hr-id = "M013859"
57.2 * or uaub1.hr-id = "G54297"
57.3 * or uaub1.hr-id = "G54296"
57.4 * or uaub1.hr-id = "G53397"
58 *
59 * ;
ANSNR RECORD-UPDATE SLETDATO HR-ID AFDNR
------ ------------- -------- -------- -----

13859 19930612
14169 19930612
15494 19930612
53397 19930612
54296 19930612
54297 19930612

Re: ENFORM failure

<136e33c3-ec48-4ef3-84f3-afcd83f681f6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=198&group=comp.sys.tandem#198

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:ac8:550d:: with SMTP id j13mr10588687qtq.131.1624641567001;
Fri, 25 Jun 2021 10:19:27 -0700 (PDT)
X-Received: by 2002:a5b:c11:: with SMTP id f17mr5485385ybq.498.1624641566840;
Fri, 25 Jun 2021 10:19:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Fri, 25 Jun 2021 10:19:26 -0700 (PDT)
In-Reply-To: <3b5cd3a9-51bc-4d9f-9c1a-43b273351ccan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <3b5cd3a9-51bc-4d9f-9c1a-43b273351ccan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <136e33c3-ec48-4ef3-84f3-afcd83f681f6n@googlegroups.com>
Subject: Re: ENFORM failure
From: rkdick@gmail.com (Keith Dick)
Injection-Date: Fri, 25 Jun 2021 17:19:26 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Keith Dick - Fri, 25 Jun 2021 17:19 UTC

On Friday, June 25, 2021 at 3:29:11 AM UTC-7, kilg...@gmail.com wrote:
> I am at my wit's end here.
>
> pls consider this query below.
> I have asked enform to find certain records, based on the content of the field HR-ID. ENFORM is successful in retrieving the records in question, but when asked to LIST same records, there are no values.
> I feel the error might be in the DDL definition of the record vs the file, but i can find no discrepancies. Any hints what can go wrong, please ?
>
> 1 * ?dictionary $xxx.yyyyyyyy
> 5 * ?Assign uaub1 to $xxxx.yyyyyyy.uaub
> 6 *
> 7 *
> 17 * open uauB1;
> 19 *
> 37 *
> 38 * LIST
> 39 * uaub1.ansnr
> 47 * uaub1.record-update
> 47.1 * uaub1.sletdato
> 47.2 * uaub1.hr-id
> 47.3 * uaub1.afdnr
> 48 * where
> 49 *
> 55 *
> 56 * uaub1.hr-id = "M015494"
> 57 * or uaub1.hr-id = "M014169"
> 57.1 * or uaub1.hr-id = "M013859"
> 57.2 * or uaub1.hr-id = "G54297"
> 57.3 * or uaub1.hr-id = "G54296"
> 57.4 * or uaub1.hr-id = "G53397"
> 58 *
> 59 * ;
> ANSNR RECORD-UPDATE SLETDATO HR-ID AFDNR
> ------ ------------- -------- -------- -----
>
> 13859 19930612
> 14169 19930612
> 15494 19930612
> 53397 19930612
> 54296 19930612
> 54297 19930612

You mentioned that the problem might be the DDL definition of the record, but you don't show us what the DDL definition is for the record.

One thing you could do is add the command:

?show uauB1

to the lines you input to ENFORM to show what ENFORM believes the record is. Put it right before the LIST statement.

If that does not show you the cause of the problem, look at the DDL for the record. If you are sure you have the current DDL source that created the dictionary, you can look at it, though for complex dictionaries, that can be hard to figure out.

You can use DDL to show exactly what is in the dictionary now:

DDL
?dict $xxx.yyyyyyyy
?ddl your-terminal-name
output record uaub1.
?exit

That will write to your terminal what DDL understands the record to be. It might refer to other elements in the dictionary, like some DEFs, and if you aren't certain how they are declared, you can use the output command to list what they are.

If this still doesn't show you the cause of the problem, post the record information here and maybe we can spot the problem.


computers / comp.sys.tandem / Re: ENFORM failure

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor