I have 1000 records in a file. I would like to generate 10
identical reports from this record with same format
(structure of records) how do I do this?



I have 1000 records in a file. I would like to generate 10 identical reports from this record with..

Answer / kamlesh

overide yr printer file with having copy(10)
it will generate 10 spoolfile.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More RPG400 Interview Questions

How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


How to index LF by relative record no (RRN)

1 Answers  


how many variables can we declare in cl pgm?

13 Answers  


What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  






I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?

1 Answers  


what is the use of sflnxtchg?

0 Answers   IBM,


How do you code file / field renames in ILE RPG?

4 Answers   Accenture, IBM,


1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?

13 Answers   HCL,


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


Categories