Version 6.3.8 for OpenVMS
 —  Web Technology  —

List All Environment Variables

Subroutine Name Executable Example Viewable Example

W3LIST-ENVIRONMENT
W3LIST-ENVIRONMENT-TO-DYNAMIC

E3ENVLIS

E3ENVLIS

Description

List all variables sent by the HTTP server.

Parameters
  1. W3LIST-ENVIRONMENT

    1 W3START            (I4)       /* io/m : Offset to be started at
    *                               /*        out: 0 no occurrences                    
    *                               /*        out: >0 more occurrences
    1 W3ARRAYCOUNTER     (A72/1:V)  /* io/m : Length of array returned values
    1 W3ARRAYNAME        (A250/1:V) /*  o/m : Name of variables
    1 W3ARRAYVALUE       (I4/1:V)   /*  o/m : Value of variables
    1 W3ARRAYVALUELENGTH (L/1:V)    /*  o/m : Length of variables
    1 W3ARRAYVALUESERVER (I4)       /*  o/m : Variable belongs to
    1 W3ARRAYMAXIMUM                /*  o/m : Total number of variables
    
  2. W3LIST-ENVIRONMENT-TO-DYNAMIC

    1 W3START            (I4)           /* io/m : Offset to be started at
    *                                   /*        out: 0 no occurrences
    *                                   /*        out: >0 more occurrences
    1 W3ARRAYCOUNTER     (A/1:V)dynamic /* io/m : Length of array returned values
    1 W3ARRAYNAME        (A/1:V)dynamic /*  o/m : Name of variables
    1 W3ARRAYVALUE       (I4/1:V)       /*  o/m : Value of variables
    1 W3ARRAYVALUELENGTH (L/1:V)        /*  o/m : Length of variables
    1 W3ARRAYVALUESERVER (I4)           /*  o/m : Variable belongs to
    1 W3ARRAYMAXIMUM                    /*  o/m : Total number of variables
    
How To Invoke
PERFORM W3LIST-ENVIRONMENT W3START W3NAME W3ARRAYCOUNTER
        W3ARRAYNAME(*) W3ARRAYVALUE(*) W3ARRAYVALUELENGTH(*)
        W3ARRAYVALUESERVER(*) W3ARRAYMAXIMUM

Top of page