IBM Books

Net.Data Reference Guide


Predefined Variables

These variables provide information about file locations and dates. You might find these variables useful in functions you write or use them when testing your Net.Data macros. You cannot modify these variables with DTW_ASSIGN.

DTW_CURRENT_FILENAME

Purpose


AIX HP-UX OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X

Name and extension of the current input file. This file is either a Net.Data macro or an input file from an INCLUDE statement.

Examples

<P>This file is <I>$(DTW_CURRENT_FILENAME)</I>,
and was updated on $(DTW_CURRENT_LAST_MODIFIED).

DTW_CURRENT_LAST_MODIFIED

Purpose


AIX HP-UX OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X

The date and time the current file was last modified. The current file can be a Net.Data macro file or a file specified in an INCLUDE statement. The output format is determined by the system on which Net.Data runs.

Examples

<P>This file is <I>$(DTW_CURRENT_FILENAME)</I>,
and was updated on $(DTW_CURRENT_LAST_MODIFIED).

DTW_MACRO_FILENAME

Purpose


AIX HP-UX OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X

Name of the current Net.Data macro including the extension.

Examples

<P>This Net.Data macro is <I>$(DTW_MACRO_FILENAME)</I>,
and was updated on $(DTW_MACRO_LAST_MODIFIED).

DTW_MACRO_LAST_MODIFIED

Purpose


AIX HP-UX OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X

Date and time the Net.Data macro was last modified. The output format depends on the system on which Net.Data runs.

Examples

<P>This Net.Data macro is <I>$(DTW_MACRO_FILENAME)</I>,
and was updated on $(DTW_MACRO_LAST_MODIFIED).

DTW_MP_PATH

Purpose


AIX HP-UX OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X

Path and name of the Net.Data executable. Depending on your system, output is similar to this:

usr/lpp/internet/server_root/cgi-bin/db2www

Examples

The Net.Data executable is $(DTW_MP_PATH).

DTW_MP_VERSION

Purpose


AIX HP-UX OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X

Version and release number of Net.Data running on the server. Output is in this format:

Net.Data Version 1.0.3.

Examples

This Web application uses $(DTW_MP_VERSION).


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]