1,025 pts.
 Printing Physical File Records
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

Answer Wiki:
Use iSeries Access and do a transfer from iSeries server. You have many different output options there. ////////////////// Hi, You can use CPYF FROMFILE(FILE) TOFILE(*PRINT) (or create a shortcut on PDM) and you can print in *CHAR or *HEX! Regards, Wilson
Last Wiki Answer Submitted:  July 8, 2009  6:32 pm  by  Steve Pitcher   1,070 pts.
All Answer Wiki Contributors:  Steve Pitcher   1,070 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

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 .

 1,145 pts.

 

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)

 1,145 pts.