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 CAR EXAMPLE where I have two query's, one has the main data I would pull fields from, the other query would have to run seperately for each row from the 1st query's results. I think this is some sort of REPEAT or LOOP. In any case, I need to create a new HOLD file based off of the results of the loop above I am talking about. Can anyone point me in the right direction, I would be most appreciative!!!
Happy weekend all!
Currenly working @ Learning Circle Education Services Previously worked @ Nationwide Insurance Prod: WebFOCUS 7.6.11
neuro, i'll take a shot: -SET &RECORD = ''; TABLE FILE CAR PRINT SALES BY COUNTRY BY CAR ON TABLE HOLD AS MYFILE FORMAT ALPHA END -RUN -top.loop -READ MYFILE NOCLOSE &RECORD.A32 -IF &IORETURN NE 0 GOTO end.loop; -SET &COUNTRY=EDIT(&RECORD,'9999999999'); -SET &CAR=SUBSTR(32,&RECORD,11,26,16,'A16'); -SET &SALES=SUBSTR(32,&RECORD,27,32,6,'A6'); EXEC SOMEFEX COUNTRY=&COUNTRY , CAR=&CAR , SALES=&SALES -RUN -GOTO top.loop ; -* or whatever you need to do -end.loop
note: most other focus installations on theplanet can do their -READ statment like this -READ MYFILE NOCLOSE &COUNTRY.A10. &CAR.A16. &SALES.A6. but for some reason my site won't work that way so i have to read the whole record and parse it. no big deal. note: whats &IORETURN? a system var that tells you when you've hit the end of file. 0 is record ok, non-zero is end of file. note: why do i HOLD FORMAT ALPHA rather than SAVE? because i want to eyeball at the master i create in order to make absolutely sure i know how big the fields are before i begin a -READ How do i do that? TABLE FILE CAR ..do stuff ON TABLE HOLD AS MYFILE FORMAT ALPHA END CHECK FILE MYFILE HOLD TABLE FILE HOLD PRINT * END ..i do this one time, in development , just to look at the field sizes, then erase this CHECK code. I could then change HOLD to SAVE, but i just dont.. Any help?This message has been edited. Last edited by: susannah,
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
0 NUMBER OF RECORDS IN TABLE= 18 LINES= 18 (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: SOMEFEX
Currenly working @ Learning Circle Education Services Previously worked @ Nationwide Insurance Prod: WebFOCUS 7.6.11