Does this do what you want?
t = time()
h1 = substr(t,1,2)
h2 = h1+1
m = substr(t,4,2)
m = m+5
t1 = strip(h1) || strip(m)
t2 = strip(h2) || strip(m)
"hsend setsys primaryspmgmtstart(" t1 t2 ")"
-----Original Message-----
From: John Mattson
Sent: Monday, June 29, 2009 1:56 PM
To: [email protected]
Subject: Control HSM Pri/SEC migration from batch job
Does anyone have a REXX or other BATCH utility one can use to set DFHSM
primary and secondary migration times to eg: "Now Plus 2 Minutes". I am
trying to schedule HSM migrations based on my scheduler rather than
fixed
times in the HSM SETSYS. Basically the fixed times in ARCCMD00 may not
correspond to my schedule when there are processing problems etc etc
etc.
My basic idea it to execute a batch REXX which creates HSM commands like
"
HSEND SETSYS PRIMARYSPMGMTSTART(1148 1155)" where the start time is
current system clock plus sum minutes. Someone must have done this
before.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html