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 lock a pf???? what are the parameters used in this
command.how we understand whether an object is locked or not??
using command .....we have to use *PSSR? and trough
*status..how??.if we give an eg to me???pls answer me anyone..

Answer Posted / yogesh

We can lock the pf using
ALCOBJ OBJ((CUSMASFL *FILE *EXCL))


To ensure the object is locked :
WRKOBJLCK OBJ(CUSMASFL) OBJTYPE(*FILE)

To release the lock: Deallocate Object command
DLCOBJ OBJ((CUSMASFL *FILE *EXCL))

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add 99 menu (page down) option in menu creation..

2415


What Is The Difference Between Goto & Exsr?

1746


how do you pass parameters in cl?

1902


how can you detect overflow for a print program that prints multiple lines per cycle?

1809


an access path may be in which sequence?

1201


describe the difference between the dowxx and douxx operations?

2213


In Which Specs Arrays, Tables & Constants Are Defined?

1220


which indicator is used for read?

1188


how can you check for a records existence without causing and i/o (chain/read)?

2154


can error messages as a result of a comp, range or values keyword be overridden?

2020


how can I control the way a remote browser uses its cache?

1291


a multiple format logical file is also known as?

1152


if we tried to move year part of *iso date into a field of length 3, what will happen ?

1375


define a shared access path?

1856


what is the function of cpysplf command?

1783