Steve McKay is exactly right!
I have a CLLE that performs the VRYCFG command before and after our backups. The CLLE is an entry
In WRKJOBSCDE about a minute before the backup kicks off. The CLLE runs this:
VRYCFG CFGOBJ(TAPMLB04) CFGTYPE(*MLBRSC) STATUS(*ALLOCATE) RSRCNAME(TAP03)
When the backups have completed (via BRMS), we have a WRKCTLGBRM entry at the end of it that
Call a program that does this:
PGM
VRYCFG CFGOBJ(TAPMLB04) CFGTYPE(*MLBRSC) +
STATUS(*DEALLOCATE) RSRCNAME(TAP03)
ENDPGM
This way I can engineer the VRYCFG from any partition in WRKJOBSCDE as needed and
use the program to deallocate the resource on any partition on any WRKCTLGBRM
as is needed.
Just an example but I'm sure you get the idea that there is a lot of flexibility and creativity
Available.
---------------------------------------------------------------------------------------
message: 3
date: Fri, 6 Nov 2020 16:23:33 +0000
from: Dean Eshleman <Dean.Eshleman@xxxxxxxxxxxx>
subject: CL command to vary off a line description
Hi,
I'm wondering if there is a CL command that I can use to vary off a line and then later vary it back on. Right now I manually:
WRKCFGSTS CFGTYPE(*LIN) CFGD(ETHLIN01)
Take option 2 to vary it off
Make a change using CHGLINETH command
Take option 1 to vary it on
Can this be scripted with CL commands? This is part of some steps I need to do to get our DR machine ready for testing and I'm trying to automate it as much as possible.
Dean Eshleman
Software Development Architect
Everence
1110 North Main Street
PO Box 483
Goshen, IN 46527
(800) 348-7468 ext. 3528
(574) 533-9515 ext. 3528
[Join our Talent Network]<
http://www.everence.com/careers>
Confidentiality Notice: This information is intended only for the individual or entity named. If you are not the intended recipient, do not use or disclose this information. If you received this e-mail in error, please delete or otherwise destroy it and contact us at (800) 348-7468 so we can take steps to avoid such transmission errors in the future. Thank you.
------------------------------
message: 4
date: Fri, 6 Nov 2020 11:26:35 -0500
from: Steve McKay <samckay1@xxxxxxxxx>
subject: Re: CL command to vary off a line description
VRYCFG CFGOBJ(YOURLINE) CFGTYPE(*LIN) STATUS(*ON)
VRYCFG CFGOBJ(YOURLINE) CFGTYPE(*LIN) STATUS(*OFF)
Thanks,
Steve McKay
(205) 585-8424
samckay1@xxxxxxxxx
On Fri, Nov 6, 2020 at 11:24 AM Dean Eshleman <Dean.Eshleman@xxxxxxxxxxxx>
wrote:
Hi,
I'm wondering if there is a CL command that I can use to vary off a
line and then later vary it back on. Right now I manually:
WRKCFGSTS CFGTYPE(*LIN) CFGD(ETHLIN01) Take option 2 to vary it off
Make a change using CHGLINETH command Take option 1 to vary it on
Can this be scripted with CL commands? This is part of some steps I
need to do to get our DR machine ready for testing and I'm trying to
automate it as much as possible.
Dean Eshleman
Software Development Architect
Everence
1110 North Main Street
PO Box 483
Goshen, IN 46527
(800) 348-7468 ext. 3528
(574) 533-9515 ext. 3528
[Join our Talent Network]<http://www.everence.com/careers>
Confidentiality Notice: This information is intended only for the
individual or entity named. If you are not the intended recipient, do
not use or disclose this information. If you received this e-mail in
error, please delete or otherwise destroy it and contact us at (800)
348-7468 so we can take steps to avoid such transmission errors in the
future. Thank you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
------------------------------
Subject: Digest Footer
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) digest list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
------------------------------
End of MIDRANGE-L Digest, Vol 19, Issue 1623
********************************************
________________________________
Please note: Florida has very broad public records laws. Many written communications to or from The Florida Bar regarding Bar business may be considered public records, which must be made available to anyone upon request. Your e-mail communications may therefore be subject to public disclosure.
As an Amazon Associate we earn from qualifying purchases.