Version 6.3.8 for OpenVMS
 —  Web Technology  —

List non-Natural File - Resource

Subprogram Name Executable Example Viewable Example

NAT-RES

NAT-RES?source=e3xslt2.xml&lib=sysweb
NAT-RES?source=composing_natural_logo.jpg&lib=sysweb3
NAT-RES/sysweb3/e3put.html

NAT-RES

Restriction

Only available on platforms with shared resources.

Description

Generates an HTML page with the listing of a Natural source object. Depending on the definition at the text member MIMEDATA the data will be transferred as binary or as alphanumeric data.

Parameters
LIB= Natural LIBRARY
SOURCE= Resource name with extension
How To Invoke
nat-res?source=e3xslt2.xml&lib=sysweb3
How To Invoke with extended URL syntax

Instead of specifying the parameters LIB= and SOURCE=, library and source name can be added directly after the program name. nat-res/<yourlibrary>/<yourresource>

Extended Functionality

If the HTTP server is PUT enabled, NAT-RES can be used to write back to the HTTP server with an HTTP put request.

To activate the PUT capability, modify the subprogram NAT-RES by setting the variable F_PUT to TRUE and recatalog the subprogram NAT-RES.

Top of page