Why we need to give File and To file Names While we are using
OVRDBF. What is your understanding related to this?
Answers were Sorted based on User's Feedback
OVRDBF is to override the your database data to other file for some temporary time, other file may be the same file or different file. if you want to override your data to some temp place then you should mention that which file data you want to override(file) and where you want to keep your data(to file).
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / henry
without File name we cannot use OVRDBF adn its a mandatory
field. Also remember that the file which you used in OVRDBF
also must be present in the system. Else your RPG pgm will
not compile...Generaly if the file is multi member file
(some companies used to store they yearly/monthly
transactions in diff members) and if you want to access
specific member then it's a great deal.
Is This Answer Correct ? | 2 Yes | 0 No |
Why Rpg/400 is Famous?
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
A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???
How do you code file / field renames in ILE RPG?
what is edit word and edit code
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
How do I link an existing logical file to it's Physical File without recompiling?
how do u find whether a record is locked or not??/
HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?
Write a program to display prime numbers between 1 to 100 using RPGLE.
A rpg or clp command to find if the file field is defined as a character or numeric field.