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

Answer Posted / vivek kumar dwivedi

FPF#4 UF E K DISK
C 'ABC ' SETLLR1 44 25
C *IN55 DOWEQ*OFF
C READER1 55
C *IN55 IFEQ *ON
C LEAVE
C ENDIF
C DELETR1
C ENDDO
C SETON LR

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1561


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2199


What is the difference between iter and do?

676


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

3285


How Chain operation copies the record's data to the input buffer for the program?

1082






what is file information data structure?

1374


which program rpg or cl is efficent to update a transaction onto a database file and why ?

747


What is a record lock error?

1267


can I touch the array during treatments?

758


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

493


how do I play {insert rpg system here}?

585


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?

1455


How can we know running job is batch or interactive?

656


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

709


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.

2278