Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
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
Go
New
Search
Notify
Tools
Reply
  
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, 2006Reply With QuoteReport 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, 2005Reply With QuoteReport 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, 2005Reply With QuoteReport 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 - http://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, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.