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


  • Subject: RE: *ENTRY PLIST (was: RE: Pointer not set for location .....)
  • From: rob@xxxxxxxxx
  • Date: Fri, 1 Jun 2001 11:49:49 -0500


Pretty much.

Rob Berendt

==================
A smart person learns from their mistakes,
but a wise person learns from OTHER peoples mistakes.


                                                                                
                                        
                    "Joe Giusto                                                 
                                        
                    \(E-mail\)"               To:     <RPG400-L@midrange.com>   
                                        
                    <juicenetdps@cross        cc:                               
                                        
                    winds.net>                Subject:     RE: *ENTRY PLIST  
(was: RE: Pointer not set for location     
                    Sent by:                  .....)                            
                                        
                    owner-rpg400-l@mid                                          
                                        
                    range.com                                                   
                                        
                                                                                
                                        
                                                                                
                                        
                    06/01/01 11:02 AM                                           
                                        
                    Please respond to                                           
                                        
                    RPG400-L                                                    
                                        
                                                                                
                                        
                                                                                
                                        




I see now.  So the %addr(parm1)=*null only applies to command processing
programs and RPGLE procedures with optional parms?



Joe Giusto II
Programmer/Analyst
Ritz Camera
Beltsville, MD
301-419-3209 x347
410-813-2812 x347

 -----Original Message-----
From:           owner-rpg400-l@midrange.com
[mailto:owner-rpg400-l@midrange.com]  On
Behalf Of rob@dekko.com
Sent:           Thursday, May 31, 2001 5:26 PM
To:        RPG400-L@midrange.com
Subject:        RE: *ENTRY PLIST  (was: RE: Pointer not set for location
.....)


Granted, this is definitely application dependent, but there are
applications is which you only want to pass certain parameters.  For
example, imagine the CPP called by RTVJOBA.  Notice all the parameters?  If
you don't use them, then their address is *null.  I know, I wrote a command
called RTVJOBD.  Also, people do this technique all the time, hence the
support in RPGLE for *omit.  Let's say I was a glutton for punishment and I
wrote an all encompassing date handling program.  And I call it with a
command.  The parameters might be
1)  from date
2)  to date
3)  from date format
4)  to date format
5)  days from date 1 to date 2
6)  day of the week for from date
7)  day of the week for to date
And I only pass it parameter 1 and only request back parameter 6.  (Yes,
you can do this with commands.  Again, think RTVJOBA).  In this case, what
would the value of %parms be?  And could you make a valid assumption based
on %parms?

Rob Berendt



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---




+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@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.