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!

S.O.S. How it is captured the TTY of Unix in Acucobol

Status
Not open for further replies.

krolaprog

Programmer
Aug 5, 2003
1
CL
There is some function or routine in acucobol that permit to capture the tty in Unix, as for example to identify to the users.
 
Try this:

1. working storage

01 SYSTEM-INFORMATION.
10 OPERATING-SYSTEM PIC X(10).
10 USER-ID PIC X(12).
10 STATION-ID PIC X(12).
10 FILLER PIC X(65).

2. procedure division

ACCEPT SYSTEM-INFORMATION FROM SYSTEM-INFO.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top