+ Reply to Thread
Results 1 to 5 of 5

Thread: OPNQRYF

  1. #1
    K.Forsythe Guest

    Default OPNQRYF

    Each file will have its own Open Data Path that the OPNQRYF command must build and then share with the RPG program. Kevin

  2. #2

    Default OPNQRYF

    Do my indexes still exist in the logical or do you have to specify key fields in the opnqryf? Trevor

  3. #3

    Default OPNQRYF

    I have been reading info out on IBM's website but don't really get a clear picture on what I am wondering. I was hoping someone here could assist me. What I am wanting to know is if I do an opnqryf on a pf, do logicals over the pf use the temp data set? I want to get a subset of the data and then use multiple lf's in my rpg to access that information. From what I gathered I would have to issue a opnqryf on each logical that I want to use, is that true? thanks

  4. #4
    K.Forsythe Guest

    Default OPNQRYF

    The records are returned in whatever order goes the fastest. If you want a specific order and the ability to do any random I/O - use the KEYFLD parameter to set your keys.

  5. #5
    buck.calabro@commsoft.net Guest

    Default OPNQRYF

    > What I am wanting to know is if I do > an opnqryf on a pf, do logicals over > the pf use the temp data set? No. The logicals are built over the PF. Think of OPNQRYF like a LF that you create on the fly. If you create a new LF, does that affect any of the existing LF's? No. If you need multiple access paths inside your RPG program you need to run multiple OPNQRYFs. --buck

+ Reply to Thread

Similar Threads

  1. Will OPNQRYF help me?
    By Guest.Visitor in forum CL
    Replies: 1
    Last Post: 06-04-2004, 05:44 AM
  2. OPNQRYF and SQL
    By Guest.Visitor in forum Analysis
    Replies: 1
    Last Post: 02-10-2000, 02:39 AM
  3. OPNQRYF Again!!
    By Guest.Visitor in forum Programming
    Replies: 1
    Last Post: 08-03-1999, 02:12 AM
  4. New to OPNQRYF
    By Guest.Visitor in forum Analysis
    Replies: 1
    Last Post: 04-28-1999, 10:20 AM
  5. OPNQRYF
    By T.Holt in forum Analysis
    Replies: 1
    Last Post: 04-30-1998, 03:04 PM

Posting Permissions

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