|
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.
| Read-Only Topic
Go | Search | Notify | | Admin | New PM! |
Gold member
| show off...how about keep my job . I've been asked to product this report since monday. I guess i'll pull two reports and merge them LOL!!! now how does that help the others who want to pull this ....go figure.
WebFOCUS 7.6.2, MS Windows Server/______, Excel, PDF, HTML
| | |
Expert
| OK, I'll try to help: 1ST OFF - This is SCT BANNER / Student - Need to reverse the JOINs
JOIN FILE SLRRASG AT SLRRASG_PIDM TAG T1 TO
ALL FILE SLRMASG AT SLRMASG_PIDM TAG T2
WHERE T1.SLRRASG_PIDM EQ T2.SLRMASG_PIDM;
WHERE T2.SLRMASG_TERM_CODE EQ '200809';
END
-RUN
JOIN FILE SLRRASG AT SLRRASG_PIDM TAG T1 TO
ALL FILE AT_AR_BALANCE_BY_ENTITY AT PIDM_KEY TAG T3
WHERE T1.SLRRASG_PIDM EQ T3.PIDM_KEY;
WHERE T1.SLRRASG_ASCD_CODE EQ 'AC';
WHERE T1.SLRRASG_TERM_CODE EQ '&SLRRASG_TERM_CODE.Term Code.';
END
-RUN
I've never tried a PROMPT in a JOIN, see if the above works. If not put it down below. Now, report off of SLRRASG
DEFINE FILE SLRRASG
Name/A40V=LAST_NAME || (', ' | FIRST_NAME) || (' ' | MIDDLE_INITIAL);
END
TABLE FILE SLRRASG
BY Name NOPRINT
BY ID
BY Name
BY SLRRASG_TERM_CODE AS 'Term Code'
BY SLRMASG_MRCD_CODE AS 'Meal Plan'
BY SLRMASG_BEGIN_DATE AS 'Meal Begin Date'
BY SLRMASG_END_DATE AS 'Meal End Date'
BY SLRMASG_AR_IND AS 'Meal AR IND'
BY SLRRASG_BLDG_CODE AS 'Building'
BY SLRRASG_ROOM_NUMBER AS 'Room No.'
BY SLRRASG_BEGIN_DATE AS 'Room Begin Date'
BY SLRRASG_END_DATE AS 'Room End Date'
BY AMOUNT_DUE AS 'Amount Due'
BY MEMO_BALANCE AS 'Memo Balance'
Comment these out, they are now done in the JOIN
May need to put the 1st one back in
-*WHERE SLRRASG_TERM_CODE EQ '&SLRRASG_TERM_CODE.Term Code.';
-*WHERE SLRRASG_ASCD_CODE EQ 'AC';
-*WHERE SLRMASG_TERM_CODE EQ '200809';
See if this works for you... Tom
Tom Flynn WebFOCUS 8.1.05 - PROD/QA DB2 - AS400 - Mainframe
| | Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006 |
IP
|
|
Master
| quote: WHERE SLRRASG_TERM_CODE EQ '&SLRRASG_TERM_CODE.Term Code.'; WHERE SLRRASG_ASCD_CODE EQ 'AC'; WHERE SLRMASG_TERM_CODE EQ '200809';
I think the problem is in your where statement. Try changing this to:
WHERE (SLRRASG_TERM_CODE EQ '&SLRRASG_TERM_CODE.Term Code.'
AND SLRRASG_ASCD_CODE EQ 'AC' )
OR SLRMASG_TERM_CODE EQ '200809'
You might also want to change some of your BY statements and put them in a PRINT instead.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
| | Posts: 755 | Location: TX | Registered: September 25, 2007 |
IP
|
|
Guru
| SET ALL = PASS Includes parent instances that are missing descendants, even if WHERE or IF criteria exist to screen fields in the descendant segments that are missing instances (that is, a test on a missing segment passes). This will override the WHERE clauses for the short path, but has the side effect of giving you the people without rooms or meals also. You will need to HOLD and get rid of them. I think that Mickey's suggestion of using MATCH is the best - the MATCH wizard in DS makes it relatively painless. Cheers Stu
WebFOCUS 8.2.03 (8.2.06 in testing)
| | Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007 |
IP
|
|
Virtuoso
| I agree, use match, as much as I hate to do so, sometimes it's the only way to merge your data. The GUI is good for match. Occasionally or often depending on requirements use the GUI to get what you want, then fine tune it by editing the code. Remembering though if you do edit, the GUI is notorious for removing your fine tuning.
Leah
| | Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004 |
IP
|
|
| Please Wait. Your request is being processed... |
Read-Only Topic
Copyright © 1996-2020 Information Builders
|