Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IEC161I messages

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Grant Goodale

New User


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

PostPosted: Thu Mar 20, 2014 2:11 am    Post subject: IEC161I messages
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Thu Mar 20, 2014 2:29 am    Post subject:
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: 55
Location: Brampton, Ontario, Canada

PostPosted: Thu Mar 20, 2014 2:52 am    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

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

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

http://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: 55
Location: Brampton, Ontario, Canada

PostPosted: Thu Mar 20, 2014 6:39 am    Post subject:
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

Site Director


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

PostPosted: Thu Mar 20, 2014 6:52 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts ims program to put and get MQ messages fatenezzat COBOL Programming 1 Wed Feb 17, 2016 1:07 am
No new posts REXX / CA TOP SECRET messages carlos fuentes CLIST & REXX 2 Tue Oct 27, 2015 11:02 pm
No new posts Writing messages between the records ... ssudhanshu CLIST & REXX 4 Tue Apr 28, 2015 12:54 pm
No new posts Asynchronous consumption of WebSphere... Wilsy Java & MQSeries 0 Fri Dec 19, 2014 10:34 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us