I wanted to print the Records in Physical File with out using
1. RPGLE Program
2. Query
I wanted to print the PF records using
WRKMBRPDM and Option 6
Please help me to find the solution
Software/Hardware used:
ASKED:
July 3, 2009 8:13 AM
UPDATED:
July 8, 2009 6:32 PM
You can use the Copy File command to print the contents of a file. You would have something like this:CPYF FROMFILE(ANY/XYZ) TOFILE(*PRINT) and you could create your on user defined option (F16) in PDM if you need to do this more than a few times .
You could also use the Run Query option for the file. This would print the file with the headings and would give you the ability to choose specific records. The command would look something like this:
RUNQRY QRYFILE((ANY/XYZ *FIRST)) OUTTYPE(*PRINT)