View previous topic :: View next topic
|
Author |
Message |
srajendran2
New User
Joined: 13 May 2008 Posts: 56 Location: Chennai
|
|
|
|
Hi,
I Need to access the TOM (Tivoli output manager) menu (this is similar to SAR) in batch using rexx to get details of N number of jobs.
I used PANELID command to get the list of panels that needs to be invoked to proceed in batch.
I coded rexx EXEC as below. I am not sure whether this is correct / not. This is my first attempt to code REXX EXEC to access ISPF panel in batch mode.
Code: |
ADDRESS ISPEXEC
"SELECT PGM(BJTPMAIN)"
|
But the member is not present in the TSO ISRDDN libraries. Could you please let me know where else i can find this module?
Also if i execute a panel which is available in TSO ISRDDN libraries, i am getting 806 error.
my SYSTSIN looks as below. In my JCL i have allocated all the libraries listed in TSO ISRDDN
Code: |
//SYSTSIN DD *
PROFILE PREFIX(P31BKJ)
ISPSTART CMD(%REXXCNDT)
/*
|
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
please let me know where else i can find this module? |
Your site likely has its own naming convention. We cannot tell you what names your site uses.
Get into TOM panels and issue ISPLIBD command to see what libraries are used. Otherwise, use TSO ISRDDN followed by LINKLIST and MEMBER BJTPMAIN commands.
Quote: |
list of panels that needs to be invoked to proceed in batch |
Judging by your comment about 806... I think you do not understand something. SELECT PGM(...) is only for load modules. ISPF panels cannot be 'invoked' in this way. You need to use the ISPF DISPLAY service to display panels. But...
Typically, panels are only used to display information; the data to be displayed is gathered by a load module program.
Unless BJTPMAIN itself was originally written to work in a batch mode, I do not believe you can coax it yourself to run in batch. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
srajendran2
New User
Joined: 13 May 2008 Posts: 56 Location: Chennai
|
|
|
|
Thanks Pedro and Peter for your suggestions. I will refer to the manuals and then try it. |
|
Back to top |
|
|
|