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

What is the purpose of RTVMBRD command?

1 Answers  


1.what are the builtin funtions in cl pgg?Explain with example 2.what is meant by left outer join?where we can use this?

2 Answers  


What is the purpose of USROPN keyword?

1 Answers   CTS,


What is the purpose of OPNQRYF (Open Query File)?

1 Answers  


When will DUMP and DEBUG opcodes be ignored?

1 Answers  






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

0 Answers   IBM,


does cl support arrays

1 Answers  


I have to execute 12000 CL Commands one by one.. So, I have created a file called COMMAND. This file has only 1 field called STRING. This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc) I have written a CL which will read all the record and do sbmjob.. But it is not working... Plz help me to exexute all these 12000 commands..

2 Answers   ISE,


how to see all source files in a particular library? ex:xyz is a library name a,b,and c..... are source files how to see?

13 Answers  


define data structure?

1 Answers   IBM,


How to write a password mask program in as400? like the password which i type should be displayed as '*****' r ###### which the user wishes to dispaly if u could help me with url r the solution in written code this will help me

21 Answers   Accenture, SNS,


what is term cua , saa?

1 Answers   IBM,


Categories