what is importance of 'MAPFLD' IN OPNQRYF FILE ?
Answers were Sorted based on User's Feedback
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 |
How to declare the dynamic(run time) array in rpgle? can you please give example
suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
How do you find whether a record is locked or not?
what is difference between DSPFD and DSPFFD?please give me real senario with good example?
are there any useful c runtime apis that I can call from rpg iv?
parameters cannot be passed in which one??
To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?