25 pts.
 print 1st 20 records of the file
I need to dump the 1st record of a file using runqry is this possible

Software/Hardware used:
ASKED: March 30, 2009  5:59 PM
UPDATED: March 31, 2009  8:18 AM

Answer Wiki:
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 Wiki Answer Submitted:  March 31, 2009  8:18 am  by  philpl1jb   44,180 pts.
All Answer Wiki Contributors:  philpl1jb   44,180 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _