Subject: | |
From: | |
Reply To: | BIXBY,MARK (HP-Cupertino,ex1) |
Date: | Wed, 11 Aug 1999 09:42:50 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> -----Original Message-----
> From: [log in to unmask] [mailto:[log in to unmask]]
> Sent: Wednesday, August 11, 1999 4:14 AM
> To: [log in to unmask]
> Subject: MPE AWK.HPBIN.SYS
>
>
> Hi there,
>
> I would like to run a job that automatically increase the group size.
> I had written an awk script which I ran from a job using
>
> REPORT;ONVS=APPL_VOL > TMP
> AWK.HPBIN.SYS "-f DSKSPACE" < TMP
>
> then I would like to run from the AWK script the following command
>
> system("/VESOFT/AUDITC/ALTGROUP TEST;ONVS=APPL_VOL;FILES=40000000")
>
> but it gave me this error
>
> /VESOFT/AUDITC/ALTGROUP: cannot execute: Permission denied
>
> Please advise...thanks!
I need to know exactly what /VESOFT/AUDITC/ALTGROUP is -- NMPRG, PROG, or CI
command file?
If it's an NMPRG, you should be doing:
system("/VESOFT/AUDITC/ALTGROUP TEST\;ONVS=APPL_VOL\;FILES=40000000")
Note the use of \ to escape the semicolons which have meaning to the POSIX
shell which gets invoked when you do system().
If it's a PROG or CI command file, you should do:
system("callci /VESOFT/AUDITC/ALTGROUP TEST\;ONVS=APPL_VOL\;FILES=40000000")
- Mark
|
|
|