scrolling field question
Penney, John
resolutebay at yahoo.com
Mon Sep 16 08:50:36 CDT 2013
Sagar, Bob and hopefully interested parties: (This data is not classified)
Still no resolution, so I'm adding more information and seek further solutions:
Record Screen:MODE:F ACTION: ITEM Screen
Record BUSINESS_RULES_MST Length 2116 Status OK
Item Usage Type Size Dec
Datatype Size Occ Indx Off01 BR_TYPE C 3
CHARACTER 3 1 R 002 BR_NUM N 6
ZONED-U 6 1 303 BR_DESC C 40
CHARACTER 40 1 904 BR_STATEMENT C 2046
CHARACTER 2046 1 4905 DATE_ENTERED N 8
INTEGER-S 4 1 209506 DATE_UPDATED N 8
INTEGER-S 4 1 209907 TIME_ENTERED N 8
INTEGER-S 4 1 210308 TIME_UPDATED N 8
INTEGER-S 4 1 210709 USER_UPDATED C 4
CHARACTER 4 1 211110 FILLER C 1
CHARACTER 1 1 2115
QUICK710G L4 PDKC2003.QKC(00/02/09) QDESIGN710G VT220 (c) COGNOS INCORPORATED.
Element Screen:MODE:F ACTION: ELEMENT Screen
01 Element Name BR_STATEMENT Usage is
Element Type C Element Size 2046
Shift Value 02 Item Defaults: Datatype CHARACTER Size 2046 No. of Occurs 103 Leading Sign 05 Fill Character 08 Input Scale
04 Trailing Sign 06 Float Character 09 Output Scale
07 Blank When Zero? 10 Significance11 Allow Century Input? 12 Force Century Input? 13 Null Separator14 Initial
15 Pattern
16 Picture
17 Help Msg
18 Heading "Br Statement"
19 Label "Br Statement"
20 Auto Defn: A Values? NoQUICK710G L3 PDKC6.QKC(00/02/09) QDESIGN710G VT220 (c) COGNOS INCORPORATED.
QDESIGN Code:
FILE BUSINESS_RULES_MST PRIMARY
ACCESS VIA BR_TYPE, BR_NUM &
USING BR_TYPE, BR_NUM &
REQUEST BR_TYPE, BR_NUM
ACCESS SEQUENTIAL &
ORDERBY BR_NUM
"Business Rule CTRL+B = Redisplay; CTRL+A = Insert/Overwrite " &
AT ,1
SKIP
ALIGN (1,,4)
FIELD BR_STATEMENT OF BUSINESS_RULES_MST &
FOR 10,76
SKIP TO 20
ALIGN( 1,4,25)
Screen contents:
MODE:F ACTION: Business Rules Maintenance DV SMD649.00
Business Rule
Type No. Description
01 QKS 1 test rule 1
Business Rule CTRL+B = Redisplay; CTRL+A = Insert/Overwrite
02 ............................................................................
.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccc
cccccccccccccccccccccccccccccccddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
ewwwwwwwwwwwwwwwffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffgggggggggggggggggggggggggggggggggggggggggggggggggg
03 Text Output Filename
04 Entered 2013/09/16 Updated 2013/09/16 At 9:24 By USJP
You will note that exactly 512 bytes of the 10,76 are being used... I am mystified as we have an exact copy running that uses a 2040 byte field (scrolling, i.e.) and an Rdb Table- scrolls backward and forward like a charm. What is wrong?
Many thanks for all your posts fellow listers:
John M Penney
________________________________
From: Vidyasagar Goparaju <Vidyasagar.Goparaju at kewill.com>
To: "Penney, John" <resolutebay at yahoo.com>
Cc: power-l <powerh-l at lists.sowder.com>
Sent: Friday, September 13, 2013 5:37 PM
Subject: RE: scrolling field question
I would look at the ELEMENT definition in the dictionary. Possible that the ELEMENT is 512 characters but the FIELD on your file is 2046.
Sagar
From:powerh-l-bounces+vidyasagar.goparaju=kewill.com at lists.sowder.com [mailto:powerh-l-bounces+vidyasagar.goparaju=kewill.com at lists.sowder.com] On Behalf Of Penney, John
Sent: Friday, September 13, 2013 4:12 PM
To: power-l
Subject: scrolling field question
Greetings, Powerhouse-l 'ers
I have a field 2046 characters in length on an RMS file and I just wish to populate the first (say) 760 characters on a screen thusly:
FIELD BR_STATEMENT OF BUSINESS_RULES_DTL &
FOR 10,76
Well, try as I may I get exactly 512 bytes when I enter data (no >> or << to indicate next screen or previous) and the cursor just refuses to go any further. Stops, same on changemode....
I cribbed liberally from an existing screen has a 2040 field that is 16, 76 and it works like a proverbial charm. Now it IS an Rdb table but it's still just a column/field and it scrolls perfectly.
Confused in RI....
Appreciate any and all hints- am I missing something obvious or is there an inherent limitation for a character field from an RMS file I'm not aware of?
Driving me batty...
Tks again!
John M Penney IMPORTANT NOTICE: This email is intended solely for the use of the individual to whom it is addressed and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If the reader of this email is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone at (978) 482-2500 and return the original message to us at the listed email address. In accordance with Kewill policy, emails sent and received may be monitored. Kewill accepts no responsibility for any loss or damage should this email contain any virus, or similar destructive or mischievous code. Thank You. Copyright © 2012 by Kewill Inc.
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: 'subscribe' in message body to powerh-l-request at lists.sowder.com
Unsubscribe: 'unsubscribe <password>' in message body to powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20130916/a13ff2f2/attachment-0001.htm>
More information about the powerh-l
mailing list