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


  • Subject: RE: Logical files
  • From: Joe Giusto <JGiusto@xxxxxxxxxxxx>
  • Date: Wed, 21 Oct 1998 14:53:04 -0400

Try RMVM from the logical file and then ADDLFM using the DTAMBRS parm to
point to the new file.


Joe Giusto II
Patuxent Publishing Company
 <mailto:jgiusto@patuxent.com> mailto:JGiusto@patuxent.com
http://www.lifegoeson.com <http://lifegoeson.com> 


        -----Original Message-----
        From:   PaulMmn [SMTP:PaulMmn@ix.netcom.com]
        Sent:   Tuesday, October 13, 1998 11:13 PM
        To:     MIDRANGE-L@midrange.com
        Subject:        Re: Logical files

        >Must be one of those days.  I need to take a logical file that is
reference
        >to a physical file in one library and change the file that is
references.  I
        >can not remember the name of the command to do this.
        >
        >
        >Scott Swaim
        >scott@qualitycorps.com


        There is no command I know of that will change a logical file to
point to a
        different physical file.  Once the logical is created, and the link
to the
        physical established, that's it.  If you have the source code for
the
        logical file, just compile it into the library where the physical
file
        lives.

        You -can- clone a logical file, assuming you have 2 identical files
(same
        record layout, format names, etc. etc.) in 2 separate libraries, 1
of which
        has a logical file pointing to it.

        1) Make sure that both the logical and the physical it references
are in
        the same library!  THIS IS VERY IMPORTANT!  If they are not in the
same
        library, use the MOVOBJ command so they are.  You can move the
logical back
        where it came from once you're done cloning it.

        2) Use the CRTDUPOBJ command and duplicate the LF to the library
where the
        2nd physical file lives.

        Done!  Move the 1st logical file back where it came from.

        --Paul E Musselman
        PaulMmn@ix.netcom.com


        +---
        | This is the Midrange System Mailing List!
        | To submit a new message, send your mail to
MIDRANGE-L@midrange.com.
        | To subscribe to this list send email to
MIDRANGE-L-SUB@midrange.com.
        | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
        | Questions should be directed to the list owner/operator:
david@midrange.com
        +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.