IBM Support

PI87911: FS=30 WHEN READING EMPTY VSAM FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When trying to read an empty VSAM file, the COBOL V5.1 runtime
    issues a FS=30 error.
    
    Symptoms of the error look like the following:
    $ ./TESTVSAM
    ** ACFEE020 - MSG DISPLAY DATE  170605
    ** ACFEE020 - MSG DISPLAY TIME  235603
    OPEN I-O :00**000000
    **
    REC-XCFEE050 :    9999999999999999999999999999999999999999999
    **
    FD-CHIAVE :9999999999999999999999999999999999999999999**
    readkey failed 1997905939 SFS_CURRENT_UNDEFINED
    READ  :30**000019,SFS_CURRENT_UNDEFINED
    **
    ** ACFEE020 - MSG002-ERROR ACCESS VSAM FILE         READ ALL
    -9-30
    <Thread 1>
    <Thread 1>  Traceback:
    <Thread 1>    Offset 0x00000628 in procedure writeERRmsg
    <Thread 1>    Offset 0x00000044 in procedure iwzWriteERRmsg
    <Thread 1>    Offset 0x00000160 in procedure _iwzcBCD_ADD_Pckd
    <Thread 1>    Offset 0x000010b4 in procedure TESTVSAM, near line
    154 in file TESTVSAM.cbl
    <Thread 1>    --- End of call chain ---
    IWZ903S  The system detected a data exception.
    IWZ901S  Program exits due to severe or critical error.
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Clients who are trying to read an empty VSAM file via COBOL
    might experience an FS=30 error.
    
    PROBLEM DESCRIPTION:
    The COBOL for AIX, V5.1 runtime was not expecting a
    "SFS_CURRENT_UNDEFINED" to occur on a READ.
    So it was not equipped to handle such an error. Hence, it issued
    a general FS=30 error.
    

Problem conclusion

  • The fix is now to properly handle a "SFS_CURRENT_UNDEFINED" for
    a READ
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI87911

  • Reported component name

    COBOL FOR AIX

  • Reported component ID

    5724Z8700

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-09-26

  • Closed date

    2017-10-12

  • Last modified date

    2017-10-12

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    COBOL FOR AIX

  • Fixed component ID

    5724Z8700

Applicable component levels

  • R510 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SGM","label":"COBOL for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"510","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
19 October 2021