As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Is there a simple command (like ?FF) that outputs the description of the master file, including field names, aliases, formats, etc.?This message has been edited. Last edited by: FP Mod Chuck,
Ok. I was also wanting to look at information about the table suffix and indexes in a format similar to the way we often see master file descriptions displayed. I guess I can also TABLE the results of CHECK FILE to retrieve this information.
I am curious, though, if there is a command that returns the information to display like this:
I would open the master in the text editor, to view its contents.
Just for curiosity...
-DEFAULTH &LINEREAD ='DUMMY'
-* Assign Car Master to a logical fileaname.
FILEDEF TESTME DISK IBISAMP/EMPDATA.MAS (LRECL 70
-RUN
-* Read through the file and print each line.
-REPEAT ENDOFLOOP 200 TIMES
-READ TESTME &LINEREAD.A70.
-IF &IORETURN NE 0 GOTO ENDOFREAD;
-TYPE &LINEREAD
-ENDOFLOOP
-*
-ENDOFREAD
Chuck, there isn't a need for users to see things this way per se. We are currently migrating some of our programs from FOCUS for AS400 to WebFOCUS, and this is the way master file descriptions are displayed in the old system. It's just for ease of comparison between the two platforms and to help us learn how things work together and are different as we make the transition.
You may need to substitute filedef & alter the size of line, depending on your environment/coding technique. This approach is from a method to extract filedef'd configuration files on a server, such as edaserve, etc.
DYNAM ALLOC FI MFD DA MASTER.DATA(MFD) SHR REU TABLEF FILE MFD PRINT LINE END
LINE ---- FILENAME=MFD,SUFFIX=FIX,$ SEGNAME=ONE,SEGTYPE=S0,$ FIELD=LINE, ,A80,A80,$
NUMBER OF RECORDS IN TABLE= 3 LINES= 3
This message has been edited. Last edited by: Pete Conlin,