Focal Point
[CLOSED]DB_INFILE giving me fits

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7197043086

January 18, 2016, 03:02 PM
Mike in DeLand
[CLOSED]DB_INFILE giving me fits
Man, today has been one brick wall after another.

I'm working on some DBA security, and I want to use DB_INFILE. In my source synonym, I have a defined field as ME/A150 = UPPER(CNCTUSR('A150')).

In a separate file, I have a field called USERNAME that is an actual field in the table (not a DEFINE).

So, my DB_INFILE says (the_other_file, ME, USER_FIELD).

I keep getting strange error
END
0 ERROR AT OR NEAR LINE 1 IN PROCEDURE Account_ListFOCEXEC *
(FOC32499) INVALID USE OF FIELD NAME IN DB_LOOKUP/DB_INFILE: USER_FIELD
(FOC009) INCOMPLETE REQUEST STATEMENT
BYPASSING TO END OF COMMAND

Has anyone seen this?

This message has been edited. Last edited by: <Emily McAllister>,


Webfocus 8
Windows, Linux
January 18, 2016, 03:28 PM
Francis Mariani
quote:
(FOC32499) INVALID USE OF FIELD NAME IN DB_LOOKUP/DB_INFILE: %1
Only real fields in the lookup Master File are valid as lookup and return fields.


I don't think this will be of any help, but perhaps modifying the DEFINE will correct the problem:

ME/A150 WITH CNCTUSR = UPPER(CNCTUSR('A150')).



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
January 18, 2016, 03:29 PM
Francis Mariani
Or, shouldn't DB_INFILE be referencing USERNAME?

DB_INFILE says (the_other_file, ME, USERNAME)



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server