Database Administration (MOSC)

MOSC Banner

not able to print using sqlplus nghuman@RMSPRD

edited Oct 29, 2012 11:12AM in Database Administration (MOSC) 13 commentsAnswered
We have a customized form to print some orders. I am able to run this package without any error if I login using
sqlplus
username
password
but it doesn't work with
sqlplus username@RMSPRD
Password

dbrmsproddb:/app/oracle/product/10.2.0/network/admin $ sqlplus nghuman@RMSPRD

SQL*Plus: Release 10.2.0.5.0 - Production on Tue Oct 16 15:29:56 2012

Copyright (c) 1982, 2010, Oracle. All Rights Reserved.

Enter password:

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> exec run_unix_cmd('/usr/bin/lpstat 2> /tmp/lptst3.txt');

PL/SQL procedure successfully completed.

SQL> !cat /tmp/lptst3.txt

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center