Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
CLI-command to generate 'Job Monitor GUI'-like status output ?
2012-09-04
04:49 AM
3,298 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I have the need to automatically generate output similar to the status lines of the Job Monitor GUI within a shell-script.
Which cli-command or program can be used in a shell-script to generate such output?
Thanks for your hints
Roland
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steps to import job monitor records
1) Move to snapcreator gui directory
2) Set classpath to locate derby.jar and derbytools.jar they are under gui/lib/
gui> set classpath=path/to/derby.jar; path/to/derbytools.jar
3) run ij with following command:
gui> java org.apache.derby.tools.ij
4) set snapcreator schema
ij> SET SCHEMA SNAPCREATOR;
5) run query to select all records:
ij> SELECT * FROM JOB;
7) If you would like to import the table to a file, here is the command:
ij> CALL SYSCS_UTIL.SYSCS_EXPORT_TABLE
(null,'JOB','job.del',null,null,null);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kapil
Thank you for the moment.
I'll try to implement these steps into a single shell-script.
Roland
![](/skins/images/094DD352636536671740FB44AC67F2EA/responsive_peak/images/icon_anonymous_message.png)