SQR 6458 – Unsupported Grafcap device

When I tried running a custom developed SQR program, which has a bar chart, the error ”Unsupported Grafcap device –SQR 6458” was reported by the SQR engine. Even when I tried bar100.sqr program, which is a delivered SQR, the same error persisted. With a little bit of digging around, I found that there are three things to be considered while running any program with bar/pie/histogram etc.

  • stimages.dll
  • Libsti.ini
  • SQR File Path

Stimages.dll

Stimages.dll  is the library file  needed to run any program with bar/pie/histogram etc .It is usually  present in the PS_HOME directory. Check this file in the below path
<PS_HOME>\bin\sqr\ora\binw”
This file is made available when you install PeopleTools. If it is not present in your PS_HOME try re-installing it.

Libsti.ini

There is an INI file called Libsti.ini that should be in the C:\WINDOWS directory on the machine that the SQR is being run on. The ini file contains certain settings that need to be valid in order to avoid this error and view the desired chart results. Below are the contents of the file. Make sure they are set correctly. If the Libsti.ini is not present in the directory manually create the file using the following parameter and save it as Libsti.ini.
IPT=<PS_HOME>\bin\sqr\ORA\BINW
GRAF=mw
GPATH=<PS_HOME>\bin\sqr\ORA\BINW

SQR File Path

Bar100.sqr is the sample SQR program which is present in the PS_HOME\bin\sqr\ora\samplew directory. It should be placed in the binw directory as follows

<PS_HOME>\bin\sqr\ORA\BINW\bar100.sqr”

After placing the custom SQR in this path, the sqr runs successfully.

Advertisements

About PARTHASARATHY.G
I am working as an Associate DBA in fugo consulting.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: