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. New TIBCO Community Coming Soon In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch. What You Need to Know about Our New Community We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion. During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
Focal Point    Focal Point Forums    WebFOCUS/FOCUS Forum on Focal Point     AMPER VARIABLE Question

 Go Search Notify Tools
 AMPER VARIABLE Question
Gold member
 posted July 14, 2008 05:06 PM
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?

Regards,
Kasi Krishnan
WF 7.1.4 & WF 7.6.9: Databases - DB2, SQL Server 2000.
OS: Windows & AIX

 Posts: 71 | Registered: November 20, 2003 IP
Expert
 posted July 14, 2008 05:40 PM Hide Post

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

 Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006 IP
Expert
 posted July 14, 2008 05:46 PM 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.04 Upgrade: WebFOCUS 8.2.07 OS: Linux Outputs: 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, 2006 IP
Gold member
 posted July 14, 2008 05:55 PM 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, 2003 IP