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 |
Interviewer asked me write down DDS for load all subfile .can anybody write dds
wat is meant by hidden field , why it is used?
what is plat file?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
What is Multi Occurrence Data Structure(MODS)?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
what is the difference between the cpyf command crtdupobj command?
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?
1.The questions have given an array declaration and move operation then this statement is correct or not?