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
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 |
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 |
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 |
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 |
why we do STRSRVJOB in batch debugging in as400
what are the key words you must use when using a subfile?
how do I do concatenation in rpg iv, like I do in cl?
how can an indexed file be used as arrival sequence in RPG?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
how to retrieve RRN value in RPGLE program
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
What are the necessary keywords required to code a message subfile?
how can you display specific subfile page on the screen in unequal subfile?
Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?
Maximum how many files declare in rpgle
how many variables can we declare in cl pgm?