ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Cobol/400 Normal display files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cobol/400 Normal display files

    Hi all,

    I wrote a pgm which will display the normal screen to the user and it will write into the database file.

    But while close the files I am getting LBL1331 error...

    Please help

    thanks
    hsp
    'Coding = Experience'
    hsp

  • #2
    Re: Cobol/400 Normal display files

    The message description for LBL1331 is:
    Code:
    Message ID . . . . . . . . . :   LBL1331                                
    Message file . . . . . . . . :   QLBLMSG                                
      Library  . . . . . . . . . :     QDEVTOOLS                            
                                                                            
    Message . . . . :   &1 defined as invalid type. Statement ignored.      
    Cause . . . . . :   The indicated data-name is defined as a type that is
      invalid in this context.                                              
    Recovery  . . . :   Ensure that the correct item type is used.
    This indicates that you are trying to perform a specific action (like CLOSE, MOVE, etc.) on a data name, variable, etc. that is not a valid operation.

    You need to look at your joblog to verify which line of code is generating this error message and see if the statement that is being excuted is valid in the context for which it is intended.

    Terry

    Comment


    • #3
      Re: Cobol/400 Normal display files

      Ya i got that, now it is working

      thanks a lot
      'Coding = Experience'
      hsp

      Comment

      Working...
      X