Re: Beginning programing question: scripting actions with dirmaint

2008-06-18 Thread Bruce Hayden
Dirmaint has a programming interface for synchronous communication. See Appendix D of the Directory Maintenance Facility Commands Reference manual for more information on it. It uses WAKEUP under the covers to wait for the response from the DIRMAINT service machine. On Tue, Jun 17, 2008 at 4:16

Re: Beginning programing question: scripting actions with dirmaint

2008-06-18 Thread Jim Bohnsack
Pat--You should also look at the CMS DIRMAP program. I usually use it with the USER BACKUP file that DIRMAINT puts on it's 1DB disk so it's what the system looked last night or whenever you have it generated. If I want an up-to-the-minute file, I do a DIRM USER BACKUP and then run DIRMAP. I

Re: Beginning programing question: scripting actions with dirmaint

2008-06-18 Thread Rich Greenberg
On: Wed, Jun 18, 2008 at 02:06:30PM -0400,Jim Bohnsack Wrote: } Pat--You should also look at the CMS DIRMAP program. I usually use it } with the USER BACKUP file that DIRMAINT puts on it's 1DB disk so it's } what the system looked last night or whenever you have it generated. If } I want an

Re: Beginning programing question: scripting actions with dirmaint

2008-06-18 Thread Ed Zell
Good idea except that DIRMAP has one design flaw. It does not show gaps if they are at the end of the volume, and that is oftem where the most Or you could allocate a dummy at the end of each volume (one cylinder in user $THE$END or so). It also helps to make DISKMAP alert you when you

Re: Beginning programing question: scripting actions with dirmaint

2008-06-18 Thread Rich Smrcina
That's what I do to make DISKMAP work properly. Rob van der Heij wrote: On Wed, Jun 18, 2008 at 8:36 PM, Rich Greenberg [EMAIL PROTECTED] wrote: Good idea except that DIRMAP has one design flaw. It does not show gaps if they are at the end of the volume, and that is oftem where the most

Re: Beginning programing question: scripting actions with dirmaint

2008-06-18 Thread Bruce Hayden
Actually, if you create a minidisk that overlays the whole pack, DIRMAP will ignore it for overlays but show any gap at the end. Something like this: USER $DASD$ NOLOG MDISK 1C3A 3390 3339 LABEL1 On Wed, Jun 18, 2008 at 2:36 PM, Rich Greenberg [EMAIL PROTECTED] wrote: On: Wed, Jun 18,

Beginning programing question: scripting actions with dirmaint

2008-06-17 Thread Patrick Spinler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi: Although I've done a bit of maintenance on our company's VM systems, I'm a raw, brand spanking new VM script writer, so forgive me if I'm missing the obvious. I'm sure I'll have many d'oh! moments. I'd like to write some code to fetch

Re: Beginning programing question: scripting actions with dirmaint

2008-06-17 Thread Kris Buelens
I would use DIRMAP. What means first running a DIRM USER BACKUP to get the monolithic USER BACKUP file. Or, -unsupported: running a DIRMAINT EXEC to construct it yourself. At my customer instalation, we use both techniques in two EXECs that I will send you. 2008/6/17 Patrick Spinler [EMAIL

Re: Beginning programing question: scripting actions with dirmaint

2008-06-17 Thread Mike Harding
Look at WAKEUP. It can trap on events, like messages from DIRMAINT, or the arrival of a RDR file. It can also be set to time out if none of the monitored events occurs in whatever you consider to be a reasonable time. When it exits, it stacks information on why. --Mike -BEGIN PGP