1.WHAT IS WRONG WITH THE CODE BELOW?
C CUSTNO CHAIN CUSTMAST
IF %ERROR

can any body find the wrong please?

2.What builtin function will you use to achieve the
following functionality?
C QTY IFLT *ZERO
C QTY MULT-1 QTY
ENDIF

Answer Posted / naveen chandra joshi

%error should nto be user with Chain opcode. %Found()/% Not
Found() is used with Chain opcode.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens when sflsiz = sflpag? What are the advantages and disadvantages?

706


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

608


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?

1443


How can we know running job is batch or interactive?

645


what is the use of sflnxtchg?

795






explain sflclr, sflend, sfldlt, and sflcsrrrn?

880


How would display prime numbers using CL program?

5668


Explain mdt?

657


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

749


how can you display specific subfile page on the screen in unequal subfile?

669


what is *place and *auto keyword in prtf ?plz explain

2714


what was the robotech rpg?

678


How to declare the pull button in AS/400..

1870


can I touch the array during treatments?

750


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4196