whare we can use IN AND OUT AND UNLCK opcodes?please can
any body tell me in real time senario with example

Answer Posted / swadesh

When we use data area in (RPG400) we can read this by IN
write through OUT and when write data area we lock this
after write we UNLOCK it.so that we can use this again.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which are the query selection criteria, which can be given in a query?

663


can you display a empty subfile?

780


what is the use of jdftval in join logical file?

1101


what is the difference between normal upddta to pf and updating using dfu program?

748


what opcode could be used to test an alphanumeric field for all numeric values?

1058






How do I remove a flag or check no. or name when a user opens too many sessions?

1765


how may a cgi control duplicate inputs?

593


What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

544


Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

1924


what the purpose of ovrdta, ovrata keywords?

1161


how many printer files can be defined in f specs ?

957


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

1159


What are the different opcodes used for file operation on a subfile in a rpg pgm?

1085


when do you explicitly open files and close files in an rpg program?

1170


what is the function of cpysplf command?

964