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?
Answer Posted / gagan44
Using DSPFD we get all the memebers in an outfile .Then use the command OVRDBF to override each member in outfile
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what is kids-rpg?
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?
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
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.
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
what is the difference between do while and do until?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
what are the key words you must use when using a subfile?
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 the procedure and explain about real time scenario.