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



Thanks, Buck. That was it.

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


                                                                                
                                                                    
                    "Buck"                                                      
                                                                    
                    <buck.calabro@xxxxx        To:     rpg400-l@xxxxxxxxxxxx    
                                                                    
                    oft.net>                   cc:                              
                                                                    
                    Sent by:                   Subject:     Re: QMHSNDPM API 
usage in a subprocedure                                                
                    rpg400-l-bounces@xx                                         
                                                                    
                    drange.com                                                  
                                                                    
                                                                                
                                                                    
                                                                                
                                                                    
                    06/27/2003 03:07 PM                                         
                                                                    
                    Please respond to                                           
                                                                    
                    RPG programming on                                          
                                                                    
                    the AS400 / iSeries                                         
                                                                    
                                                                                
                                                                    
                                                                                
                                                                    




> I am trying to use the QMHSNDPM within a subprocedure
> in a program. I used to place the call to the api complete
> with parameters in a subroutine. Now I'm trying to replace
> the subroutine with a subprocedure within the same
> compilation unit. I changed the SFLPGMQ parameter in
> the display file to (276). When I keep the entry in the
> SFLPGMQ field to '*', I don't get any output on my
> message subfile. Not sure what the difference is.

Putting the API within a subprocedure adds 1 to the stack count.  Try
bumping up the stack counter and see if that does it.
  --buck



_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.