List of Janus Web Server $functions
The following are the available Janus Web Server $functions.
See Notation conventions for methods for information about the conventions followed in the method descriptions.
$WEB | Determine whether running a web request |
$WEB_BROWSER | Retrieve browser version |
$WEB_CERT_INFO | Retrieve client certificate information |
$WEB_CERT_LEVELS | Determine number of client certificate levels |
$WEB_CIPHER | Determine SSL cipher used on connection |
$WEB_COOKIE_LEN | Length of cookie |
$WEB_COOKIE_NAME | Name of cookie |
$WEB_COOKIE_PARM | Value of cookie |
$WEB_DATE, $WEB_DATEND, $WEB_DATENM, and $WEB_DATENS | Current date as number |
$WEB_DATE2D, $WEB_DATE2N, $WEB_DATE2ND, $WEB_DATE2NM, $WEB_DATE2NS | Cnvt date to number |
$WEB_D2DATE, $WEB_N2DATE, $WEB_ND2DATE, $WEB_NM2DATE, $WEB_NS2DATE | Cnvt number to date |
$WEB_DBCS | Modify DBCS output translation |
$WEB_DEL_SEL | Delete a global select element |
$WEB_DONE | Send Web response |
$WEB_END_SES | Terminate a logical login session |
$WEB_END_SSLSES | Terminate an SSL session |
$WEB_EXPIRE | Set expiration date/time of Web response |
$WEB_FILE_CONTENT | Retrieve input contents |
$WEB_FLUSH | Clear contents of Web response buffer |
$WEB_FORM_ACTION | Return action URL |
$WEB_FORM_ACTION_LEN | Return action URL length |
$WEB_FORM_DONE | Send Web Response for a Form |
$WEB_FORM_LEN | Length of form field |
$WEB_FORM_LINE | Value of line in form field |
$WEB_FORM_NAME | Name of form field |
$WEB_FORM_PARM | Value of form field |
$WEB_FORM_NUM_LINE | Number of form field lines |
$WEB_FORM_PARM_LEN | Length of form field |
$WEB_FORM_PARM_LINE | Value of line in form field |
$WEB_FORM_PARM_LSTR | Value of form field to longstring |
$WEB_FORM_PARM_NUM_LINE | Number of form field lines |
$WEB_GET_COOKIE | Value of cookie |
$WEB_GET_COOKIE_LSTR | Value of cookie to longstring |
$WEB_HDR_LEN | Length of request header field |
$WEB_HDR_NAME | Name of request header field |
$WEB_HDR_PARM | Value of request header field |
$WEB_HDR_PARM_LSTR | Value of header parameter to longstring |
$WEB_INPUT_CONTENT | Retrieve input contents |
$WEB_IPADDR | IP address of browser |
$WEB_ISINDEX_LEN | Length of isindex field |
$WEB_ISINDEX_LINE | Value of isindex field line |
$WEB_ISINDEX_NAME | Name of isindex field |
$WEB_ISINDEX_NUM_LINE | Number of isindex field lines |
$WEB_ISINDEX_PARM | Value of isindex field |
$WEB_ISINDEX_PARM_LEN | Length of isindex field |
$WEB_ISINDEX_PARM_LINE | Value of isindex field line |
$WEB_ISINDEX_PARM_LSTR | Value of URL parameter to longstring |
$WEB_ISINDEX_PARM_NUM_LINE | Number of isindex field lines |
$WEB_LAST_MODIFIED | Specify date/time response last updated |
$WEB_LEN | Length of isindex or form field |
$WEB_LINE | Value of isindex or form field line |
$WEB_LIST_RECEIVE | Receive uploaded file into $list |
$WEB_LOGMSG | Get saved logon message |
$WEB_NAME | Name of isindex or form field |
$WEB_NOCACHE | Set HTTP response headers so fresh page displayed |
$WEB_NUM | Number of isindex and form fields |
$WEB_NUM_COOKIE | Number of cookies in request |
$WEB_NUM_FORM | Number of form fields with non-null data |
$WEB_NUM_HDR | Number of fields in request header |
$WEB_NUM_ISINDEX | Number of isindex fields |
$WEB_NUM_LINE | Number form or isindex field lines |
$WEB_NUM_LOGMSG | Number of saved logon messages |
$WEB_NUM_URL_PARM | Number of URL parameters |
$WEB_OFF | Suspend adding terminal output to response |
$WEB_ON | Resume adding terminal output to response |
$WEB_OUTPUT_CONTENT | Retrieve current output stream |
$WEB_OUTPUT_TYPE | Retrieve current output mime-type |
$WEB_PARM | Value of isindex or form field |
$WEB_PARM_LEN | Length of isindex or form field |
$WEB_PARM_LINE | Value of isindex or form field line |
$WEB_PARM_LSTR | Value of URL parameter or form field to longstring |
$WEB_PARM_NUM_LINE | Number form or isindex field |
$WEB_PASSWORD | Password sent by browser |
$WEB_PORT | Name of current &JWEBS port |
$WEB_PROC_RECEIVE | Receive uploaded file into procedure |
$WEB_PROCSEND | Add contents of procedure to response |
$WEB_PROTOCOL | Get security protocol being used for a request |
$WEB_PUT_BIN, $WEB_PUT_BINARY | Add binary string to response buffer |
$WEB_PUT_TEXT | Add text string to response buffer |
$WEB_REALM | Set web "realm" for "Unauthorized" response |
$WEB_REDIRECT | Re-route client to another server |
$WEB_RESPONSE | Set HTTP response header parameter |
$WEB_RESTORE_LIST | Restore saved $list |
$WEB_RESTORE_RECSET | Restore saved set of records |
$WEB_SAVE_LIST | Save contents of a $list |
$WEB_SAVE_RECSET | Save set of records |
$WEB_SAVE_SEL | Save a global select element |
$WEB_SCREEN | Set 3270 to HTML mapping options |
$WEB_SECURE | Check if thread running on secure port |
$WEB_SEL | Build select options from global select element, selected is string |
$WEB_SEL_CHECK | Check string against a global select element |
$WEB_SELP | Build select options from global select element, selected from parameters |
$WEB_SELP_CHECK | Check parameters against a global select element |
$WEB_SELPS | Build select options from delimited list of strings, selected from parameters |
$WEB_SELPS_CHECK | Check parameters against a delimited list of strings |
$WEB_SELS | Build select options from delimited list of strings, selected is string |
$WEB_SELS_CHECK | Check string against a delimited list of strings |
$WEB_SELSP | Build select options from delimited list of strings, selected from parameters |
$WEB_SELSP_CHECK | Check parameters against a delimited list of strings |
$WEB_SET_COOKIE | Set a cookie |
$WEB_SET_COOKIE_LSTR | Set a cookie from a longstring |
$WEB_SET | Change certain web connection settings |
$WEB_SUB | Set delimiter for procedure text substitution |
$WEB_TYPE | Set response content type |
$WEB_URL_DECODE and $WEB_URL_DECODE_LSTR | Do web URL decoding |
$WEB_URL_ENCODE and $WEB_URL_ENCODE_LSTR | Do web URL encoding |
$WEB_URL_PARM | Value of URL parameter |
$WEB_URL_PARM_LEN | Length of URL parameter |
$WEB_URL_PARM_LINE | Line of a URL parameter |
$WEB_URL_PARM_LSTR | Longstring URL parameter value |
$WEB_URL_PARM_NAME | Name of URL parameter |
$WEB_URL_PARM_NUM_LINE | Number of lines in a URL parameter |
$WEB_USER | User ID sent by browser |