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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO START UP THE SYSTEM UNIX V, AND A COBOL PROGRAM TOGETHER???

Status
Not open for further replies.

gauchito

Programmer
Jul 28, 2001
2
AR

HELLO !!
HOW TO RUN A COBOL PROGRAM IN AUTOMATIC WAY , IN
THE START UP OF THE UNIX SYSTEM V , MODE MULTIUSRS , DIRECT
TO A TTY SPECIFIC ???

THANKS !!!
 
when the operating system is going multiuser state you can do many things , one of them is start up a program that can run in background or redirect the output to a terminal.

How can you do that?

In the /etc/rc2.d directory you can create a file with the name S89Cobolprog take care that the " S " must be Uppercase
and inside the file please put a line that starts your program for example:

/usr/bin/colol -x /tmp/myfile &

If what you are asking is how to put the output of my command that starts my application to a terminal and that the terminal will be in interactive mode , that is a good question and i do not know how to do that.

I hope this can help
 


HI MY FRIEND !!!
I GLAD TO MEET YOU !... YOUR REPLY
WAS GOOD...BUT, I NEED TO KNOW HOW TO RUN THIS COBOL
PROGRAM IN A TTY SPECIFIC IN THE START UP OF THE SYSTEM..
IF YOU CAN HELP ME... TELL ME PLEASE ...THANKS YOU !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top