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
which are the query selection criteria, which can be given in a query?
can you display a empty subfile?
what is the use of jdftval in join logical file?
what is the difference between normal upddta to pf and updating using dfu program?
what opcode could be used to test an alphanumeric field for all numeric values?
How do I remove a flag or check no. or name when a user opens too many sessions?
how may a cgi control duplicate inputs?
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?
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
what the purpose of ovrdta, ovrata keywords?
how many printer files can be defined in f specs ?
what is the necessary keyword for non-join logical file?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
when do you explicitly open files and close files in an rpg program?
what is the function of cpysplf command?