Jay,
Paul mentions the command file that he wrote, capchang. He authorized us
to include it with the Adager software. It is a very well written and an
extremely useful method of managing dataset capacities and performance.
Another method is through the MPEX contributed command file, dbadgalt. It,
too, is a very well written and reliable method of changing dataset
capacities.
I would suggest that you take the time to look at both of those methods to
determine if they may serve you better than the method you suggest in the
subject of your post.
With regards to using Streamx and Adager, use the following as a basis from
which you can elaborate. You can use 'while loops' to keep prompting for
different datasets, different databases (of which the job card remains the
creator), even different commands, checks, etc, etc...
try it:
=============================================
!job Adager,USER.ACCOUNT, GROUP; Time=Unlim; OutClass=LP, 8, 1
!comment
!comment Declare and initialize variables
!comment
::setbraces ~~
::assign basename = "null"
::assign setname = "null"
::assign pc = "null"
!comment
!comment Prompt for user input -------
!comment
:: prompt string basename = "Enter database name: " ;&
:: check = (basename <> "");&
:: checkerror = " => Try again, invalid response"
!comment 1.7
:: prompt string setname = "Enter dataset name: " ;&
:: check = (setname <> "");&
:: checkerror = " => Try again, invalid response"
!comment 1.8
:: prompt string pc = "Enter percentage full: " ;&
:: check = (pc <> "");&
:: checkerror = " => Try again, invalid response"
!comment Created by Adager version 000304
!
!file AdagerJB = STRX.GROUP.ACCOUNT
!
!comment For your convenience in reading this Adager-built
!comment StreamFile, there is a "}" in every prompt. This is
!comment a special symbol that causes Adager to ignore such
!comment "comment" lines during actual processing. You are
!comment certainly welcome to add YOUR OWN comments by editing
!comment this StreamFile. If you want a whole line as a
!comment comment, simply put a "}" in column 1. If you want
!comment to place comments AFTER your answers, use the SPL
!comment convention << just like this example >>.
!
!run Adager.ad000304.Rego
} Database [NO MORE] ?
~basename~
} Adager command [EXIT] ?
Change Capacity
} Dataset(s) [NO MORE] ?
~setname~
} New ?
~pc~
} Device-class name (or LDEV #) for CUST [DISC] ?
} Dataset(s) [NO MORE] ?
} Adager command [SCHEDULE CHANGES] ?
APPLY CHANGES
} Database [NO MORE] ?
!eoj
_______________
| |
| |
| r | Patrick mailto:[log in to unmask]
| e | http://www.adager.com
| g | Patrick Mullen Tel 208 726-9100
| a | Technical Support Fax 208 726-8191
| d | Adager Corporation
| A | Sun Valley, Idaho 83353-3000 U.S.A.
| |
|_______________|
|