what is importance of 'MAPFLD' IN OPNQRYF FILE ?

Answers were Sorted based on User's Feedback



what is importance of 'MAPFLD' IN OPNQRYF FILE ?..

Answer / elan

Specifies the definition of query fields that are
mapped or derived from other fields. MAPFLD is generally
not needed if the field names specified on other parameters
are simple field names that exist in only one of the file,
member, and record format elements specified for the File
specifications (FILE) parameter.

Up to 50 mapped field definitions can be specified.

Is This Answer Correct ?    2 Yes 0 No

what is importance of 'MAPFLD' IN OPNQRYF FILE ?..

Answer / nabbo

shabana (shabbo), tumhari shadi ho gayi kya

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More RPG400 Interview Questions

How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?

4 Answers  


As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?

1 Answers  


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

2 Answers   UST,


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

0 Answers  






What is the syntax of passing parameters to a procedure by value?

1 Answers  


i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.

5 Answers   TCS,


Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?

4 Answers   IBM,


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

0 Answers   IBM,


how do I declare a minor?

0 Answers   IBM,


The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?

6 Answers  


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


Categories