Well, they basically beat me into submission.  This program uses the VCP to
check for the existence of the file.  While it could be done within the CPP
they don't believe they would check the parameters before doing any further
processing.  They would wait until they needed it.  The problem is that it
takes 20 minutes of run time before they need it.  They do not feel it
would be very popular for them.

They decided that to balance the possibility of many new iSeries customers
using Domino versus skilled programmers, that they would tilt the scale
towards the new iSeries customers and give the skilled programmers a
challenge to overcome - which we have.

While I feel that a compromise would be to have the CPP check all
parameters prior to execution I just decided that I don't feel this battle
is worth the struggle.

Rob Berendt

==================
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin



                    rob@dekko.com
                    Sent by:                  To:     midrange-l@midrange.com
                    midrange-l-admin@mi       cc:
                    drange.com                Fax to:
                                              Subject:     Re: GENLVL for CL

                    12/03/2001 10:03 AM
                    Please respond to
                    midrange-l







pmr 53962,500

Rob Berendt

==================
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin



                    "Simon Coulter"
                    <shc@flybynight.com       To:
midrange-l@midrange.com
                    .au>                      cc:
                    Sent by:                  Fax to:
                    midrange-l-admin@mi       Subject:     Re: GENLVL for
CL
                    drange.com


                    12/01/2001 01:37 AM
                    Please respond to
                    midrange-l







Hello Rob,

I realise that you have a work-around for this problem but please clarify
this for me.  Are you attempting to create a CL program containing the
CFGDOMSVR command?  Do you get the error message when compiling or editing?

Since the CPP for CFGDOMSVR doesn't run until the program runs I suspect a
Validity Checking Program is sending the message.  If that is true then I
would APAR it as broken.  It is wrong to check for the existence of any
object in a VCP because the VCP runs during SEU edit sessions.  It is wrong
for the simple reason that the object may be created when the CL program
runs and before the command in question is reached.

Imagine how annoying it would be if all CL commands checked for the
existing
of objects during editing.  Especially the common situation of:

           CRTDTAARA QTEMP/STUFF TYPE(*CHAR) LEN(50)
           CHGDTAARA QTEMP/STUFF ....

Regards,
Simon Coulter.

«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
«» FlyByNight Software         AS/400 Technical Specialists       «»
«» Eclipse the competition - run your business on an IBM AS/400.  «»
«»                                                                «»
«» Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\   «»
«» Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /   «»
«»                                                           X    «»
«»               ASCII Ribbon campaign against HTML E-Mail  / \   «»
«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.