From: Boyle, Darren [boyledj@BankofBermuda.com] Sent: Monday, September 13, 1999 2:10 PM To: Info-VAX@Mvb.Saic.Com Subject: Parse Parameters to Macro Help, I am trying to create an image that I can install with privileges so I do not need to give the users privileges. Can anyone tell me how to parse parameters to the command file I'm running. I have included the MACRO & the command file below. We are running OVMS7.1. > .TITLE LIB$SPAWN procedure for Non-Priv'd Users to execute Priv'd > Commands > .PSECT DATA,WRT,NOEXE,PIC > Input_File: .ASCID /DISK$GENERAL99:[BOYLE]SET_LOGICAL.COM/ > ; > .PSECT CODE,NOWRT,EXE,PIC,SHR > .ENTRY Set_Logicals,^M<> > PUSHAL Input_File > PUSHL #0 > CALLS #2,G^LIB$SPAWN > RET > .END Set_Logicals > > > DISK$GENERAL99:[BOYLE]SET_LOGICAL.COM > $! > $! > $ write sys$output "P1 == ''P1'" > $ write sys$output "P2 == ''P2'" > $ define/job 'P1' "''P2'" > $ exit > TIA, - Darren Boyle