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



Hi Samuel,

>From what I can see in your description, you are compiling in batch.
When compiling in batch, we submit both compiles right away as it was not
possible to wait for the result of the first compile before the second.
If you compile interactively, you will only see the second compile if the
first was successful.

In this case, it would appear that the compiler is placing some type of
intermidiate file in the QTEMP library (something which CODE would have no
control over)
Of course, a file in QTEMP as part of a batch job would not be visible to
the CODE job (in this case your STRCODE job) as it would have its own
QTEMP.

In this case, my recommendation is to compile interactively.

Hope this helps.

Violaine Batthish
CODE/400 Project Lead
batthish@ca.ibm.com          IBMCA(BATTHISH)

WDT/400 page:  http://www.ibm.com/software/ad/wdt400
WDT/400 Support : http://www.ibm.com/software/ad/wdt400/support



                                                                                
                                        
                    "Samuel J Lennon"                                           
                                        
                    <lennon_s_j@hotmai       To:     CODE400-L@midrange.com     
                                        
                    l.com>                   cc:                                
                                        
                    Sent by:                 Subject:     Compiling SQLRPGLE on 
V5R1                                    
                    code400-l-admin@mi                                          
                                        
                    drange.com                                                  
                                        
                                                                                
                                        
                                                                                
                                        
                    08/16/2001 04:33                                            
                                        
                    PM                                                          
                                        
                    Please respond to                                           
                                        
                    code400-l                                                   
                                        
                                                                                
                                        
                                                                                
                                        



Code/400 V5R1, SP2 installed. OS/400 V5R1. Using a STRCODE server in an
interactive session.


Compiling a SQLRPGLE program with CRTSQLRPGI command. There are no
precompiler errors. But there are compiler errors.


The program is compiled twice--as I recollect this is a workaround until
the pre-compiler is enhanced. However, I suspect that the second compile
should be submitted only if the first one succeeds.


Any idea what is happening?


Here's all that I know.


The error list window comes up with 3 errors. I double click on one so I
can insert them all into the source. I get a window with this:


EVF2062, RC = 291 Object not found for SQLTEMP1.


In the info line at the bottom of the error list window is this message:


Unexpected error opening file '<LENNON$S>QTEMP/QSQLTEMP1(ERB800R5)'


I held the JOBQ to see what was being submitted.


First job:


CALL PGM(QDEVTOOLS/EVFCFDBK) PARM('37' 'N' 'LENNON$S' 'CRTSQLRPGI
OBJ(LENNON$S/ERB800R5) SRCFILE(LENNON$S/QRPGLESRC) SRCMBR(ERB800R5) OPTION
(*EVENTF) TGTRLS(*CURRENT) CLOSQLCSR(*ENDMOD) DBGVIEW(*NONE)')


Second job:


CALL PGM(QDEVTOOLS/EVFCFDBK) PARM('37' 'Y' 'LENNON$S' 'CRTSQLRPGI
OBJ(LENNON$S/ERB800R5) SRCFILE(LENNON$S/QRPGLESRC) SRCMBR(ERB800R5) OPTION
(*NOEVENTF) TGTRLS(*CURRENT) CLOSQLCSR(*ENDMOD) DBGVIEW(*SOURCE)')



Get your FREE download of MSN Explorer at http://explorer.msn.com
_______________________________________________ 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




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.