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


1)how to do date validation in rpg?
2)how to delete dUPLICATE RECORDS?

Answers were Sorted based on User's Feedback



1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?..

Answer / vilas

factor1 opcode factor2 result eq
key setll pf
reade pf 50
dow *in50=*off
delete rec1
reade pf 50
enddo

Is This Answer Correct ?    0 Yes 3 No

1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?..

Answer / sumathi

For Date validation we can use TEST Opcode
Duplicate records can be deleted using RRN

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More RPG400 Interview Questions

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.

0 Answers   IBM,


What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?

1 Answers   IBM,


purpose of pannel group??/

2 Answers   CTS,


which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?

1 Answers  


Can anybody tell me that why we use option(*nodebugio)in H- Spec?

3 Answers  


why we do STRSRVJOB in batch debugging in as400

1 Answers  


What is I90(Insure 90)?

1 Answers  


Are all these RPG/400 Interviewed Questions being asked recently? are current?

1 Answers  


in rpg could u please tell me errors types and meanings like 3030 that ....

1 Answers   EXL, UHG,


A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?

2 Answers   IBM,


Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.

1 Answers   CTS, IBM, iGate,


The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 Answers  


Categories