Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How we can delete all the Logical File of a Physical file
in one instance ?

Answer Posted / abhishek

Hi Friends,

There is no command which directly deletes all the
depandent logical.



Regarding use of option delete dependant file under CHGPF:

Consider example below:
Lets say PF has 3 fields... Fld1, Fld2 & Fld3
First LF has key field as Fld1.
Second LF has key field as Fld2

1. Pl note that delete dependant file option will only come
when you specify the source name and libr along with object
name & libr.
2. Lets say, I have removed one of the field named Fld2
from my PF. Obviously, my second LF is of no use, as field
use by this file is removed. Now, if I specify, DELETE
DEPENDANT FILES as *YES under CHGPF command, it will first
change my PF properties (as expected) and will also delete
SECOND LOGICAL FILE (as it has a dependant field).

Hope, it helps. Cheers.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Difference between command attention key and command function key ?

1305


what is rpg fixed logic cycle?

1127


what are various techniques to pass parameters from one program to another?

1746


which are control break logic indicators?

1035


which cl command can be used at program execution to redirect the file named in an rpg program?

1144


how to validate input values in display file ?

1145


what are the different types of variables available in cl?

1723


can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

2649


what is match field indicator?

1647


what is the use of unique keyword and what level it is defined?

1522


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

984


Why we are not able to perform insert delete and update operation in Join logical file?

1419


how can I start a page in a new window?

1161


Write a CL program which will run a batch job at 1 am every night

1053


What are the record format field mapping options in cpyf?

966