× 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.



You copied the physical, but not the logicals. And copying a logical file 
is a weird proposition because all the members in the copy will still 
point to the original physical. Best to create all the members (ADDLFM) in 
the new logical pointing to the physical.




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


To
midrange-l@xxxxxxxxxxxx
cc

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 

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.