|
Don't feel bad Dean - I was "duh" on this too, I guess... I'm getting back into "serious" programming and several weeks back I was needing some copies of live files in my test library. I MISTAKENLY copied one of the logicals (meant to copy the physical) and when I looked at the file it HAD DATA IN IT ! At FIRST I thought the "live" file's library was in my library list or was point to "live" or something but after a while released that the copy of the LF had created the PF... Chuck DAsmussen@aol.com wrote: > Hello All, > > A "newbie" was asking me about a "feature" today, and I'd never seen it > before! Perhaps it was the early training that said that there's no data in a > logical file, but I would swear that at one time at least, CPYF wouldn't even > work against a logical! Now, this manager that knows enough to be dangerous > tried a CPYF for testing against a logical instead of CRTDUPOBJ and it > _WORKED_ (sort of)! Under V4R1, if you CPYF from a logical file to the same > (non-existent) name in another library with the CRTFILE parm set to *YES, it > creates a KEYED PHYSICAL FILE WITH ALL THE DATA, FIELD DESCRIPTIONS, AND THE > KEY BASED UPON THE LOGICAL!!! Has this always been there, or is it new? > > Regards! > > Dean Asmussen > Enterprise Systems Consulting, Inc. > Fuquay-Varina, NC USA > E-Mail: DAsmussen@aol.com > > "I feel like a fugitive from the law of averages." -- Bill Mauldin > +--- > | 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 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.