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
Answers were Sorted based on User's Feedback
Answer / ajit
C CUSTNO CHAIN CUSTMAST
IF %ERROR
1) The position is incorrect.
2) If you mistakenly wrote incorrect position, then for %ERROR, you should use CHAIN(E).
3) Use EVAL %ABS(Name of the variable) for 2nd Q.
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / ved dubey
1. The Position of opcode if is not valid...
2. %ABS can be used instead of this code
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / 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 |
Answer / syam
A1. C CUSTNO CHAIN(E) CUSTMAST
A2. QTY = %ABS(QTY * -1)
Is This Answer Correct ? | 2 Yes | 6 No |
In how many ways a session/device error occurs,,, and what is the remedy for it?
How to index LF by relative record no (RRN)
parameters cannot be passed in which one??
how to change the length of the field in a physicalfile?
How do I read records from Subfile? what is the purpose of READC explain with example?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
what are the array operations?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
what are the types of identifers
what is the difference between the cpyf command crtdupobj command?
As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks