1)how to do date validation in rpg?
2)how to delete dUPLICATE RECORDS?
Answers were Sorted based on User's Feedback
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 |
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 |
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.
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
purpose of pannel group??/
which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
why we do STRSRVJOB in batch debugging in as400
What is I90(Insure 90)?
Are all these RPG/400 Interviewed Questions being asked recently? are current?
in rpg could u please tell me errors types and meanings like 3030 that ....
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?
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.
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?