what is mean by *MAP and *DROP?what commands use these two
keywords?why are they used?

Answer Posted / naru

Why *MAP and * DROP?
When we copy data from FILE A to FILE B and if FILE A has
20 fields and FILE B has 30 fields (say there are 10 fields
which is not common among both the files). Using *MAP and
*DROP option we can copy the data from FILE A to FILE B.
All the fields would be mapped between both the files and
the unmatched fields would be dropped.

Which command uses *MAP & *DROP - CPYF command (Copy file).

Is This Answer Correct ?    34 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

611


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

825


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2513


how do I play {insert rpg system here}?

579


are there any useful c runtime apis that I can call from rpg iv?

696






Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4198


what is file information data structure?

1361


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2367


what is data area and how it is used in rpg program ?

750


what is a rpg?

696


How Chain operation copies the record's data to the input buffer for the program?

1076


How to declare the pull button in AS/400..

1872


Explain mdt?

661


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

496


How would display prime numbers using CL program?

5672