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 read database records without locking them?

1775


how does union file maintains record formats?

1068


WHAT IS AS/400 SYNORIO?

3323


what is xfoot opcode ?

1738


what is logical file?

989


Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

1305


which are control break logic indicators?

1054


different type of cursor?

1020


what is the clp command to access a query/400?

2072


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

1067


which are the member types which seu supports?

1294


what is the sequence when using cursor?

1154


what are dds required for subfile?

997


what are members?

1003


How to Define a Procedure in RPG?

1683