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 / syam

A1. C CUSTNO CHAIN(E) CUSTMAST
A2. QTY = %ABS(QTY * -1)

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you use commitment control in rpg?

757


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

831


When it is desirable to describe files Internally?

1188


what is the rpg system?

668


what is kids-rpg?

667






How to call one program from another program in RPG? please help me with the code

1260


are there any useful c runtime apis that I can call from rpg iv?

700


what is an online rpg?

725


How can we know running job is batch or interactive?

656


How to select highest score of each subject or how to select highest income of every month?

1295


what is the use of sflnxtchg?

803


What is a record lock error?

1265


how can I tell when to replace the array?

702


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

548


how do I preserve and clean the array?

675