Question

In: Computer Science

3 Company XYZ has four corporate functions: manufacturing, marketing, financial, and administrative. Each function in turn...

3 Company XYZ has four corporate functions: manufacturing, marketing, financial, and administrative. Each function in turn has several departments, as shown:

Function                     Departments

MANUFACTURING           10, 12, 16-30, 41, 56

MARKETING                      6-9, 15, 31-33

FINANCIAL             60-62, 75

ADMINISTRATIVE 1-4, 78

Establish condition-name entries so that, given a value of EMPLOYEE-DEPARTMENT, you can determine the function. Include an 88-level entry. VALID-CODES, to verify that the incoming department is indeed a valid department. (Any department number not in the list is invalid.

COBOL

Solutions

Expert Solution

1). ANSWER:

GIVEN THAT:

Level-number 88 designates a condition-name entry. Level 88s are used to assign names to values at execution time. Thus, a condition-name is not the name of an item, but rather the name of a value. A level 88 doesn't reserve any storage area.

Each level 88 must be associated with a data item and must immediately follow that item in the Data Division. The associated data item is called a condition-variable. A level 88 may name a specific value, a set of values, or a range of values. For example:

EMPLOYEE-DEPARTMENT Departments 00 MANUFACTURING value 10, 12, 16-30, 41, 56 01 MARKETING value 6-9, 15, 31-33 02 FINANCIAL value 60-62, 75 03 ADMINISTRATIVE value 1-4, 78
This format associates a value, values, or ranges of values with a condition-name. Each such condition-name requires a separate level-88 entry. Level-number 88 and the condition-name are not part of the format-2 VALUE clause itself. They are included in the format only for clarity.

Format 2: condition-name value

condition-name-1

A client determined name that connects an incentive with a restrictive variable. In the event that the related contingent variable requires addendums or files, each procedural reference to the condition-name must be subscripted or listed as needed for the restrictive variable.

Condition-names are tried procedurally in condition-name conditions (see Conditional articulations).

literal-1

Associates the condition-name with a single value.

The class of literal-1 must be a valid class for assignment to the associated conditional variable.

literal-1 THROUGH literal-2

Partners the condition-name with in any event one scope of qualities. At the point when the THROUGH expression is used, literal-1 must be less than literal-2. For subtleties, see Rules for condition-name passages.

exacting 1 and literal-2 must be of a similar class. The class of literal-1 and literal-2 must be a substantial class for task to the related contingent variable.

When literal-1 and literal-2 are DBCS literals, the scope of DBCS esteems indicated by the THROUGH expression depends on the twofold grouping succession of the hexadecimal estimations of the DBCS characters.

When literal-1 and literal-2 are public literals, the scope of public character esteems determined by the THROUGH expression depends on the paired examining succession of the hexadecimal estimations of the public characters spoke to by the literals.

On the off chance that the related contingent variable is of class DBCS, literal-1 and literal-2 must be DBCS literals. The allegorical steady SPACE or the metaphorical consistent ALL DBCS-literal can be determined.

On the off chance that the related restrictive variable is of class national, literal-1 and literal-2 must be either both public literals or both alphanumeric literals for a given condition-name. The allegorical constants ZERO, SPACE, QUOTE, HIGH-VALUE, LOW-VALUE, symbolic-character, ALL national-strict, or ALL literal can be indicated.


Related Solutions

Corporate Financial Management:Valuation of Bonds 9. a. The XYZ Company has €1,000 par value, 9% coupon...
Corporate Financial Management:Valuation of Bonds 9. a. The XYZ Company has €1,000 par value, 9% coupon bonds outstanding. The bonds will mature in 20 years. What is the current price of the bonds if the present yield to maturity is 6%? Suppose the yield to maturity increases to 11%. What do you think will happen to the price of the bond? Explain why. Explain the difference between the real rate of return and the nominal rate of return. An investment...
A. Company XYZ has just paid a dividend of $3. As XYZ is a young company...
A. Company XYZ has just paid a dividend of $3. As XYZ is a young company and successful, it is estimated that they will grow at rate of 20% for 5 years and then at 3% in perpetuity. The company faces a required return on equity of 7%. What is the current price of the company’s stock using the DDM model? Use excel for all calculations​
List four functions banks perform. Give a detailed response for each function
List four functions banks perform. Give a detailed response for each function
Explain each of the following management functions and provide Three (3) examples for each function: planning,...
Explain each of the following management functions and provide Three (3) examples for each function: planning, directing, and controlling. Explain why each management function is important for making business decisions for a company.
The XYZ manufacturing company shows the following account balances for the financial year 2013. Calculate the...
The XYZ manufacturing company shows the following account balances for the financial year 2013. Calculate the cost of goods manufactured and the cost of goods sold (in $ 000).                                                                                                 $‘000 Depreciation plant and equipment                           32 Direct materials inventory 1.1.13                                 9 Direct material purchases                                             57 Finished goods inventory 1.1.13                                 12 Indirect materials used                                                  14 Plant repairs and maintenance                                   18 Direct manufacturing labour                                        72 Plant utilities                                                                      31 Fire insurance plant                                                           8 General administrative costs                                       21 Marketing and advertising                                            18 Depreciation plant building                                         ...
Problem 3: Obtain the truth table for the following functions and express each function in sum...
Problem 3: Obtain the truth table for the following functions and express each function in sum of minterms and product of maxterms form: [20 Points] A. X = (B+CD)(C+BD) B. Y = BD’ + ACD’ + AB’C + A’C’ Problem 4: [15 Points] A. Write the following Boolean expression in SOP form : (B+D)(A’+B’+C) B. Write the following Boolean expression in POS form : AB’ + A’C’+ABC
Case 3 – Corporate Risk Management A manufacturing company of consumer products that is based in...
Case 3 – Corporate Risk Management A manufacturing company of consumer products that is based in Japan is considering entering new market in a Latin American country by exporting its products for sale there. Explain various risks it faces from expanding its market! Provide an example of each risk explained (10%) Hellenistic Cruise is purchasing three new cruise ships to build sequentially. The first ship will commence construction today and take one year to build. The second will then be...
XYZ Company has two good businesses. Each has an initial investment of $ 25,000 with each...
XYZ Company has two good businesses. Each has an initial investment of $ 25,000 with each cash flow as follows: Year Business 1 Cash Flow Business 2 Cash Flow 1                                      7,500                                       7,500 2                                      7,000                                       7,500 3                                      6,000                                       7,500 4                                      5,000                                       7,500 5                                      3,500                                       7,500 If the cost of capital is 12.5%, calculate: A. Payback Period and NPV B. In your opinion, which business is better chosen? Business 1 and Business...
XYZ Company has two good businesses. Each has an initial investment of $ 25,000 with each...
XYZ Company has two good businesses. Each has an initial investment of $ 25,000 with each cash flow as follows: Year Business 1 Cash Flow Business 2 Cash Flow 1 7,500 7,500 2 7,000 7,500 3 6,000 7,500 4 5,000 7,500 5 3,500 7,500 If the cost of capital is 12.5%, calculate: A. Payback Period and NPV B. In your opinion, which business is better chosen? Business 1 and Business 2? And Why?
The XYZ Corporation  is a manufacturing firm. For quite some time, the company morale has lagged and...
The XYZ Corporation  is a manufacturing firm. For quite some time, the company morale has lagged and the work environment was negative. Management decided to address the issue by offering incentives and rewards to boost worker attitudes and productivity. The strategy worked and as productivity increased, there were still some workers who as part of their work team refused to pull their fair share. Their fellow team members shunned them as a result. QUESTION "What do you do to resolve the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT