Which of the series of transactions involving the same item


Cobol questions

1. you code the file status clause of the FD statement for a file when you want to
A. handle I/O errors for that file with in the program
B. Check whether a file is open or not
C. Cunt the number of records that have been read or written in the file

2. If the file status field for an output file has a value of zero, that means
A. The file does contain any records
B. The file is not open
C. A serious I/O error has occurred

3. When you open a sequential file in extend mode
A. You can write but not read records in the file
B. You can both read and write records in the file
C. A new file is created

4. In a sequential maintenance program, if an addition transaction matches a master file record,
A. A new master record replaces the old one
B. A new master record is written to the new master file right after the matching master record
C. An error is indicated

5. In a sequential maintenance program, if a deletion transaction matches a master file record,
A. The matching master record is written to the new master file
B. The matching master record is not written to the new master file
C. An error is indicated

6. For machining record logic to work in a sequential update or maintenance program, the file that are being compared
A. Must have the same record descriptions
B. Must have the same blocking factor
C. Must be in sequence by the same control filed

7. In a sequential maintenance program, if the end of the master file reaches before the end of the transaction file.
A. The program ends
B. The remaining transaction records that are not adds or written to the error file
C. An I/O error is indicated

8. Which of the following series of transactions involving the same item number are permitted using the sequential maintenance program?
A. Add, delete, change, change, change
B. Delete, add, change, change
C. Add, add, delete, change

9. When the sequential maintenance program starts up, the initial settings of the NEED-TRANSACTION, NEED- MASTER, WRITE-MASTER are:
A. Y, Y, N
B. N, N, N
C. Y, Y, Y

Request for Solution File

Ask an Expert for Answer!!
COBOL Programming: Which of the series of transactions involving the same item
Reference No:- TGS01369909

Expected delivery within 24 Hours