|
meaning, delete all related LF's and delete the pf, run the pgm again and get the same error. funny that on one machine the app. freezes with the error msg. at the bottom while on another system the field goes blank, no msg appears, and i remain on the initial scrn. weird. Mohammad ---Rick Staebler <Linda_Rick_Staebler@email.msn.com> wrote: > > one quick question. Following the steps you have taken you say that you > re-create the PF. What does that mean? Then you try to compile. When you > compile a PF it creates the it. What are you actually doing in that step? > -----Original Message----- > From: Rick Staebler <Linda_Rick_Staebler@email.msn.com> > To: RPG400-L@midrange.com <RPG400-L@midrange.com> > Date: Sunday, January 31, 1999 10:04 AM > Subject: Re: cannot recompile > > > >You probably have logical file(s) over the physical file. dspdbr SECTIONS > >will tell you what they are. delete the logicals then try again. you might > >want to consider using chgpf with the source member for the physical file. > >with some restrictions this will prevent having to copy your data as a > >compile deletes the data. > >-----Original Message----- > >From: mohammad khan <mohammadakhan@yahoo.com> > >To: RPG400-L@midrange.com <RPG400-L@midrange.com> > >Date: Saturday, January 30, 1999 6:30 PM > >Subject: cannot recompile > > > > > >> > >>when i try & recompile a > >>pf it says: > >> > >>Cannot delete file or member > >>of file SECTIONS in MAK. > >> > >>Message ID . . . . . . : CPF3219 Severity . . . . . . . : 40 > >> > >>Message type . . . . . : Escape > >> > >>Date sent . . . . . . : 01/30/99 Time sent . . . . . . : > >>18:30:06 > >> > >> > >>Message . . . . : Cannot delete file or member of file SECTIONS in > >>MAK. > >>Cause . . . . . : If a member was referred to, the member name is > >>*N. If > >> this is a delete operation, file SECTIONS in library MAK or a member > >>of file > >> SECTIONS was not deleted because logical files or logical file > >>members are > >> based on either the file or the member. If this is a restore > >>operation, a > >> problem occurred preventing a successful restore of file SECTIONS in > >>library > >> MAK. This problem occurred after the restore operation had already > >>created > >> the file in preparation for the load of the file's data from media. > >>The > >> restore operation was not able to delete this unsuccessfully > >>restored file > >> because logical files or logical file members are based on either > >>the file > >> or the member. > >> > >>Recovery . . . : Use the display data base relations (DSPDBR) > >>command to identify the files and members based on file SECTIONS in > >>library MAK. Delete > >>the dependent files or members, and then delete file SECTIONS. > >> > >> > >> > >>now, i deleted my LF's and re-created > >>this sections pf, changed the source > >>in my rpg pgm. to not point to sections, > >>and i STILL get this message, what's wrong? > >> > >>regards, > >> > >>Mohammad _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. 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.