Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to call informix 4gl from script

Status
Not open for further replies.

arunkumar.ceg

Programmer
Mar 20, 2017
1
0
0
US
Hi,

I'm new to Unix and 4GL. I am assigned a task to automate few things. I've a 4gl program which when executed, it is opening a screen where user has to press just F7, F8, F12 something like this. It will then navigate to different menus and different screen and does some functionality.

My job is to automate these set of actions. My question is, how can I pass function key strokes to the 4GL executable and navigate through screens. can I automate through shell or perl scripts?

I tried something like "ksh -c "echo ; $(tput kf9)|/path/prog.exe"

It just opened the screen and exit abruptly. How can I pass in correct way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top