Focal Point
[CLOSED] Passing values in a hold file to master file while implementing DBA security

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

April 17, 2009, 02:29 PM
WFConsultant
[CLOSED] Passing values in a hold file to master file while implementing DBA security
I am trying to pass several userid values in a hold file to a field in DBA security in a master file. I know ways to pass one value or multiple values in a string. But, I am trying to pass several values in a hold file. I will highly appreciate if anyone have any suggestions or a sample code?

Here is the sample I am trying to accomplish

DBA=MRADMINISTRATOR, $
USER=DEVELOPER, $
ACCESS=R, RESTRICT=VALUE, NAME=SPM_PROJECTS, VALUE=USRID IN UIDHOLD, $

This message has been edited. Last edited by: Kerry,


WebFOCUS 8207.11
App Studio 8207
April 18, 2009, 08:37 PM
Jim Morrow
You could create a report that happens to be in the DBA file format. Then use the

ON TABLE HOLD AS myfile FORMAT WP

to put in a file. You will have to code a filedef.

The "report" might have to make use of HEADING SUBHEAD SUBFOOT and FOOTING and maybe a little mcguyver to get the syntax right.

I have done one that starts with a FOCUS master file and generates the DDL for an SQL table and the load statements.

This message has been edited. Last edited by: Jim Morrow,


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



May 20, 2009, 01:17 PM
WFConsultant
I could solve this issue. The hold file should be passed to the master file as follows.

DBA=MRADMINISTRATOR, $
USER=DEVELOPER, $
ACCESS=R, RESTRICT=VALUE, NAME=SPM_PROJECTS, VALUE=USRID EQ (UIDHOLD), $

The hold file UIDHOLD can have multiple values.


WebFOCUS 8207.11
App Studio 8207