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: email@example.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: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.