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

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.

3 Answers   iGate, Wipro,


how does the rpg element work?

0 Answers   IBM,


1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?

3 Answers   HSBC,


what are the key words you must use when using a subfile?

0 Answers   IBM,


Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?

6 Answers   CSC,


What is I90(Insure 90)?

1 Answers  


The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 Answers  


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

0 Answers  


how can we know running job is batch or intractive ? i need all the possibilites.........plz help me

3 Answers   HSBC, IBM,


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

0 Answers   Wipro,


I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.

3 Answers  


1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?

2 Answers   TCS,


Categories