GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Dependency between parameters

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



Rules for deducing the dependency between string and array parameters are as follows:

  1. Look for any dependencies between parameters - the parameter names length and count always show dependencies but they are not the only ones. You must read the parameter descriptions to be sure.
    
    
  2. When you have found a dependency, check whether the item it describes is numerical or a character string.
    
    
  3. If there is one dependency, it is the number of elements in a one-dimensional array for numbers, or the length for a character string.
    
    
  4. If there is more than one dependency:
    
    
    For numerical parameters: The number of dependencies specifies the number of dimensions; the first item in the list becomes the number of elements in the first dimension, the second item becomes the number of elements in the second dimension, and so on.
    For string parameters: The number of dependencies is one more than the number of dimensions of the array. The last dependency is the length of each of the strings in the array. Prior dependencies specify the number of elements in each dimension.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012