Precisely Speaking
February 08, 2012, 02:16:38 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: So what's news with you? Tell us about it in "Getting To Know You"!
Home
Help
Calendar
Login
Register
Precisely Speaking
>
Training and Education
>
SB+ Programming Questions
>
Unusual DATA problem
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Unusual DATA problem (Read 775 times)
Tom Pellitieri
Rock Star
Posts: 166
Tom Pellitieri - Toledo, Ohio
Unusual DATA problem
«
on:
August 03, 2010, 06:20:25 AM »
I ran into a problem with a fairly standard process that I thought I should share.
We have a screen that lists new user names for update in a MV field. When you highlight the name and press F5, it calls a process to DATA the name as the key for the maintenance screen. Effectively, the /PD.P has this code:
LOCAL NEW.USER
NEW.USER = @RECORD<1,@CNT>
DATA NEW.USER
EXEC "I*USERS*MAINT"
Today, one new name just wouldn't go in. It turns out that the problem was with the data. The name was formatted as "myname@1400"
I determined that the problem was the "@14" - it appears that SB+ translated this to an Edit key. Since @14 is the code for Escape, the maintenance screen just quit before any work could be done. I was able to manually enter the item, but the DATA statement really didn't work well at all.
--Tom
Logged
precisonline
President/Chief Technologist
Administrator
Rock Star
Posts: 1524
Re: Unusual DATA problem
«
Reply #1 on:
August 03, 2010, 06:23:23 AM »
Wow. I've never seen that before but you're right, the @ probably got interpreted by SB+. Did you try generating code for the screen to see how the @ signs are handled in data stacks?
Logged
-Kevin
Accidents "happen"; success, however, is planned and executed.
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Getting To Know You
=> Announcements
=> Big Thoughts / Cool Ideas
=> Rants & Raves
-----------------------------
Application Support
-----------------------------
=> Red Leaf
=> Activant/Prelude Support
=> Summit Support
=> Avante Support
=> PRC Support
-----------------------------
Training and Education
-----------------------------
=> Connect!
=> U2 Programming Questions
=> SB+ Programming Questions
=> Web Programming Questions
=> Business Intelligence / MITS
=> PC / Hardware / Miscellaneous Support
Loading...