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


Please Help Members By Posting Answers For Below Questions

What is the difference between crtdupobj and copyf?

687


what would be the effect on the field where reverse image, underline and highlight display attributes were active?

940


what key word is used when screen is re-display?

653


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.

1041


what does defn do?

616






how can database records be read without lock ?

1222


what is a spool file?

676


Difference Between Call & Sbmjob?

778


what is the use of data structures?

637


how can I automatically refresh a web page?

634


what is message subfile?

1053


maximum number of subfiles that can be active for a single file is?

976


how can you detect and handle a record lock situation?

1219


what is maximum number of arrays allowed in rpg?

1188


what are the limitations of cl (compare to rpg) ?

1552