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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     AMPER VARIABLE Question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
AMPER VARIABLE Question
 Login/Join
 
Gold member
posted
Hi All,
Can you please clarify my doubts below?

What is the maximum length of alphanumeric value an amper variable can hold?

What is the maximum amper variables can be used inside a single fex?

Thanks a lot in advance.


Regards,
Kasi Krishnan
WF 7.1.4 & WF 7.6.9: Databases - DB2, SQL Server 2000.
OS: Windows & AIX
 
Posts: 71 | Registered: November 20, 2003Report This Post
Expert
posted Hide Post
I found all of this by doing an advanced search. Please see upper right-hand corner of this page:

General rules for supplying values for variables:

The lengths of values stored in Dialogue Manager (amper) variables vary by context:

When used with the commands -READ, -TYPE, and WRITE, the maximum length of a variable is approximately 32,000 characters (32K).

When used with other Dialogue Manager commands or the EX command, a variable value cannot exceed 4,096 character (4K).

The maximum number of amper variables available in a procedure is 1024, of which approximately 40 are reserved for use by FOCUS. This includes all local, global, system, statistical, special, and index variables.

This is the link I used.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
Ginny, that is what the Documentation says, but I have produced more than 3000 variables, it is related to the combined length of the variables as well.

The best course of action is as always, follow the documentation, and you can get support if there are any problems.

Also, for those that don't know, the length of an amper variable name can be up to 100 chars (although I don't know why).


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Thank you so much Ginny and Waz.


Regards,
Kasi Krishnan
WF 7.1.4 & WF 7.6.9: Databases - DB2, SQL Server 2000.
OS: Windows & AIX
 
Posts: 71 | Registered: November 20, 2003Report 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     AMPER VARIABLE Question

Copyright © 1996-2020 Information Builders