4 7 8 JSMTRCENV

LANSA Integrator

4.7.8 JSMTRCENV

The JSMTRCENV program can be used in the JSMADMEXT, JSMPXYEXT, JSMDRTEXT and JSMLSAEXT program to print all available CGI environment variables out to the HTTP instance job log.

The HTTP Apache server stores the QUERY_STRING variable value in ASCII.

The JSMGETENV program will convert the QUERY_STRING value from ASCII to EBCDIC.

 

CALL PGM(JSMTRCENV)

 

This is a CGI job for IBM HTTP Server instance JSMAPACHE.

-------- Start --------

QIBM_USE_DESCRIPTOR_STDIO=Y

UNIQUE_ID=Az2swAoCAKoAABjpFFMAAAAC

SCRIPT_URL=/cgi-bin/jsmdirect

SCRIPT_URI=http://LANSA01:1099/cgi-bin/jsmdirect

HTTP_HOST=lansa01:1099

CONTENT_TYPE=application/json

HTTP_ACCEPT_ENCODING=gzip, deflate

HTTP_ACCEPT=*/*

HTTP_REFERER=file://C:\Documents%20and%20Settings\alick.SYD\Desktop\Browser%20Client\JSONService.html

CONTENT_LENGTH=515

HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

HTTP_X_PROXY_VERSION=11.4.0

HTTP_X_PROXY_SERVER_NAME=LANSA01

HTTP_X_PROXY_SERVER_PORT=1099

HTTP_X_PROXY_REMOTE_ADDRESS=10.2.1.47

HTTP_ACCEPT_LANGUAGE=en-au

HTTP_CONNECTION=Keep-Alive

HTTP_CACHE_CONTROL=no-cache

PATH=/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin

SERVER_SIGNATURE=

SERVER_SOFTWARE=Apache

SERVER_NAME=LANSA01

SERVER_ADDR=10.2.0.170

SERVER_PORT=1099

REMOTE_ADDR=10.2.0.170

DOCUMENT_ROOT=/www/jsmapache/htdocs

SERVER_ADMIN=[no address given]

SCRIPT_FILENAME=/QSYS.LIB/DEVJSM.LIB/JSMDIRECT.PGM

DOCUMENT_NAME=/QSYS.LIB/DEVJSM.LIB/JSMDIRECT.PGM

REMOTE_PORT=5094

GATEWAY_INTERFACE=CGI/1.1

SERVER_PROTOCOL=HTTP/1.0

REQUEST_METHOD=POST

QUERY_STRING=¦Ë?>

REQUEST_URI=/cgi-bin/jsmdirect?json

SCRIPT_NAME=/cgi-bin/jsmdirect

DOCUMENT_URI=/cgi-bin/jsmdirect

RULE_FILE=conf/httpd.conf

CGI_MODE=BINARY

CGI_OUTPUT_MODE=BINARY

IBM_CCSID_VALUE=37

CGI_EBCDIC_CCSID=37

CGI_ASCII_CCSID=819

FSCP=37

NETCP=819

HTTPS=OFF

HTTP_X_DIRECT_VERSION=11.4.0

--------- End ---------