Focal Point
[CLOSED] &&IBI_IF_FLDS

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

February 17, 2011, 12:20 PM
Dan Pinault
[CLOSED] &&IBI_IF_FLDS
Hi there,

Consider the following scenario:

User profile (myprofile.prf) looks like this...
-SET &&IBI_IF_APPS = e:\ibi\apps\psr_preload\includeApps.fex;

-SET &&IBI_IF_FILE = e:\ibi\apps\psr_preload\includeFiles.fex;

-SET &&IBI_IF_FLDS = e:\ibi\apps\psr_preload\includeFields.fex;


The .fex files referenced in myprofile.prf look like this...
includeApps.fex
WHERE APPNAME EQ 'ibisamp'


includeFiles.fex
WHERE NAME EQ 'CAR' OR 'PERSINFO'


includeFields.fex
WHERE NAME NE 'COUNTRY'


The result is that the only masters visible in InfoAssist (or ReportAssist, etc.) are CAR and PERSINFO. I can use all the fields in either master except COUNTRY.

Here is my question - Let's say I want to exclude the COUNTRY field from CAR but not from PERSINFO. According to this document this is possible - "To limit selections to specific files, use the TBNAME attribute."

However, there is no example of how to do it this way and I can't seem to get it working. Can anybody shed some light on this subject for me?

Thanky kahndly (getting my accent ready for Summit Wink )

Dan

This message has been edited. Last edited by: Dan Pinault,


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
February 17, 2011, 12:41 PM
Tom Flynn
quote:
TBNAME


Hi Dan, it's right here.

It is in conjunction with TABLEing from SYSCOLUM..

Do a find on TBNAME...

hth


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
February 17, 2011, 01:47 PM
Dan Pinault
Well bless yore hart Tom,

That shore-doo look like the same document. Even when I go back and read it again I still caint find any explicit edgy-cation.

However, like you toad me, it has to do with TABLEing the SYSCOLUM master.

Once I started thinking about it in those terms I was able to come up with a idear that works. In dis-hyeer example I am filtering out the entire WARANT segment from the CAR file and I am also filtering out the COUNTRY column from the CAR file yet I am showing all columns from the PERSINFO file.

includeFields.fex
WHERE ((TBNAME EQ 'CAR') AND (SEGNAME NE 'WARANT') AND (NAME NE 'COUNTRY')) OR (TBNAME EQ 'PERSINFO')


I reckon that warnt purt-near as aggervatin as I thunk wadn't it?!

See y'all,

Dan

translation available hyeer


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.