HPlogo HP Data Entry and Forms Management System (VPLUS) Reference Manual: HP 3000 MPE/iX Computer Systems > Appendix M Application Notes

How to Redirect $STDLIST in a VPLUS Application

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Problem Description

Whenever my VPLUS program gets error messages those messages are displayed in the unprotected fields on the screen. Why does this happen? How can I redirect the messages so that they are either displayed on the printer or written to another file?

Solution

These messages are being displayed on the screen because the error messages are written to the STDLIST, which by default is the terminal. When a VPLUS program is run, the error message will be displayed in the unprotected areas of the terminal.

To redirect the STDLIST so that the messages will be displayed to the printer, use these steps:

  1. :FILE LP;DEV=LP

  2. :RUN PROG;STDLIST=*LP

To redirect the STDLIST so the the messages will be written to file, use these steps:

  1. :BUILD OUTFILE;REC=-132,,F,ASCII;DISC=10000

  2. :RUN PROG;STDLIST=OUTFILE

Feedback to webmaster