If the source volume to be copied by INSTMEMB is the last entry in user diskmap 
e, the variable lastcyl will not be primed and the install will fail.

Portion of PIPE command from INSTMEMB

/* */
findlabel = "TVB1F9"
TRACE R
"PIPE (endchar ?) < USER DISKMAP C"  ,
  "| STRIP"                          ,
  "| a: TOLABEL" findlabel           ,
  "? "                               ,
  "a:"                               ,
  "| TOLABEL VOLUME "                ,
  "| DROP LAST 3"                    ,
  "| TAKE LAST 1"                    ,
  "| SPECS W5   "                    ,
  "| VAR LASTCYL"
logmsg = "CYLINDERS 0-"||lastcyl

In this case TVB1F9 is the last entry in USER DISKMAP C

00518 VOLUME   USERID      CUU   DEVTYPE      START         END        SIZE
00519 TVB1F9   $ALLOC$     A03     3390       00000       00000       00001
00520          XCAT        100     3390       00001       03330       03330
00521 * * * End of File * * *

Here is the result of the script

"CYLINDERS 0-LASTCYL"

If I put a dummy VOLUME line in user diskmap c, it works

"CYLINDERS 0-03330"

Chris Will


The information contained in this communication is highly confidential and is 
intended solely for the use of the individual(s) to whom this communication is 
directed. If you are not the intended recipient, you are hereby notified that 
any viewing, copying, disclosure or distribution of this information is 
prohibited. Please notify the sender, by electronic mail or telephone, of any 
unintended receipt and delete the original message without making any copies.
 
 Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are 
nonprofit corporations and independent licensees of the Blue Cross and Blue 
Shield Association.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to