|
Loyd: You need a '&' ahead of the variable for it to work. Here a snippet from one of my UIM Menus: :LISTACT OPTION=4 ENTER='CMD dltsplf file(&spfile.)' ENTER=' job(&spjnbr./&spuser./&spjnam.)' ENTER=' splnbr(&spfnbr.)' I hope this helps. Fred Skinner AS/400 Systems Manager USFilter Distribution Thomasville, Ga. -----Original Message----- From: Goodbar, Loyd (AFS-Water Valley) [mailto:LGoodbar@afs.bwauto.com] Sent: Monday, January 22, 2001 1:14 PM To: MIDRANGE-L@midrange.com Subject: Panel group menu When creating UIM menus, I define a variable zuser to retrieve the current user name. :var name=zuser. In the action line of the menu item, I want to pass that user name to the called program. I currently have :menui option=1 help=nohelp action='CMD call pgm(psn9001) parm(zuser)' .Birthday list (PSN9001) However, this passes the actual literal "ZUSER" into the program. Is there a way to pass the user name specified in ZUSER? Thanks, Loyd -- Loyd Goodbar Programmer/Analyst BorgWarner Incorporated Air/Fluid Systems, Water Valley, MS +--- | 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 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 +---
As an Amazon Associate we earn from qualifying purchases.
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.