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
what is arrival sequence?
list some of the commonly used commands for debugging?
what is the maximum number of files allowed in rpg?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
difference between view and index ?
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
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
what is scan and xlate?
how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
what is match field indicator?
how do you use commitment control in rpg program ?
How to reverse the string in rpg
how can you execute a command from within an rpg program without calling a clp program?
what is the maximum number of subroutines allowed in rpg?