1) How to retrieve RRN through RPG ?
2) How to pass parameter by value ?
3) How to trap the error through the RPG/400
Answer Posted / deepu
1.USING SETLL OR CHAIN BY GIVING RRN IN FACTOR ONE,OR
SPECIFY RECNO KEYWORD IN FILE LEVEL.
2.USING CALL AND PARM
3.USING ON-ERROR OPCODE
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
Explain mdt?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what is the necessary keyword needed to scroll subfile records?
How would display prime numbers using CL program?
what is the use of sflnxtchg?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
what is the procedure and explain about real time scenario.
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what is kids-rpg?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?