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 |
3 members in databasefile .how to read records from all the members??
To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...
I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.
What is the purpose of PUTOVR keyword?
How to index LF by relative record no (RRN)
What is the difference between inner join @ outer join
What is file identifier where we can use?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
ESCAPE message sent by child program can be handled by parent program using which keyword?
How can we override a file during runtime in rpg?
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?