Version 4.2.6 for Mainframes
 —  Web Technology  —

Read Environment Variables Groups

Subroutine Name Executable Example Viewable Example

W3READ-ENVIRONMENT-GROUP

E3ENVGRO?test=a&test=bb&test=cc

E3ENVGRO

Description

Reads all variables with the same name, e.g. set from a multiple select.

Parameters
1 W3START        (I4)        /* io/m : Offset to be started at
*                            /*        out: 0 no occurrences
*                            /*        out: >0 more occurrences
1 W3NAME         (A) DYNAMIC /* i /m : Name of variable 
1 W3VALUESERVER  (A1)        /* i /m : Search for variables in
*                            /*        'S' server
*                            /*        'P' page or URL
*                            /*        ' ' both
1 W3ARRAYCOUNTER (I4)        /* io/m : Length of array,
                             /*        returned values
1 W3ARRAYVALUES  (A250/1:V)  /*  o/m : Values of variable
1 W3ARRAYMAXIMUM (I4)        /*  o/m : Total number of variables 
How To Invoke
PERFORM W3READ-ENVIRONMENT-GROUP W3START W3NAME
        W3VALUESERVER W3ARRAYCOUNTER
        W3ARRAYVALUES(*) W3ARRAYMAXIMUM

Top of page