|
You are quite right actually. I am struggling with OCL36 wherein the *FIRST member has data but the second member is blank and there is a code that checks for file attribute as IF ?F'A,FILE'?/0 GOTO NORECS Where NORECS sends an error message. When I try DSPPFM *FIRST, it displays the correct member as well as in any CL. But when it is OCL, I am not able to determine why this picks up the 2nd member. Do you know what is the problem here and how could I resolve it? (Of course converting to CL will be ideal but can't have that luxury and there are hundreds of OCL as above.) Thanks for all the help, Sudha Sudha Ramanujan SunGard Futures Systems sramanujan@xxxxxxxxxxxxxxxxxx (312) 577 6179 (312) 577 6101 - Fax -----Original Message----- From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx] Sent: Thursday, April 03, 2003 1:04 PM To: Midrange Systems Technical Discussion Subject: Re: PF members It depends on the IBM command and/or API, seriously. We ran into this problem and decided to avoid using *FIRST in such applications. Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin <SRamanujan@xxxxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 04/03/2003 01:16 PM Please respond to Midrange Systems Technical Discussion To: <midrange-l@xxxxxxxxxxxx> cc: Fax to: Subject: PF members I am looking for information on which order members are accessed. For instance, I have a PF AFILE with a members AFILE & MEMBR2 and in my program, I am accessing *first which member should get picked up? Is it member creation time and date that will prioritize or will it have something to do with the name? On this file I changed the member name AFILE to MEMBR3 and renamed MEMBR2 to AFILE. When I do a dsppfm MEMBR3 gets picked up. Is this because of time and date will the same thing happen in CL with *FIRST? Where on IBM site can I get information on this? I saw file management and could not find much. TIA, Sudha Sudha Ramanujan SunGard Futures Systems sramanujan@xxxxxxxxxxxxxxxxxx (312) 577 6179 (312) 577 6101 - Fax _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.