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 declare the pull button in AS/400..

1864


What is difference between bind by copy and bind by reference?

1712


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

487


what is the rpg system?

656


how do you use commitment control in rpg?

740






What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2506


what is *place and *auto keyword in prtf ?plz explain

2706


what do you mean by an input subfile, what are the keywords required?

755


What is a record lock error?

1250


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?

474


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

3258


is this a rpg channel?

665


what is an online rpg?

707


how do I declare a minor?

702


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

539