How can a data area be locked after being updated?

Answer Posted / salil kumar

Using OUT *LOCK

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a query can be run in which mode?

867


what are the different types of variables available in cl?

1013


How to reverse the string in rpg

1209


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

1789


describe the difference between the dowxx and douxx operations?

1192






what is the command used to invoke rlu ?

1181


how will you display a particular page in subfile ?

1058


which cl command is used to trap error messages during program execution?

872


define the purpose of the *bcat function?

916


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1743


in which specification the report layout can be defined?

985


what does defn do?

618


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1793


what keyword must be used with protect keyword ?

1132


what is externally described file ?

949