SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Can I view or print all the jobs by job number

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Can I view or print all the jobs by job number
Author Message
Marc



Joined: 26 Aug 2003
Posts: 13

Post Can I view or print all the jobs by job number? Reply with quote


I had a job waiting for a semaphore file which was called 0022400318.24x7 and I was trying to find out which job 224 was....


Wed Sep 17, 2003 11:15 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Can I view or print all the jobs by job number Reply with quote

Sure, use the File/Print menu

You can also active the details page and browse jobs. When you click on a job icon in the left-side tree, details are shown in that view on the right-side. If you do not have thousands jobs you can find any job quickly. If you know job name you can also use the Find option.

: I had a job waiting for a semaphore file which was called 0022400318.24x7 and
: I was trying to find out which job 224 was....

Wed Sep 17, 2003 11:57 am View user's profile Send private message
Marc



Joined: 26 Aug 2003
Posts: 13

Post Re: Can I view or print all the jobs by job number Reply with quote

The file print does not list the jobs by job number, which is what I was looking for. Can I print or view all the jobs by job number? Or is there a way to find out what which job is job number 214?

: Sure, use the File/Print menu

: You can also active the details page and browse jobs. When you click on a job
: icon in the left-side tree, details are shown in that view on the
: right-side. If you do not have thousands jobs you can find any job
: quickly. If you know job name you can also use the Find option.

Thu Sep 18, 2003 8:30 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Can I view or print all the jobs by job number Reply with quote

Here is what you can do:
1. Open 24x7 online help
2. Open JobList topic
3. Click the Examples button
4. Scroll down and highlight the second example then click Copy to copy it into the Clipboard
5. Close help and create new job of JAL script type.
6. In the job script paste Clipboard contents removing the last Copyright line
7. Run the new job

: The file print does not list the jobs by job number, which is what I was
: looking for. Can I print or view all the jobs by job number? Or is there a
: way to find out what which job is job number 214?

Thu Sep 18, 2003 9:55 am View user's profile Send private message
Marc



Joined: 26 Aug 2003
Posts: 13

Post Re: Can I view or print all the jobs by job number Reply with quote

I did the following steps and I get a "type mismatch" error on this line:
isEqual( job_list, "", no_more )

Any ideas?

: Here is what you can do: 1. Open 24x7 online help
: 2. Open JobList topic
: 3. Click the Examples button
: 4. Scroll down and highlight the second example then click Copy to copy it
: into the Clipboard
: 5. Close help and create new job of JAL script type.
: 6. In the job script paste Clipboard contents removing the last Copyright
: line
: 7. Run the new job

Tue Sep 23, 2003 12:30 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Can I view or print all the jobs by job number Reply with quote

: I did the following steps and I get a "type mismatch" error on this
: line: isEqual( job_list, "", no_more )

: Any ideas?

Wed Sep 24, 2003 1:19 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Can I view or print all the jobs by job number Reply with quote

Try the following

//////////////////////
// declare script variables
Dim( job_list, string )
Dim( more, number )
Dim( job_id, string )
Dim( job_name, string )
Dim( last_run, string )
Dim( report, string, " REPORT \r\n\r\n " )

// build job list
JobList( "", job_list )
// parse the list
Length(job_list, more)

LoopWhile( more, END_LOOP )

// get next job ID

GetToken(",", job_list, job_id )

// get job name, and last run time

JobDescribe( job_id, "NAME", job_name )

JobDescribe( job_id, "LAST_RUN", last_run )

// append to the report

ConcatEx( report, job_id, "\t", job_name, "\t", last_run, "\r\n", report )

Length(job_list, more)
END_LOOP:

// send report to the default printer
Print( report )
//////////////////////

: I did the following steps and I get a "type mismatch" error on this
: line: isEqual( job_list, "", no_more )

: Any ideas?

Wed Sep 24, 2003 1:24 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.