HP3000-L Archives

August 1999, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"BIXBY,MARK (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
BIXBY,MARK (HP-Cupertino,ex1)
Date:
Wed, 11 Aug 1999 09:42:50 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
> -----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

ATOM RSS1 RSS2