How we can delete all the Logical File of a Physical file
in one instance ?
Answer Posted / aditya
i have copied a pf from another one and after updating that
pf ,i used it in my program.It was giving me an error.
After compiling the program i have found that it was
refering to previous record name.
Then in command line in CHGPF i mentioned program name and
source file name.
you will get 'Delete dependent logical file' option,make
it '*yes'.
That is how i deleted all the references.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
can you have multiple key lists for a single file ?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
what is the maximum number of subfiles that can specified in a display file ?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
how to write *pssr ?
distinguish between terminating a program through seton lr and return?
what is the maximum number of fields under a record format of physical file?
Apart from opening of a file do we have any other use of USROPN?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
Difference Between Skip Before & Space Before?
where can you specify an indicator in lokup operation?
What Is The Error If We Don't Get Login Screen?
when do you explicitly open files and close files in an rpg program?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
how do you pass parameters in cl?