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 / sasikumar

Specify 'U' in file type of F-Specification. Then Chain or
Read a record. The record will be locked.WRKOBJLCK
OBJ(File_Name) OBJTYPE(*FILE) or by using Shift+Esc and type
3 in the line. Then type option 12(Display locks, if active)
to view the locked records.

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 the difference between sflclr and sflinz?

1038


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

1923


How to avoid using indicators in ile ?

773


Can you summarize the steps I have to go through in writing my first cgi?

624


what are the different opcodes available in rpg for database access ?

815






what is the command used to invoke rlu ?

1177


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1069


How can we change the uppercase to Lowercase in RPG?

933


what is the necessary keyword for non-join logical file?

1176


what is the purpose of indicators in rpg?

1098


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

408


when is a tag statement used in rpg?

1368


can you display a empty subfile?

791


under given circumstances, my cgi should link to another site. How to implement this?

579


What is the use of jdftval in as400?

914