|
Booth, Do a CHGJOB LOG(4 0 *SECLVL) LOGCLPGM(*YES) and take a look at the joblog. It should show you the name of the file being copied from. A DSPFD on the from file will show you the 'number of key fields'. Hope this helps. Glenn Gundermann Ronald A. Chisholm Limited Toronto boothm@ibm.net wrote: > Today was a *duh* sort of day. Perhaps someone can explain this to me: > > I have a physical file with one key in a library. I have for some time used >a CL program to CPYF to copy it into QTEMP, OVRDBF, and then populate, use, >and discard it. > > For design reasons the users would like the file presented in another order >which would mean 3 keys on the file. No big deal, right? > > For some reason it will only give me the old 1-key variety when I CPYF it >from the CL. I did a WRKOBJ *ALL/fil* *ALL and deleted everything i could >find with a name even remotely like it. I've recompiled the files and the >programs. I even copied the CL to another name and deleted all of the extra >lines. Everything works the way I expect excepting the one CL program that I >really do want to use. > > What I really don't understand is where on earth it is getting the >instruction to copy the file with just one key, since all those instances are >deleted. +--- | 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.