HP3000-L Archives

April 2000, Week 1

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:
"VANCE,JEFF (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
VANCE,JEFF (HP-Cupertino,ex1)
Date:
Thu, 6 Apr 2000 22:17:08 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
> Is there a simple (i.e., not doing a showjob and parsing
> output) way to determine if a scheduled job exists?

If you are on 6.0 PP1 or greater you a few choices:
  - if you know the jobID you can do this:
        if JINFO("#Jnnnn", "exists") then ...

  - if you know the job "[jname,]user.acct" logon ID you can do this:
        if JOBCNT("jname,user.acct") > 0 then ...

HELP JOBCNT and HELP JINFO provide the details.

HTH,
Jeff V.

ATOM RSS1 RSS2