Tip Bank

DevX

Informix Ontape Backups

Question: I need to do an ontape Level 0 backup but I need to bypass the “Press Enter to Continue.” Simply put, I want to type “Ontape -s -L 0”

DevX

Running an EXE Using a Trigger

Question: I want to run an .exe using a trigger. Is there any stored procedure for running an .exe? For example, I want to run Notepad. Answer: The stored procedure

DevX

Log Error

Question: I am receiving this error in my log: connections rejected: no calls allowed for sqlexec.listener-thread err: = -27002 oserr: = 0errstr = : No connections allowed in Dynamic server

DevX

Informix SQL

Question: Are Transact SQL stored procedures currently running on a SQL Server 7.0 database compatible with a Informix database? Answer: No, you’ll have to translate them into Informix’s stored procedure

DevX

Use printStackTrace() method to generate stack

Stack trace is a kind of call stack, which maintains the call sequence of methods at any given point in time. Throwable class in Java provides a method called “printStackTrace()”

DevX

Passing Objects in a Function

In Java, objects are passed to a function by reference, so you can manipulate the object data in the function and have that reflected outside the function also. If you

DevX

Interspersed Code and Declarations

The two previous tips discussed new features that were added to C99, and which C++ doesn’t support. This time I would like to present one of the changes that were