ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

pf file to output queue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pf file to output queue

    Hello,

    Does anyone know if it's possible to move a query generated file into an output queue?

    Using CL

  • #2
    You want to put the contents of a physical file into a spooled file? If you want the contents formatted you could try RUNQRY QRYFILE((filename)) OUTTYPE(*PRINTER), otherwise you could try CPYF FROMFILE(filename) TOFILE(*PRINT).

    Comment


    • #3
      Hi,

      Does anyone know if in a multi member physical file, in each of the individual members, can there be multiple record formats?
      If yes, how to refer to them and when we create a logical file, how to go about it.

      Comment

      Working...
      X