IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IEC161I messages


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Thu Mar 20, 2014 2:11 am
Reply with quote

I have created a VSAM KSDS using the following IDCAMS statements:

Code:

DEFINE CLUSTER(NAME(dsname) -
   CYL(2 2) -                               
   KEYS(72 0) -                             
   RECORDSIZE(328 4096) -                   
   SHR(3 3) -                               
   STORAGECLASS(SCPROD))                   


I then run an Assembler program that does an output OPEN, a write of a single record and then a CLOSE. I then run an IDCAMS print and I get:

Code:

IEC161I 056-084,SCRFMT,STEP4,SCORE,,,dsname,  859
IEC161I dsname.DATA,catname           
IEC161I 056-084,SCRFMT,STEP4,SCORE,,,dsname,  860
IEC161I dsname.INDEX,catname
IEC161I 062-086,SCRFMT,STEP4,SCORE,,,dsname,  861
IEC161I dsname.DATA,catname
...
 IDC3300I  ERROR OPENING dsname
 IDC3351I ** VSAM OPEN RETURN CODE IS 118


I know that this has been asked before. However, the response is essentially "make sure that you closed the ACB". I have verified that I do, indeed, close the ACB and that the return code is 0 from the close.

I know that this is not really an error since all of my other accesses and IDCAMS print requests all seem to work OK.

I obviously have missed something along the line. Can anyone give me any ideas as to what may be missing.

TIA
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Thu Mar 20, 2014 2:29 am
Reply with quote

You opened a file that was not closed on a previous open for output. OPEN verified the file's catalog records, and the catalog values have been validated. The file has been opened successfully. PROGRAMMER ACTION: No action required. This information message indicates that the catalog records for this file are correct, but its catalog statistics may be incorrect. These statistics cannot cause any processing error, but be aware that LISTCAT output may contain erroneous information.
Back to top
View user's profile Send private message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Thu Mar 20, 2014 2:52 am
Reply with quote

Yes, I have read all that in the messages manual as well. However, I do know for a fact that the CLOSE was properly done. How could I foul up the catalog stats?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Thu Mar 20, 2014 3:27 am
Reply with quote

May be a below link would help you for your question,

pic.dhe.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=%2Fcom.ibm.filemanager.doc_9.1%2Fbase%2Ffmnu1j00221.htm
Back to top
View user's profile Send private message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Thu Mar 20, 2014 6:39 am
Reply with quote

I have discovered the source of my problems. I made a dumb coding move. I was setting on flag bits in the ACB:
Code:

     OI    ACBINFL2,ACBSWARN
     OI    ACBINFL2,ACBSOPEN

When I commented these out, the messages went away.

Sorry to have troubled you.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 20, 2014 6:52 pm
Reply with quote

Hello,

Quote:
Sorry to have troubled you.
No trouble. . .

Good to hear it is working and thank you for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts REXX GETMSG does not return £HASP880... CLIST & REXX 2
No new posts Read 4MB message and split into multi... COBOL Programming 9
No new posts Suppress messages from being written ... All Other Mainframe Topics 6
No new posts Web Service VS MQ Messages All Other Mainframe Topics 1
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... JCL & VSAM 10
Search our Forums:

Back to Top