Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     I have hold file and i need to assign it to webfocus variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
I have hold file and i need to assign it to webfocus variable
 Login/Join
 
Member
posted
I have a hold file and i need to assign it to webfocus variables.
 
Posts: 9 | Registered: November 16, 2006Report This Post
Virtuoso
posted Hide Post
Naveen,

Please modify your profile and add what platform you are on in the Signature spot.
Can you also give us a little more detail on what you are trying to do here.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
Why not declare the variable first and hold it AS that name?

-SET &HOLDFILE = 'CARHOLD';

TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD AS &HOLDFILE
END


PROD:WebFOCUS 7.6.11 on UNIX accessing FOCUS, Oracle, SQLServer
TEST: WebFOCUS 7.7.1 on UNIX accessing FOCUS, Oracle, SQLServer
 
Posts: 28 | Location: USA | Registered: March 24, 2005Report This Post
Platinum Member
posted Hide Post
Naveen :
If you are talking about assigning Hold file data to amper variables, please look up this previous post - https://forums.informationbuilders.com/eve/forums/a/tpc/...1057331/m/4351077991 .

If you have multiple rows in the hold file, you can put the -READ in a -REPEAT loop like this .
-*
-*
-REPEAT LOOP99 WHILE &IORETURN EQ 0;
-SET &ICNT = &ICNT + 1 ;
-SET &FLD1.&ICNT = &F1X ;
-SET &FLD2.&ICNT = &F2X ;
-SET &FLD3.&ICNT = &F3X ;
-READ HSAVE &......
-LOOP99
-*
And please update your signature, so its easy to answer such Qs.

Hope that helps,
Sandeep Mamidenna


-------------------------------------------------------------------------------------------------
Blue Cross & Blue Shield of MS
WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !! Music
 
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     I have hold file and i need to assign it to webfocus variable

Copyright © 1996-2020 Information Builders