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 |
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
Can we possible to key with the date field?
How do you find whether a record is locked or not?
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
How can we make use of SETLL operation in CL?
what is program status data structure?
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
how do I declare a table or array in rpg iv?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
Delete FileName at first statement in RPG.