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 function of rlu ?

1682


what is the use of dspatr(mdt) keyword?

2242


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1670


how will you find a string using pdm?

1147


what is rpg fixed logic cycle?

1203


what is the function of crtdupobj command?

2064


what is xfoot opcode ?

1819


explain the difference between defining subfile and message-subfile?

1857


what are all the contents of subfile?

1690


how many specifications are there in rpg/400? What are they?

1998


what does check opcode do ?

1850


what is a logical file?

1801


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

2724


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

1608


How can we update a specific field in RPG?

1350