how can we find setll setgt chain read reade readp
operations are successfull or not,give example.explain in
detail.
Answers were Sorted based on User's Feedback
Answer / adhar246
%FOUND will give the record is found or not. Not the operation was successful. To check an opcode is successful you have to use opcode extender (E) with opcode. and use %error BIF to check the opcode was successful.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / rajkalyanam
If SETLL and SETGT are successful,that is if record is
found Equal Indicator gets ON.
If READ,READE and READP are not Successfull that is if
record is not found or retrieved Equal Indicator gets ON,
For CHAIN High indicator gets on when CHAIN operation is not
not successfull.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / harshad r suryawaunshi
Use If %found with Chain and with inedicator with and all
READ operations. if chain is unsuccessful execution of
lines in %found loop will not executed. if Read is success
full the mentioned indicator will be off.
| Is This Answer Correct ? | 1 Yes | 2 No |
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
do you use message subfiles? What are the necessary keywords required coding a message subfile?
parameters cannot be passed in which one??
list down and describe the sub systems vailable
1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
Why did we give STRSRVJOB while debugging batch program
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
what is the procedure and explain about real time scenario.
0 Answers Adhoc Technologies, Hanuman Automation, HSBC, IBM,
When a object will be locked & when a record will be locked? Plz explain.
What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'