1)how to do date validation in rpg?
2)how to delete dUPLICATE RECORDS?
Answer Posted / sekhar
For Date validation we can use TESTD Opcode
Duplicate records can be deleted using RRN
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
how do I declare a table or array in rpg iv?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
which program rpg or cl is efficent to update a transaction onto a database file and why ?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
How many program bind in one module....
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
what is data area and how it is used in rpg program ?
how does the rpg element work?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
what is the rpg system?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
how do you use commitment control in rpg?