Reference no: EM131046132
Note: please follow those rule below
- Process this file must use with duplicate
- Must use the structure of program in the below. Do not use your own structure.
- I would like to see the structure in the program.
This program involves working with alternate indexes in indexed files.
You are given an alternate index indexed file DEALER.dat. The contents of this file are:
A0421 ABC Trucking
A0618 ABC Trucking
A0675 DEF Warehousing
A1330 DEF Warehousing
A1366 Zebra Cleaning
A1957 Zebra Cleaning
A2001 Zebra Cleaning
A2275 Pacific Welding
A2309 Pacific Welding
A2506 Jackson Machining
A2622 Jackson Machining
A2643 Rhodes Grinding
A2855 Rhodes Grinding
B1040 ABC Trucking
B1322 ABC Trucking
B2226 Yorba Accessories
B2291 Yorba Accdssories
B2402 Midwest Suppliers
B2407 Midwest Suppliers
B2630 Marsh Outfitters
C3192 Marsh Outfitters
C3198 ACF Industries
C3645 Zebra Cleaning
You are also given Alternate-Indexed-To-Sequential.cbl to enable you to see the contents of DEALER.dat file.
The primary index (called Dealer-Number) is the first 8 characters, e.g. "A0421", and the alternate index (called Dealer-Name) is the next 21 characters,
e.g. "ABC Trucking". The alternate index allows duplicates.
You will create an output sequential file: DEALER-OUT.prnthat will include the results of doing various operations on the DEALER.dat file. Each operation will require printing the result of the read operation as: Dealer-Number followed by one space followed by Dealer-Name.
******************************************************************************
The operations you will perform in the exact order given are:
1. two sequential reads at the beginning of the file without referring to any data in the file.
2. a random read using the primary key starting at "B1040" followed by two sequential reads.
3. a random read using the alternate key starting with "Pacific Welding" followed by 4 sequential reads.
4. a read in the middle of the file at "B2402"
******************************************************************************
Your output file will look exactly like:
A0421 ABC Trucking
A0618 ABC Trucking
B1040 ABC Trucking
B1322 ABC Trucking
B2226 Yorba Accessories
A2275 Pacific Welding
A2309 Pacific Welding
A2643 Rhodes Grinding
A2855 Rhodes Grinding
B2291 Yorba Accdssories
B2402 Midwest Suppliers
The structure of your program must conform to the following:

Pass in your program, Prog06.cbl
Attachment:- Assignment.rar
Write a paper about your experience with app charity miles
: Write a paper about your experience with app "charity Miles" why you like it? How many times you use it? How much weight did you lose? How do you feel about it? etc.
|
Why in practice this may not be the case
: why in practice this may not be the case.
|
Why emphasis on primary prevention crucial in human services
: Using the internet and other resources, research prevention programs in your community. Describe several of these programs and discuss the problems or disorders they are attempting to prevent. Do you think they are effective at this task? Why or w..
|
Determine if your site is connected to the m bone
: If so, investigate and experiment with any M Bone tools, such as sdr, vat, and vic.
|
Create an output sequential file
: CSDP241 Program 06 - Program involves working with alternate indexes in indexed files and this program involves working with alternate indexes in indexed files.
|
Show the shortest-path multicast trees for each source
: Consider the example internet shown in Figure 4.59, in which sources D and E send packets to multicast group G, whose members are shaded in gray. Show the shortest-path multicast trees for each source
|
Firms undertake corporate social responsibility
: The Web sites for Lenovo (China; www.lenovo .com), Nokia (Finland; www.nokia.com), and Banco do Brasil (Brazil; www.bb.com.br, click on ‘English') contain substantial information about how these firms undertake corporate social responsibility (CSR..
|
Paper - management and organisations in a global environment
: Research Paper: Management and Organisations in a Global Environment. Management Summary: ideally one page but no more than two
|
What type of errors occurred in the research
: What type of errors occurred in the research that may affect the outcome of the data? Is there any missing information that should be included? Discuss how you would approach the research and what type of questions you may ask.
|