25 pts.
0
Q:
print 1st 20 records of the file
I need to dump the 1st record of a file using runqry is this possible
ASKED: Mar 30 2009  5:59 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
23625 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
QUERY/400 doesn't have a constraint on record numbers.
You could use CYPF to copy the first 20 records to a temporary file
Then use QUERY/400 to report the records.
Phil


Hi,

If you don't need the record formatting from Query, you could just use CPYF to copy the first 20 records to *PRINT.

Regards,

Martin Gilbert.
Last Answered: Mar 31 2009  8:18 AM GMT by Gilly400   23625 pts.
Latest Contributors: Philpl1jb   24105 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0