Deletion transaction matches a master file record

Assignment Help COBOL Programming
Reference no: EM131022943

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

Reference no: EM131022943

Questions Cloud

Are federal expenditures as a percentage of gdp higher : What is the difference between federal purchases and federal expenditures? Are federal purchases higher today as a percentage of GDP than they were in 1960? Are federal expenditures as a percentage of GDP higher?
Prepare a financial analysis of warehouse distribution : Develop a PowerPoint presentation that answers the following questions: Prepare a financial analysis of Warehouse Distribution, Inc.(I will upload the income statements for Warehouse Distribution), comparing the firm’s financial performance between t..
Tax basis in stock after the distribution : Jayhawk Company reports current E&P of $317,500 and accumulated E&P of negative $295,000. Jayhawk distributed $480,000 to its sole shareholder, Christine Rock, on the last day of the year. Christine’s tax basis in her Jayhawk stock is $99,250. What i..
Setting of accounting standards : Discuss the view that political lobbying could and should be reduced by giving preparers more say in the setting of accounting standards.
Deletion transaction matches a master file record : Which of the series of transactions involving the same item number are permitted using the sequential maintenance program - When the sequential maintenance program starts up, the initial settings of the NEED-TRANSACTION, NEED- MASTER, WRITE-MASTER
Prepare a power point marketing plan : Prepare a Power Point Marketing Plan. Each presentation done professionally, 7 minutes min. - 8 minutes max), minimum of 5 slides.
Monthly payments and the total finance charges : Patrick would like to know the monthly payments and the total finance charges on the following 2 loans: (Show all work please) A. $30,000, 9%, 36 months B. $30,000, 9%, 48 months explain each
Find the new supply equation for this market : Find the new supply equation for this market given the above information. Find the equilibrium price and quantity in this market given the above information. Show your work. Calculate the value of producer surplus in this market. Show your work
What is the total dollar amount they will need at closing : Dick and Jane (and their dog Spot) have just purchased a house and are calculating how much money they will need when the closing day rolls around. The purchase price is $200,000. They will make a 20% down payment, and they must pay 2 points on the l..

Reviews

Write a Review

 

COBOL Programming Questions & Answers

  E easy to process in a cobol variable-length record

Which would be easy to process in a COBOL variable-length record or fixed-length record?

  Produce a sequential maintenance program

You will produce a sequential maintenance program using techniques similar to those in SS3. You are given two files, a "master" file with dealer information called Account-Master-File-In.tx

  Janice colangelo heads the training centre of the large hr

janice colangelo heads the training centre of the large hr consulting firm emt consulting. the firm has three major

  Cobol assignment

For this program you will use a file INFILE (listed here in numbers) that has information about students and their grades on 4 exams. The input file is shown below:

  Prepare a cobol program

The purpose of this iLab assignment is to read data from a sequential file and produce a detail list of the records with simple formatted output (no headings and totals). In addition

  Calculate the size of monthly payment

Calculate the size of monthly payment necessary to repay a loan - Compute interest payment for each period and When computing the amortization table the program should report for the end of each year (12 month period) the total of payments, total of..

  Display a report of overall averages for each student

Your job is to display a report of the above information that includes overall averages for each student for exams 1 through 4, and class averages

  Review the description - flowchart and record layout

Review the description, flowchart, record layout, pseudocode, and hierarchy chart for the practice program. Review these items to gain a better understanding of the program's logic.

  Lenders bank program for cobol

Lenders bank program for cobol

  A if you could pick a single source of cash for your

a. if you could pick a single source of cash for your business what would it be? why?nbspb. how can a business earn

  Print the number of personnel records processed

Compile and execute the program. If errors are reported, resolved them based on the messages reported by the compiler and by comparing the code.

  Major difference between file and array

Major difference between file and array - how does record read from array and file

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd