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



Jim,

In SEU when you select option 14 to compile, you are
prompted at the Confirm Compile of Member screen
whether to delete the existing object.

If you respond No, and the file exists, you get msg
PDM0363: Object &2 of type &3 already exists in &1.
If you respond Yes, the file is deleted (if capable of
being deleted) and then the file is compiled.

Using just the CRTPF command you're right - you have
to delete the file first.  And this seems to be all
that CODE is doing - submitting the CRTPF command.

What I'm after (and hoping to find) is whether the
functionality in SEU to delete the file before
compiling exists in CODE.

If not, can I create my own command and add it to the
list of commands in the CODE Program Generator?

Phil

--- Jim Essinger <esinger@fmtc.com> wrote:
> Phil;
>
> I don't think that SEU can delete an existing PF.
> You have to make it a
> different name or delete it before submitting a
> compile.  This is a
> limitation of the CRTPF command,  I guess IBM wanted
> to protect you from
> yourself.  They only allow you to replace a program
> because they save a
> copy in an IBM system library.
>
> Hope this helps!
>
> Jim Essinger
> Senior Programmer/Analyst
> Student Loan Fund of Idaho / UnLtd
> esinger@fmtc.com
> 208-452-4058
>
> At 10:26 AM 1/10/2002 -0800, you wrote:
> >Is there a way when creating a file (CRTPF) to be
> >prompted whether to delete the existing object or
> not,
> >the way SEU does?
> >
> >Thanks,
> >
> >Phil
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Send FREE video emails in Yahoo! Mail!
> >http://promo.yahoo.com/videomail/
> >_______________________________________________
>
> _______________________________________________
> This is the CODE/400 Discussion & Support
> (CODE400-L) mailing list
> To post a message email: CODE400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/cgi-bin/listinfo/code400-l
> or email: CODE400-L-request@midrange.com
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/code400-l.
>


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.