Environment variable

By kimot, 24 December, 2022

This SQL allows you to see Environment variables already set on your LPAR :

SELECT VAR_TYPE AS TYPE, 
       CAST(VAR_BNAME AS CHAR(50)) AS NAME,
       VAR_BVALUE AS VALUE,
       VAR_CCSID AS CCSID
FROM QSYS2.ENVIRONMENT_VARIABLE_INFO;