can anyone say,what is the use of operation extended H/N/P?
Answers were Sorted based on User's Feedback
Answer / karthika
N for reading records without locking it. but, make sure
that you are not doing any updation in the DB file as
updation needs locking the record.This operator extender is
applicable for all the READ operations
H for Half Adjust
E for Error detection
D for Date format
P for Padded blanks
eg: MOVE(P) 'RAM' A 20
'RAM' WILL BE IN RIGHT END AND PADDED BLANKS WILL BE IN
LEADING SPACE
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / shalini
There are 4 operation extenders N,E,H,D, dont have any idea
about P. N is for performing any operation without lock for
example: read(n) means read without lock.
E is for error detection at operation level,
H is for half adjust for example 2+5.68=7.68 however with
the help of eval(h) a=2+5.68;value of a will be 7.7 and D
is use for date
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the syntax of passing parameters to a procedure by value?
How to update physical file in rpgle without using display file?
In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening
How to sort an array in descending in RPG
A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???
What is a record lock error?
how do I preserve and clean the array?
list down and describe the sub systems vailable
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
what is the difference between do while and do until?
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.