Focal Point
AMPER VARIABLE Question

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3391045192

July 14, 2008, 05:06 PM
krishkasi
AMPER VARIABLE Question
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
July 14, 2008, 05:40 PM
GinnyJakes
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
July 14, 2008, 05:46 PM
Waz
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!

July 14, 2008, 05:55 PM
krishkasi
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