• Subject: Re: Panel group menu
  • From: MacWheel99@xxxxxxx
  • Date: Tue, 23 Jan 2001 13:49:19 EST

I did not see the original post, but I do pass user name in several programs.

RTVJOBD gets current &USER of the job & other info on that &USER can come 
from RTVUSRPRF for example

then some RPG program has *ENTRY PARM in which we pass several fields.

&USER is usually for page header purposes
other fields for limiting what is to be processed

For example when reading through secondary files, we only want the data on a 
particular range of warehouses

>  From:    edfishel@us.ibm.com (Ed Fishel)
>  
>  Loyd,
>  
>  > Is there a way to pass the user name specified in ZUSER?
>  
>  Place a '&' in front of the variable name. For example,
>  
>  CMD call pgm(psn9001) parm(&zuser)
>  .Birthday list (PSN9001)
>  
>  Ed Fishel,
>  edfishel@US.IBM.COM

MacWheel99@aol.com (Alister Wm Macintyre) (Al Mac)
AS/400 Data Manager & Programmer for BPCS 405 CD Rel-02 mixed mode (twinax 
interactive & batch) @ http://www.cen-elec.com Central Industries of 
Indiana--->Quality manufacturer of wire harnesses and electrical 
sub-assemblies - fax # 812-424-6838

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

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].