[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clt::cobol

Title:VAX/DEC COBOL
Notice:Kit,doc,performance talk info-->DIR/KEY=KIT or DOC or PERF_TALK
Moderator:PACKED::BRAFFITT
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3250
Total number of notes:13077

3196.0. "COBOL V5.2-35 IVP Failes " by MIASYS::LALIBERTE () Mon Feb 10 1997 09:39

    Installed COBOL V5.2-35 on VAX VMS 6.1 
    
    IVP Failes with the following
     
    ?#002  Reported file-status = 10  Expected file-status = 46
    
    Version of COBOL v5.2-35
               COBRTL 5.1-005
    
    Any one know what could be causing the IVP to fail??
    
    Thanks!
    
    ray
T.RTitleUserPersonal
Name
DateLines
3196.1VAX COBOL V5.2 is no longer supportedPACKED::BRAFFITTMon Feb 10 1997 11:386
>    Installed COBOL V5.2-35 on VAX VMS 6.1 
    
    VAX COBOL V5.2 is no longer supported.
    
    VAX COBOL V5.4 just went to the SSB.  See note 3174 for a pointer to
    the kit.
3196.2Installation of COBOL V5.4 IVP still failes??MIASYS::LALIBERTEMon Feb 10 1997 12:1113
    I just installed V5.4 and IVP still failes with the same message
    
     ?#002  Reported file-status = 10  Expected file-status = 46
    
            Installation of COBOL V5.4 completed at 12:07
    
    Versions  Cobol T5.4-51
             cobrtl V5.4-14
    
    help!!!
    
    Thanks
    ray
3196.3COBOL$IVP.LIS file not found at run timePACKED::MASLANKAMon Feb 10 1997 14:4117
Re .2

This message is received when you try to compile, link and run the
VAX COBOL$IVP program without using the /LIST option on the compile
command. When the COBOL$IVP runs it attempts to read the .LIS file 
which is created by the /LIST option during the compile. If the .LIS
file is not present at rut run time when the program attempts to
open it, the File-status of 10 is reported to indicate at an optional
file was not found. If the .LIS file were present, the program would
read it until it was exhausted, then would read it again. This last
read would produce the desired (in this case) file-status code of 46.

The COBOL$IVP program is intended to be run in the COBOL$IVP.COM file 
which is on the VAX COBOL Version 5.4 distribution kit. You might wish 
to examine this .COM file.

Thank you for your expression of interest in VAX COBOL.
3196.4This is what the COBOL$IVP.COM is doing???MIASYS::LALIBERTETue Feb 11 1997 03:3027
      After looking into the COBOL$IVP.COM file and running several test
      here is what is happening:
    
     This is the line for OPT-FILE-1
     SELECT OPTIONAL OPT-FILE-1 ASSIGN TO "SYS$DISK:COBOL$IVP.LIS.30000".
    
       Note: there is no file of COBOL$IVP.LIS.30000 in this directory only
             one of COBOL$IVP.LIS;1
    
       o First they open OPT-FILE-1 which they expect a file status of "05"
         which they get and the file exception routine is not executed.
    
       o Next the read OPT-FILE-1 which they expect a file status of "10"
         which they get and the file exception routine is executed.
    
       o Next they read OPT-FILE-1 again this time they expect a file
         status of "46" which they do not get instead they get "10" the file
         exception routine is executed an they report the error.
    
       Note: I have also run the IVP on a AXP system an every thing works
             as expected the COBOL$IVP.COM looks like its doing the same thing
             as the VAX version???
    
    Thanks!
    Ray
    

3196.5SELECT OPTIONAL is being tested with "COBOL$IVP.LIS.30000"PACKED::BRAFFITTTue Feb 11 1997 06:4517
>     This is the line for OPT-FILE-1
>     SELECT OPTIONAL OPT-FILE-1 ASSIGN TO "SYS$DISK:COBOL$IVP.LIS.30000".
>    
>       Note: there is no file of COBOL$IVP.LIS.30000 in this directory only
>             one of COBOL$IVP.LIS;1
    
    The IVP is testing SELECT OPTIONAL in this case.
    
    Note that there are 2 file specifications involved in the IVP:
    
PROGRAM-ID. COBOL$IVP WITH IDENT 'COBOL V5.2-35'.
	SELECT OPTIONAL OPT-FILE-1 ASSIGN TO "SYS$DISK:COBOL$IVP.LIS.30000".
	SELECT FILE-1 ASSIGN TO "SYS$DISK:COBOL$IVP.LIS".
    
PROGRAM-ID. COBOL$IVP WITH IDENT 'COBOL V5.4-51'.
	SELECT OPTIONAL OPT-FILE-1 ASSIGN TO "SYS$DISK:COBOL$IVP.LIS.30000".
	SELECT FILE-1 ASSIGN TO "SYS$DISK:COBOL$IVP.LIS".
3196.6COBOL$IVP works properlyPACKED::MASLANKATue Feb 11 1997 08:5625
FWIW I just ran the COBOL$IVP.COM from a privileged account on my VAX 
workstation, following the instructions in the VAX COBOL V5.4 Install
Guide. This is the recommended procedure for running this IVP. Here 
is what I got for output. This is the expected output.


$ @sys$common:[systest.cobol]cobol$ivp


 � Digital Equipment Corporation 1994, 1997. All rights reserved.

 Restricted Rights: Use, duplication, or disclosure by the U.S. Government is
 subject to the restrictions as set forth in subparagraph (c) (1) (ii) of
 DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227 -14 Alt. III, as
 applicable.

 This software is proprietary to and embodies the confidential technology of
 Digital Equipment Corporation.  Possession, use, or copying of this software
 and media is authorized only pursuant to a valid written license from Digital
 or an authorized sublicensor.


        Successful test of VAX COBOL T5.4-51
$