0% found this document useful (0 votes)
14 views2 pages

How To Display SQLplus Output in The PE Graphic.

Uploaded by

Nazmul Hasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

How To Display SQLplus Output in The PE Graphic.

Uploaded by

Nazmul Hasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

How to display SQLplus Output in the PE Graphic.

Products: Aspen SQLplus


Last Updated: 03-Nov-2020
Versions: V14.3, V14.2, V14.0, V12.2, V12.0, V11.0, V10.0, V9.0, V8.8, V8.7, V8.5, V8.4, V8.0, V7.3,
V7.2, V7.1
Article ID: 000070506
Primary Subject: Query Syntax

Problem

How to display a SQLplus Output in a PE Graphic.

Solution

Generally a QueryDef record will write the output in the #OUTPUT_LINES, which can be displayed as data field in Apex.

So, let?s say we are running a query to read the IP_INPUT_VALUE from a tag:

SELECT IP_INPUT_VALUE

FROM ATCAI

In Aspen Process Graphic

In data field properties you would put the Tag Name, and select the Attribute as OUTPUT_LINE

See below:

The problem with this query is that output would show the first line of your results:
IP_INPUT_VALUE

--------------

1.88

To solve this you will need to remove the header, in order to output only the actual value:

SET COLUMN_HEADERS FALSE;

SELECT IP_INPUT_VALUE FROM ATCAI;

As you can see below, this will only display the value, and not the header.

Keywords

SQLplus

PE Graphic

You might also like