Results 1 to 2 of 2

Thread: QMF Proc

  1. #1
    Join Date
    Nov 2007
    Posts
    5

    Unanswered: QMF Proc

    Hi!

    I need help.

    How can I execute multiple queries stored in a single QMF proc and save the output to one dataset only?

    Im trying this:

    RUN SQLDATA.GLF011QA(&&CREATOR=&CREATOR,
    + FORM=SQLDATA.GLF011FA CONFIRM=NO
    PRINT REPORT
    RUN SQLDATA.GLF011QB(&&CREATOR=&CREATOR,
    + FORM=SQLDATA.GLF011FB CONFIRM=NO
    PRINT REPORT
    EXIT


    but only the output from the 2nd query is saved in the dataset.


    Thanks!

  2. #2
    Join Date
    Oct 2007
    Posts
    52
    Provided Answers: 3
    Its been awhile for me and I can't test this out at the moment, but on your print dataset you should be able to use disp=mod in your JCL.

    Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •