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)       /* IN/OUT: START FORM
    *                               /* out: = 0 :all read
    *                               /*      > 0 :data left, reread form here
    1 W3ARRAYCOUNTER     (I4)       /* IN/OUT: LENGTH OF THE ARRAY TO RETURN
    1 W3ARRAYNAME        (A72/1:V)  /*    OUT: NAME OF THE VARIABLE
    1 W3ARRAYVALUE       (A250/1:V) /*    OUT: VALUE OF THE VARIABLE
    1 W3ARRAYVALUELENGTH (I4/1:V)   /*    OUT: LEN OF THE VARIABLE
    1 W3ARRAYVALUESERVER ( L/1:V)   /*    OUT: Server Variable
    1 W3ARRAYMAXIMUM     (I4)       /*    OUT: NUMBER OF THE VALUES
    
  2. W3LIST-ENVIRONMENT-TO-DYNAMIC

     
    1 W3START            (I4)              /* IN/OUT: START FORM
    *                                      /* out: = 0 :all read
    *                                      /*      > 0 :data left, reread form here
    1 W3ARRAYCOUNTER     (I4)              /* IN/OUT: LENGTH OF THE ARRAY TO RETURN
    1 W3ARRAYNAME        (A/1:V) DYNAMIC   /*    OUT: NAME OF THE VARIABLE
    1 W3ARRAYVALUE       (A/1:V) DYNAMIC   /*    OUT: VALUE OF THE VARIABLE
    1 W3ARRAYVALUESERVER (L/1:V)           /*    OUT: Server Variable
    1 W3ARRAYMAXIMUM     (I4)              /*    OUT: NUMBER OF THE VALUES
    
How To Invoke
  1. PERFORM W3LIST-ENVIRONMENT W3START W3NAME W3ARRAYCOUNTER
            W3ARRAYNAME(*) W3ARRAYVALUE(*) W3ARRAYVALUELENGTH(*)
            W3ARRAYVALUESERVER(*) W3ARRAYMAXIMUM
    
  2. PERFORM W3LIST-ENVIRONMENT-TO-DYNAMIC W3START W3NAME W3ARRAYCOUNTER
            W3ARRAYNAME(*) W3ARRAYVALUE(*) W3ARRAYVALUESERVER(*)
            W3ARRAYMAXIMUM
    

Top of page