How can Vision Builder programs utilize Above the Line storage?
KD for issue 36571019 for Vision Builder
How can Vision Builder programs utilize Above the Line storage?
The default is above the line storage. Typically, not an issue for most programs. Some programs may also call other programs that are in AMODE24. Then this would create a situation where you may want to adjust the individual program. Later in this article are some instructions and options that will assist you in overriding the M4PARAMS being utilized globally.
To alter storage above/below the line globally, as a default for ALL Builder programs you must use the setting in the M4PARAMS member of BLSAMP. This is where all global options are established during install and/or maintenance updates.
Your hlq.BLSAMP(M4PARAMS)
Look for this parameter in your M4PARAMS; AMODE31 EQU āNā will tell the product to only use 24bit storage below the line. āYā will tell the product to only utilize 31bit above the line storage for all processing. Remember, these are GLOBAL options.
AMODE31 EQU C'Y' FILE PROCESSING AMODE(31) = YES
This setting/parameter is discussed in the Vision Builder Install Guide page B-5 and the example in this document can be found on page B-13.
Bear in mind that the use of many older programs that call other older programs may still require 24bit storage based on their design and intent. The question arises, do you want to globally make all programs 31bit or selectively decide to use the program setting to use 31bit/24bit storage?
You should review this carefully before you make a global change.
To utilize above the line storage (above the 16m line) on z/OS you can utilize the following parameters in your Vision Builder program. This is for a specific program and not a global setting.
In the Vision Builder Specifications Guide page 2-225 the following can be used to acquire above the line storage.
31-BIT YES
Ex: IMSDEFS RP31-BIT YES
In the Vision Builder Specifications Guide page 2-228 the following can be used to obtain more storage, larger getmain values.
MAXGETMN 8192K
Ex: IMSDEFS RPMAXGETMN 8192K
The results of the examples would be utilizing above the line storage and use increments of 8192K for each GETMAIN required for the program.
If you are utilizing ASL Builder code then the same process can be implemented. You can find this discussion in the Vision Builder ASL Reference Guide page 3-14.
Ex: CONTROL AMODE 31, GETMAIN 8192K
NOTE:
Keep in mind that the global parameters (M4PARAMS) are traditionally set up for most significant processing. However, these documented override capabilities should be reviewed and tested before implemented into any production stream.