A line needs to be moved in CMSDDR EXEC.  The current version:

Parse Value Diagrc(8,'QUERY VIRT 'cuu) With ,
          cp_rc cp_cc . . . . . nr_cyls .
nr_cyls=nr_cyls-1                 /* Minus 1 because of startcyl = 0  */
If cp_rc<>0 Then Call Explain          /* Virtual address is not here */

The "nr_cyls=nr_cyls-1" line should be *after* the "If cp_rc<>0" line
so that you don't get a syntax error when nr_cyls is blank because the
QUERY VIRT cuu command failed.  Probably the best suggestion would be:

Parse Value Diagrc(8,'QUERY VIRT 'cuu) With ,
          cp_rc cp_cc . . . . . nr_cyls .
If cp_rc<>0 Then Do                    /* Virtual address is not here */
   'CP QUERY VIRT' cuu                 /* Show error message          */
   Call Explain
   End
nr_cyls=nr_cyls-1                 /* Minus 1 because of startcyl = 0  */

On Thu, Sep 11, 2008 at 6:56 PM, Mark Post <[EMAIL PROTECTED]> wrote:
>>>> On 9/11/2008 at  5:30 PM, in message
> <[EMAIL PROTECTED]>, Alyce Austin
> <[EMAIL PROTECTED]> wrote:
> -snip-
>> cmsddr restore f191 nov191 diskimg a
>>     46 +++ nr_cyls=nr_cyls-1                 /* Minus 1 because of startcyl =
>> 0
>>  */
>> DMSREX476E Error 41 running CMSDDR EXEC, line 46: Bad arithmetic conversion
>> Ready(20041); T=0.01/0.01 14:03:00
>
> I've not seen anyone else report that problem.  What does your NOVSTART CP 
> directory entry look like?
>
>
> Mark Post
>



-- 
Bruce Hayden
Linux on System z Advanced Technical Support
IBM, Endicott, NY

Reply via email to