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 |
How to sort an array in descending in RPG
What are the necessary keywords required to code a message subfile?
How can i check the object existance in RPG program without using QCMDEXC command.
what is the equivalent keyword for CHAIN opcode ??
can anyone say,what is the use of operation extended H/N/P?
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
steps involved in debugging and types of debugging modes?
Explain mdt?
while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue
Can we possible to key with the date field?
What is the purpose of Panel Groups?
Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.