Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to fetch spool information using rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
thilakvs
Warnings : 1

New User


Joined: 07 Aug 2007
Posts: 30
Location: chennai

PostPosted: Wed Mar 12, 2008 3:44 pm    Post subject: How to fetch spool information using rexx
Reply with quote

I want to take a particular information from the spool. how can i get it using REXX.

Any IDEA plz..
Back to top
View user's profile Send private message
References
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3183
Location: italy

PostPosted: Wed Mar 12, 2008 3:46 pm    Post subject: Reply to: How to fetch spool information using rexx
Reply with quote

without You telling what info You want to retrieve the IDEA' s count will stay 0 for a while
Back to top
View user's profile Send private message
thilakvs
Warnings : 1

New User


Joined: 07 Aug 2007
Posts: 30
Location: chennai

PostPosted: Wed Mar 12, 2008 3:48 pm    Post subject:
Reply with quote

information like CPU time.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3314
Location: Charlotte,NC USA

PostPosted: Wed Mar 12, 2008 6:16 pm    Post subject: Reply to: How to fetch spool information using rexx
Reply with quote

I don't know of any way to directly access the spool, using REXX or otherwise. There are two options that I'm aware of:

1. Most user's have the authority to use the TSO STATUS and OUTPUT commands to check the status of their job and to retrieve that job's JES output once it's in the OUTPUT spool.

2. Or, they use one of the spool management products that are usually available: IBM's SDSF, CA's SYSVIEW, or Triangle System's IOF. I believe all of these have a batch interface, and SDSF offers a REXX interface.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1174
Location: Chennai - India

PostPosted: Thu Mar 13, 2008 5:19 am    Post subject: Reply to: How to fetch spool information using rexx
Reply with quote

Thilak,

I had worked on a similar requirement before.

- Used SDSF in batch to extract the contents of the DD where CPU time is present (This job was submitted using REXX)

- Then Using Rexx we need to find the exact line where CPU time occurs and then fetch the data. You can use POS, Substring etc to get the exact CPU time.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3558
Location: Brussels once more ...

PostPosted: Thu Mar 13, 2008 12:50 pm    Post subject:
Reply with quote

Personally I would use SMF data to get CPU timings, far more accurate.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1