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
 
Is there a way to send a alert to consol if the volume
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
graswant

Active User


Joined: 29 Apr 2006
Posts: 69
Location: Gurgaon

PostPosted: Mon May 12, 2008 2:24 pm    Post subject: Hi
Reply with quote

Now everything is working fine but I am not able to get few things which the above program should give....

Show volume free space statistics
STATS FROM(OUTDD1) ON(40,1,BI)
* Show the number of volumes with free space > 30%
RANGE FROM(OUTDD1) ON(40,1,BI) HIGHER(30)

AND

* Part 5
* Create a temporary data set that contains:
* - Type 'C' capacity planning records,
* - Occupancy after processing > target occupancy, and
* - Volume level is L0
COPY FROM(INDD) TO(OUTDD3) USING(CPY2)
* PRINT A REPORT SHOWING VOLUME SERIAL NUMBER, TARGET OCCUPANCY,
* occupancy after processing and date
DISPLAY FROM(OUTDD3) LIST(VOLRPT) BLANK -
DATE(DMY.) TITLE('VOLUMES NOT MEETING TARGET THRESHOLD') -
HEADER('VOLUME') ON(29,6,CH) -
HEADER('TARGET OCCUPANCY') ON(45,1,FI) -
HEADER('OCCUPANCY AFTER PROCESSING') ON(48,1,FI) -
HEADER('DATE') ON(35,4,PD)

The 3 optput files created...2 have records...Type V and D but what is this type C records for...the thrd output file is empty.....and even if the first file have type V records...I am not getting the output for free space statistics....Can someone please help .....

Thanks
Back to top
View user's profile Send private message
References
PostPosted: Mon May 12, 2008 2:24 pm    Post subject: Re: Hi Reply with quote

graswant

Active User


Joined: 29 Apr 2006
Posts: 69
Location: Gurgaon

PostPosted: Mon May 26, 2008 1:47 pm    Post subject: Hi
Reply with quote

Work done...used this jcl to get the report...and then wrote a REXX to find if some volser is filled above 90% and throw a msg using SEND command...thanks for the inputs guys......
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 7453
Location: 221 B Baker St

PostPosted: Mon May 26, 2008 7:14 pm    Post subject: Reply to: Is there a way to send a alert to consol if the vo
Reply with quote

Good to hear that it is working as you need - thank you for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
Pedro

Active User


Joined: 01 Sep 2006
Posts: 296
Location: work

PostPosted: Tue May 27, 2008 10:08 pm    Post subject: Reply to: Is there a way to send a alert to consol if the vo
Reply with quote

DCOLLECT is an IDCAMS command which gives you volume information. You probably want a job somewhat like this that creates your DCOLLECT dataset.

Code:

//IDCAMS   EXEC PGM=IDCAMS               
//SYSPRINT DD SYSOUT=*                   
//REPORT   DD SYSOUT=* 
 DCOLLECT OUTFILE(REPORT) VOLUMES(SYS159)
/*EOF                                   
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2