I have taken a synonym file (.mas) with its .acx cohort and changed the name of a segment containing 3 fields.
I changed 1 of the field names, but not its format, changed one of the original fields and its format (from A36V to P9).
I did this by copying original mas and acx code from dev. and pasting into notepad.
Beforehand, I made copies of each dev. file with names like *_old.mas and *_old.acx.
I am new to this synonym and acx file stuff, and I can't find much documentation about GUI_PARAMS..
After I pasted my new .mas and .acx files into my dev. environment I ran a simple TABLE request against the synonym.
Error:
(FOC1141) NO DEFAULT KEYWORD FOR VALUE 804. NEW_CASH_FLOWS LN 21 --------------------vvv GUI_PARAMS=0,100,804,148,852,278,160', KEYS=1, $
FOC1141) NO DEFAULT KEYWORD FOR VALUE 154. NEW_CASH_FLOWS LN 24 --------------------vvv GUI_PARAMS=0,306,154,354,202,278,160', KEYS=1, $ (FOC1354) ACCESS FILE RECORD ABSENT, WRONG OR INCOMPLETE FOR SEGMENT : ACCESS_GROUP
Can anyone provide any insight into what might be going on here?
Thanks,This message has been edited. Last edited by: Tomsweb,
I believe if you change a synonym field name for a relational table, the ALIAS must still contain the real name of the DB column - or maybe I have it backwards: you can change the ALIAS name but the FIELDNAME must reflect the real column name. Secondly, you can't change A36V to P9 unless the Oracle column is in fact a packed decimal.
WebFOCUS 7.7.05
September 08, 2010, 02:55 AM
Tony A
Dan,
Just to confirm, it is the ALIAS that must match the actual column name.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
September 08, 2010, 11:47 AM
Tomsweb
Thanks Tony and Dan. Sometimes this forum provides better insight than the documentation, because people are speaking from experience!
FYI - back when IBI started accessing DB2, they used the ALIAS for the real field name and if the name was too long, it could be put in the access file. It then didn't disrupt the column headings and other things based on fieldname.
When I have to do a MFD(master file) by hand, I avoid using ALIAS, unless I have to.