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

Answers were Sorted based on User's Feedback



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

Answer / poorvi

For writing to a data area - OUT
For reading from a data area - IN
Before Writing to a data area we LOCK it and then unlock
(UNLCK) after writing to it

Is This Answer Correct ?    10 Yes 0 No

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

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

More IBM AS400 AllOther Interview Questions

which are the relational operators in rpg?

0 Answers   IBM,


Distinguish between logical file and physical file?

1 Answers  


what is the function of crtdupobj command?

1 Answers   IBM,


what is flatfile?what is the use of this file?where we can use usualy?what is the advantage of this?

2 Answers   Cognizant,


Define each of the following operation codes a, b, c, d, e

1 Answers  






What is the use of SDA ?

1 Answers  


Describe the function of SETGT operation in RPG language?

1 Answers  


what is qcmdexc?

1 Answers   IBM,


List and explain the different type of data structures?

1 Answers  


What is a Library in AS/400?

2 Answers  


What is a job log?

1 Answers  


Can an indexed file be accessed in arrival seQuence in RPG program ?

1 Answers  


Categories