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 |
When it is desirable to describe files Internally?
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.
Need a sql query: retrive all duplicate records in table
we are sending data of physical file to screen design and it is showing no record why?
How can we know running job is batch or interactive?
i want to retrieve record b/w 2 dates in as400
Can we possible to key with the date field?
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 hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
can i use unique key in LF
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?