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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is scan and xlate?

1080


an access path may be in which sequence?

628


Space & Skip Are Which Level Keywords?

745


how can u check no of records in a file?

671


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

2117






Using %check we are checking monika in mona what is output? What is %SCAN?

983


what key word is used when screen is re-display?

643


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?

922


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...

1906


difference between sflrcdnbr and sflnxtchg?

692


difference between view and index ?

697


what is the command to know key fields of file?

619


where can you specify an indicator in lokup operation?

1133


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

575


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

1163