can anyone tell me the program to compare two files and write matching records to a file and unmatched to another in mainframe.
Answer / Aishwarya Jaiswal
To compare two files on the mainframe and write matching records to one file while writing unmatched records to another, you can use SORT/MERGE:
1. Sort both input files using SORT.
2. Use MERGE to merge the sorted files, comparing each record based on a common key field.
3. Write output files as desired: matched records in one file and unmatched records in another.
| Is This Answer Correct ? | 0 Yes | 0 No |
paypal interview questions
How can you load large amounts of data from flat-text files?
How to Populate a Table With Rows?
What is a HGS
Using the example of the Thief-like AI system in the previous section, how do you implement the 'search for player' behavior for the guards, and get them to search an area in a believable fashion? How do you make sure this searching behavior isn't too challenging for players, and ensure that it's usually possible for the player to escape the search if he plays the game well?
What are some of the limitations of state machines? When is the use of state machines appropriate, and when are they insufficient to generate the kinds of behaviors you need in a game?
A bank offers 5% compound interest calculated on half-yearly basis. A customer deposits Rs. 1600 each on 1st January and 1st July of a year. At the end of the year, the amount he would have gained by way of interest is:
i have 10,000 records in one input file i want to sort 1 to 5000 records in one out file and remaining records sort in another out file file write syntax?
HOW to click on elements under moving banner, in selenium webdriver
4 men and 6 women can complete a work in 8 days, while 3 men and 7 women can complete it in 10 days. In how many days will 10 women complete it?
You're working on a game that involves enemy wizards dueling each other. Each wizard has at least a dozen different spells at his disposal -- some of them simply inflict damage, while others will temporarily stun or immobilize an enemy, slow him, prevent him from casting spells for a brief duration, teleport the caster a short distance, or give the caster a temporary shield. A wizard can only cast one spell at a time, but each spell has a fixed cooldown (time before it can be cast again) and an associated mana cost (assume no mana regeneration). Describe some ways you might implement a competent AI system for a wizard.
A man has Rs. 480 in the denominations of one-rupee notes, five-rupee notes and ten-rupee notes. The number of notes of each denomination is equal. What is the total number of notes that he has ?
Software (196885)
Sciences (12521)
Engineering (38019)
Business Management (7371)
Accounting (11552)
Advertising Media (662)
Architecture Design (207)
Call Centre (2483)
Fashion Modelling (332)
Government (17384)
Law (806)
Tourism Hotel (377)
Everything Else (2323)
Military Police (160)
Skills Abilities (0)
Aptitude Questions (4307)
Placement Papers (705)
Certifications (3752)
Visa Interview Questions (2230)
Code Snippets (1098)
Entrance Exams (862)
ERRORS (16636)