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.
I have a situation where i need to call a procedure A from Procudure B.
-REPEAT :LOOP FOR &CNT FROM 1 TO &TCOUNT; (say its 10) -SET &TestRequest = &TestRequest.&CNT; -INCLUDE proc1.fex -:LOOP
In the above code.. Iam trying to call proc1.fex for 10 times with different &testRequest (parameters). I wanted to generate 10 different reports with different parameters passed to proc1.fex.
The above code is generating only 1 page with 1st parameter.
hi Jack Dont have an -EXIT command in b2765rp2 program.
-* Prog1.fex -SET &ECHO = ALL; -*-SET &STACK=ON; -IF &TestRequest0.EXISTS THEN GOTO HERE; EX app/b2765rp2 TestRequest = &TestRequest -RUN -HERE -SET &TCOUNT = &TestRequest0 ; -REPEAT :LOOP FOR &CNT FROM 1 TO &TCOUNT; EX app/b2765rp2 TestRequest = &TestRequest.&CNT -RUN -:LOOP
Error Message:- -*-SET &STACK=ON; -IF 1 THEN GOTO HERE; -HERE -SET &TCOUNT = 2 ; -REPEAT :LOOP FOR CNT FROM 1 TO 2; EX app/b2765rp2 TestRequest = 800 -RUN (FOC1538) 4GL procedure doesn't exist: b2765rp2 -REPEAT :LOOP FOR CNT FROM 1 TO 2; EX app/b2765rp2 TestRequest = 802 -RUN (FOC1538) 4GL procedure doesn't exist: b2765rp2 -REPEAT :LOOP FOR CNT FROM 1 TO 2; -:LOOP
- I dont know why the program is not executing with EX command. But if i use -Include statement. It works fine.
But What i need is Each TestRequest should generate a report in different browser window. In the above case.. I should get 2 reports in 2 different windows.
if so, do this: put a blank space in front of the EX command.
now..if that works, its illegal. the legal way to do it is -MRNOEDIT EX fexname PARM1 = 'VALUE1' or.. -SET &PARM1 = 'VALUE1' ; -SET &PARM2 = ...etc -MRNOEDIT EX fexname
i don't use apppath so i dont know about the syntax app/fexname ; i use edapath (because i'm a dinosaur) and just fexname works for me. and -INCLUDE fexname works just fine. But that may be illegal, too. -MRNOEDIT -INCLUDE fexname is supposed to be the legal way, i'm told. I have all this on good authority from one of the supreme wizards at Summit.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Originally posted by delvegas: [qb] hi Jack ... Error Message:- ... -REPEAT :LOOP FOR CNT FROM 1 TO 2; EX app/b2765rp2 TestRequest = 800 -RUN (FOC1538) 4GL procedure doesn't exist: b2765rp2 ... - I dont know why the program is not executing with EX command. But if i use -Include statement. It works fine. . . . Delve [/qb]
So omit the app/ qualifier, but make sure the APP declarations (or edapath, as the case may be) in effect on the EDA (oops, WFR) server lead to its real directory.
My impression is that MRNOEDIT has no effect on EX (or any other Focus [non-dialog-mgr] statement). Normally, MR does the inline substitution of -INCLUDE based on its repository; with MRNOEDIT, the statement is passed verbatim to EDA (there I go again) as part of an adhocfex.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005