COBOL Manual for TNS/E Programs (H06.03+)
Contents
HP COBOL Manual for TNS/E Programs—520347-003
xx
28. Disk Input and Output (continued)
28. Disk Input and Output (continued)
Optimizing Disk File Storage 28-37
Avoiding Deadlock 28-37
Locking and Unlocking Files and Records 28-38
Setting Time Limits on Input-Output Operations 28-38
Using Enscribe and Operating System Routines 28-39
Physical File Names 28-40
Obtaining File Numbers and Other File Attributes 28-41
Determining Whether Two COBOL File Names Specify the Same Physical
File 28-41
Purging a File From an HP COBOL Program 28-42
Purging the Contents of a File From an HP COBOL Program 28-43
Renaming a File From an HP COBOL Program 28-44
Creating a File Having Alternate Keys From an HP COBOL Program 28-44
29. Terminal Input and Output
Using ACCEPT and DISPLAY With a Terminal 29-2
Guardian Environment 29-2
OSS Environment 29-4
Using a Terminal as a File 29-4
Prompting the Terminal Operator for Input 29-6
Sharing a Terminal 29-8
Terminal Associated With a Command Interpreter 29-8
Terminal Not Associated With a Command Interpreter 29-8
Non-COBOL Modules 29-8
Getting Break Ownership 29-9
Transferring Break Ownership
29-9
Communicating With an Operator or Process
29-10
Writing to a Console 29-11
Writing to a Terminal or Printer 29-12
Reading From a Terminal or Process 29-12
Reading and Writing Numeric Data 29-13
Logging Program Activity Information to a Terminal 29-15
30. Printer and Spooler Output
Using a Printer Directly 30-1
Understanding Spoolers 30-2
Spooler Components 30-2
Jobs 30-4










