Combining Jbase and linux commands




You can jbase and linux command into a single command and execute. This is really powerful option. For example if you want to list only COB services from the file F.TSA.STATUS you can do it like below.

prompt --> SH LIST F.TSA.STATUS | grep COB

This will do. The command SH is a jbase command which will execute linux commands in Jbase.

This will work on mw42 also

prompt -->SH mw42 | grep tSA
prompt -->SH mw42| grep tSA
   10    r10 1409350      6 (5)    5    1    25     6   18 5.25M  0.00  2 E SH mw42| grep tSA (SH,48)
   41    r10 1511704     47 (8)    4    1 12045  1382  295 20.5M  1.81  2 SLEEP tSA 29 (BATCH.JOB.CONTROL,943)
   43    r10 2470242     47 (8)    4    1 11590  1270  295 20.7M  1.78  2 SLEEP tSA 30 (BATCH.JOB.CONTROL,943)
 

Comments

Popular posts from this blog

Current Variables in T24

All accounting entries of an T24 account

SQL queries in JBase