why we sometimes use same file name in FILE and TOFILE in
OVRDBF and sometimes different??please tell
Answer Posted / mansi walia
In RPGLE if you want to declare the same file in more then
once mode(read/write/update)in this case you can override
the file with different name and declare the same file with
the overriden name.
for example:
In RPGLE if you want to open a file A in two different mode
one is Read and other is Update then you can override the
same file with two different name may be AA and AB and then
declare in your RPGLE program.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
is it possible to create a physical file without dds?
what is the syntax for plist?
which of the following operations does not zero the field flda defined as 4,0?
Difference Between Ca & Cf?
how to run other job when one job is active?
what are the three types of keywords associated with printer file ?
what is subfile?
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
What Is Default Data Type (if You Define Decimals '0') In Physical File?
can a join logical file be updated?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
what is the purpose of data structure?
how can database records be read without lock ?
what are the limitations of cl (compare to rpg) ?
how can I control the way a remote browser uses its cache?