|
View previous topic :: View next topic
|
| Author |
Message |
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
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 |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 3112 Location: NYC,USA
|
|
|
|
| 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 |
|
 |
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
| 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 |
|
 |
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
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 |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
| Quote: |
| Sorry to have troubled you. |
No trouble. . .
Good to hear it is working and thank you for letting us know
d |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|