ELEMENT vs ITEM definition
Ohmes, Matt
Matt.Ohmes@COGNOS.com
Wed, 28 Apr 1999 15:28:47 -0400
Well... Off hand I'd say change the Element to CHARACTER SIZE 2. The
Element declares that "logically" this element will only allow a single
character to be stored. Normally an Item larger than the Element is no
problem, but the SELECT option on the Item is a direct contradiction to the
logical size of the Element. This sounds like a "hole" that they closed up
in the latest release.
How many references to RECORD-TYPE do you have in your code (especially as
fields on screens or items on reports). If it's not much, then change the
Element. I'm guessing you don't reference it much.
Hope that helps,
Matt
Matt.Ohmes@Cognos.Com
Cognos Corporation
909 E. Las Colinas Blvd.
Suite 1900
Irving, TX 75039
214-259-6200
"Matt doesn't really know anything. He just likes to pontificate a lot.
We refuse to acknowledge that he works for Cognos or that we have ever
met him or anyone with whom he's ever been associated. Don't lend him
money and don't let him talk to your sister!" ;-)
-----Original Message-----
From: Cindy Lomas [mailto:clomas@milk.org]
Sent: Wednesday, April 28, 1999 1:11 PM
To: powerh-l@lists.swau.edu
Subject: ELEMENT vs ITEM definition
Hi, all
I have run into a problem compiling our dictionary using PDL for 8.20b.
There is an element defined as char*1 and then at the item level as char*2.
There is a select on the item of "15". Below is the element definition, the
item definition and the error. The file is sequential with 2 records. Does
anyone have any thoughts? New restriction under 8.20? We don't have any
manuals for 8.20 as yet, so I can't look it up.
Element RECORD-TYPE CHARACTER Size 1 &
Default Item Datatype CHARACTER SIZE 1 &
Heading " " &
Label " " &
Description "Used to specify type of record on a file with multiple" &
"record types. "
Item RECORD-TYPE &
Datatype CHARACTER Size 2 &
Select "15"
*E* The string may not have more than 1 characters.
We are running on an Alpha with OpenVMS
Thanks,
Cindy Lomas
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.