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 do u find whether a record is locked or not??/

Answers were Sorted based on User's Feedback



how do u find whether a record is locked or not??/..

Answer / syam

DSPRCDLCK cammand will give locked record details

Is This Answer Correct ?    16 Yes 0 No

how do u find whether a record is locked or not??/..

Answer / madanmohan

If you know the RRN number of the record for which lock is
checked then in that case you can use DSPRCDLCK cmd.

To know the RRN number of specific record, use SQL statement

select RRN(A), A.* from FILE A where condition of the key
value.

Is This Answer Correct ?    10 Yes 0 No

how do u find whether a record is locked or not??/..

Answer / syam

Use command CHKRCDLCK

Is This Answer Correct ?    2 Yes 1 No

how do u find whether a record is locked or not??/..

Answer / khasim vali

WRKLCK USE THIS COMMAND IN RPG

Is This Answer Correct ?    0 Yes 0 No

how do u find whether a record is locked or not??/..

Answer / rajgoaj

Additional information:

Use WRKLCK to see whether the file is locked.

Is This Answer Correct ?    1 Yes 16 No

Post New Answer

More RPG400 Interview Questions

What are the commands that can be executed in CLP but not in RPG? Why?

1 Answers   CSC,


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

0 Answers   CTS,


I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 Answers  


3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’

4 Answers   IBM,


How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??

1 Answers  


Are all these RPG/400 Interviewed Questions being asked recently? are current?

1 Answers  


Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

2 Answers   iGate,


how to display all the members records in a physical file without using ovrdbf?

9 Answers  


what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?

4 Answers  


I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


how do I preserve and clean the array?

0 Answers   IBM,


What is the significance of UDATE?

5 Answers   IBM,


Categories