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

Anybody know the difference of primary file and full procedural file

4 Answers  


Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?

1 Answers  


Can we possible to key with the date field?

1 Answers   IBM,


wat is meant by hidden field , why it is used?

4 Answers   Four soft,


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


Are all these RPG/400 Interviewed Questions being asked recently? are current?

1 Answers  


what is the difference between the procedure and module in ILERPG?

4 Answers  


HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?

1 Answers   TCS,


Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


Need a sql query: retrieve all duplicate records in table?

1 Answers  


How can read PF in reverse order (end to start) in CL pgm..

8 Answers   TCS,


Categories