|
Hi Dean, Unfortunately for you, that 'feature' has always been there (ie since the first release of S/38). The output always has been a 'physical' file. For a multi-record logical file, you have to specify a record/format name and can specify only one. The output records in the physical file will contain only the fields in the logical file. 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 > +--- -- Leo Lefebvre leo@tug.on.ca Toronto Users Group for Midrange Systems Visit our home page at <http://www.tug.on.ca> Ph: (416) 606-5960 --- Fx: (416) 495-0100 +--- | 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.