× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Nope,

CPYF is working with the members of the physical file.

You are responsible for the member(s) of the logical when you did CRTLF
MBR() DTAMBRS()

HTH,

Charles Wilt
--
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121
  

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx 
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Berman
Sent: Thursday, September 14, 2006 10:49 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Problem w/ logical based on multi members.

Rob, number of members =0!
but why is this?
shouldnt the cpyf copy all members as is indicated?
--- midrange-l-bounces@xxxxxxxxxxxx <rob@xxxxxxxxx>
wrote:
ADDLFM?  Verify this with
DSPFD LLIB/L01
Look for "Number of members"
Then DSPFD LLIB/L01 TYPE(*MBR)
and skip to the bottom

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





Mike Berman <mikeba777@xxxxxxxxx> 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
09/14/2006 10:29 AM
Please respond to
Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>


To
midrange-l@xxxxxxxxxxxx
cc

Subject
Problem w/ logical based on multi members.






I have a Logical file over a Physica that has about
30 members. When I 
copy the Physical into my lib, as follows:
  CPYF FROMFILE(DLIB/MLP01) TOFILE(LLIB/MLP01)
FROMMBR(*ALL) TOMBR(*FRO 
MMBR) MBROPT(*REPLACE) 
 
  then I create the logical w/ max members.
 
  WHen I  call the program from my library, I get an
error:
 
  Message . . . . :   File L01 in library *LIBL with
member *N not found.  
 
Cause . . . . . :   The file was not opened.  The
reason code is 06. The   

  reason codes and their meanings are as follows:  
    01 - The library does not exist.  
    02 - The file does not exist.  The library does
exist.  
    03 - The file does not exist.  The library
specified as *LIBL.  
    04 - The member was saved with storage freed.  
    05 - The member does not exist.  The file does
exist.  
    06 - The file does not have any members.  
    10 - The member on the remote system is not
found.  
    14 - The member was saved with storage freed on
the remote system.  
    15 - The member on the remote system does not
exist.  The file does 
exist.

  Yet, when I call this program from the prod. lib,
there is no such 
problem. 
 
  In each case I am calling the RPG directly.
 
  Perhaps someone could point out what steps are
missing here?
 
  Thanks,
  Mike

 
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo!
Mail.
-- 
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing 
=== Message Truncated === 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.