Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


can anyone say,what is the use of operation extended H/N/P?

Answers were Sorted based on User's Feedback



can anyone say,what is the use of operation extended H/N/P?..

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

can anyone say,what is the use of operation extended H/N/P?..

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

Post New Answer

More RPG400 Interview Questions

What is the syntax of passing parameters to a procedure by value?

1 Answers  


How to update physical file in rpgle without using display file?

4 Answers   GalaxE, IBM, TCS,


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

2 Answers  


How to sort an array in descending in RPG

3 Answers   Google, TCS,


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???

3 Answers   HSBC,


What is a record lock error?

0 Answers   Wipro,


how do I preserve and clean the array?

0 Answers   IBM,


list down and describe the sub systems vailable

5 Answers   IBM,


WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


what is the difference between do while and do until?

0 Answers   IBM,


what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?

4 Answers  


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


Categories