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 ?    34 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

How do I link an existing logical file to it's Physical File without recompiling?

2 Answers  


How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?

8 Answers  


How can you delete a record from a file in RPG without using DELETE oppcode?

2 Answers   UST,


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

0 Answers   iGate,


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  






while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue

1 Answers  


If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.

3 Answers  


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


what is program status data structure?

1 Answers   IBM,


In how many ways a session/device error occurs,,, and what is the remedy for it?

3 Answers  


Categories