Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using X_RUN the details WebRoutine is invoked, passing employee number as a parameter so that the web page containing data for the requested employee can be written to a file.

To execute a WAM, the parameters required by the X_RUN command for Windows are as follows:

Argument

Value

PROC

*WAMSP is the value to activate the "output to file" function

WMOD

WAM Name

WRTN

WebRoutine Name

WAML

Mark up language, e.g. LANSA:HTML

PART

Partition

LANG

Language, e.g ENG

USER

User. Optional for some platforms

WASP

Output file path where the output will be saved. Format depends on platform.

e.g. for Windows 

c:\temp\wam_output.html

The format of the X_RUN command for Windows is:

...