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

Answers were Sorted based on User's Feedback



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

Answer / 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 ?    35 Yes 0 No

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

Answer / panduranga nayak

The keywords *MAP and *Drop is used by the IBM command CPYF.
This keywords are used to MAP the column or drop the column
whenever a field added/Deleted from a physical file.

Is This Answer Correct ?    3 Yes 2 No

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

Answer / manoj

Both keyword are used in cpyf command
*MAP will check byte by byte.
When we copy the records from one file to other file then
we used CPYF command.

Is This Answer Correct ?    1 Yes 10 No

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

Answer / samba

we have 4 fields in one object and 4 objects in another object then we drop the fields

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More RPG400 Interview Questions

can we perform CHAIN operation on Subfile record format....?

4 Answers  


Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.

1 Answers   CTS, IBM, iGate,


How Commitment and Roll back control is used in as400, explain with real time senario ???

2 Answers   Acolite, HSBC,


Can more than one subfile record be displayed on one line?

7 Answers   IBM,


what was the robotech rpg?

0 Answers   IBM,


How to read alternative records in a pf by using rpg?

8 Answers   IBM,


What will happen if we r using seton lr after return or vice versa.

5 Answers  


we are sending data of physical file to screen design and it is showing no record why?

1 Answers   NTT Data,


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

0 Answers   IBM,


How to handle duplicate error handling in RPG?

0 Answers  


What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?

10 Answers  


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

1 Answers  


Categories