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

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

756


what is kids-rpg?

667


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2199


How to handle duplicate error handling in RPG?

1679


what is program status data structure?

1387






What is difference between bind by copy and bind by reference?

1730


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

1761


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1968


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1561


how can you display specific subfile page on the screen in unequal subfile?

675


which program rpg or cl is efficent to update a transaction onto a database file and why ?

747


what is the difference between do while and do until?

703


do you use message subfiles? What are the necessary keywords required coding a message subfile?

687


What is the difference between copybooks and subprocedures in as400?

808


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

517