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

Interviewer asked me write down DDS for load all subfile .can anybody write dds

0 Answers  


wat is meant by hidden field , why it is used?

4 Answers   Four soft,


what is plat file?

6 Answers   Indian Infotech,


i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program

6 Answers  


What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

0 Answers  


what is the difference between the cpyf command crtdupobj command?

9 Answers   IBM,


What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.

2 Answers   CTS,


can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E

1 Answers  


1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?

2 Answers   Cap Gemini,


1.The questions have given an array declaration and move operation then this statement is correct or not?

3 Answers   TCS,


Categories