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
 

 

VSAM File status '90' and extend code ' 132'

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

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Thu Feb 26, 2009 2:16 am    Post subject: VSAM File status '90' and extend code ' 132'
Reply with quote

Hi,

My job is access a VSAM filein I-O mode and adended while rewriting the record. The Status code with which it abended was '90'. I have tried to capture the extended VSAM status code and the following is its information,
01 WS-FILE-STATUS XX 90
01 WS-EX-FILE-STATUS
02 VSAM-EXTENDED-RETURN-CODE S9(4) COMP +8
02 VSAM-EXTENDED-FUNCTION-CODE S9(4) COMP +0
02 VSAM-EXTENDED-FEEDBACK-CODE S9(4) COMP +132

When i check for the feedback code '132', it gives me an information to try capturing the Spanned record in LOC mode. I am really not able to understand the what that means.

Does anyone have a clue?
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Feb 26, 2009 2:41 am    Post subject:
Reply with quote

What does the listcat show for this dataset?
What IO operation received the error? How are you sure?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Thu Feb 26, 2009 2:50 am    Post subject:
Reply with quote

If the error is on the OPEN statement, the 132 is listed as meaning:
Quote:
132(X'84')


One of the following errors occurred:

° Not enough storage was available for work areas.
° The required volume could not be mounted.
° A system logic error occurred while VSAM was accessing
the job file control block (JFCB).
° The format-1 DSCB or the catalog cluster record is
invalid.
° The user-supplied catalog name does not match the name
on the entry.
° The user is not authorized to open the catalog as a
catalog.
so are there any messages in the job output relating to your VSAM file? What does the job log say the used memory was -- and how much does the JCL give the program?
Back to top
View user's profile Send private message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Thu Feb 26, 2009 3:56 am    Post subject:
Reply with quote

thanks for the reply.

But my job abended at a WRITE or REWRITE statement.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Thu Feb 26, 2009 4:54 am    Post subject:
Reply with quote

I'm concerned about the chances of resolving this if you don't even know if a WRITE or REWRITE was being performed ... before posting here surely you did some elementary checking, such as figuring out which statement the program got the 90 file status on?

OPEN, WRITE, REWRITE ... doesn't matter from the standpoint of seeing what messages show up on the job log, nor finding out how much memory was used by the program versus how much the JCL asked for. These are still things we're going to need to know before proceeding much further. And the LISTCAT output will be helpful to see how the file is defined as well.
Back to top
View user's profile Send private message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Fri Feb 27, 2009 5:25 am    Post subject:
Reply with quote

Let me rephrase my question,

What parameters needs to be specified to write spanned records into a VSAM file?

Does anyone has a idea about accesing the Spanned records in MOVE mode and since they cannot be accessed in LOCATE mode.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Feb 27, 2009 6:05 am    Post subject:
Reply with quote

smaru wrote:
Let me rephrase my question,
What parameters needs to be specified to write spanned records into a VSAM file?
Oh my God, is this the Question?
Why is some, but not, all of the information you have, not needed by us?
Oh, BTW, is that WRITE or REWRITE, (expectant pause) or both?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Fri Feb 27, 2009 6:17 am    Post subject:
Reply with quote

Quote:
What parameters needs to be specified to write spanned records into a VSAM file?

Does anyone has a idea about accesing the Spanned records in MOVE mode and since they cannot be accessed in LOCATE mode.
What language are you using?
What does the LISTCAT for the VSAM file look like?
What have you tried already that hasn't worked?
Have you read the DF/SMS Macro Instructions for Data Sets manual?
Have you read the DF/SMS Using Data Sets manual?

Since you're convinced what your problem is, I'm sure you'll be able to find the solution -- hint: LOC and MVE mode are your only two options. But since you haven't responded to our previous requests for information to help you, I doubt you'll be getting many responses from here.
Back to top
View user's profile Send private message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Fri Feb 27, 2009 7:06 pm    Post subject:
Reply with quote

Hi Robert,

Languages: Cobol, JCL

LISTCAT details:
Code:
    0CLUSTER ------- VSAM.FILE                                             
          IN-CAT --- CATALOG.VSYM163                                       
    0DATA ---------- VSAM.FILE.D                                           
          IN-CAT --- CATALOG.VSYM163                                       
    0INDEX --------- VSAM.FILE.I                                           
          IN-CAT --- CATALOG.VSYM163                                       
    1IDCAMS  SYSTEM SERVICES                                           TIME:
    -                             LISTING FROM CATALOG -- CATALOG.VSYM163   
    0         THE NUMBER OF ENTRIES PROCESSED WAS:                         
                        AIX -------------------0                           
                        ALIAS -----------------0                           
                        CLUSTER ---------------1                           
                        DATA ------------------1                           
                        GDG -------------------0                           
                        INDEX -----------------1                           
                    NONVSAM ---------------0                           
                    PAGESPACE -------------0                           
                    PATH ------------------0                           
                    SPACE -----------------0                           
                    USERCATALOG -----------0                           
                    TAPELIBRARY -----------0                           
                    TAPEVOLUME ------------0                           
                    TOTAL -----------------3                           
0         THE NUMBER OF PROTECTED ENTRIES SUPPRESSED WAS 0             
0IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0             
1IDCAMS  SYSTEM SERVICES                                           TIME:
0                                                                       
0IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 0     
----------------------------------------------------------------------------------


I access the file in dynamic mode and this is what i have tried to do,

Read the file INTO working storage variable.
Process the program logic
Write the Output record from working storage variable, if Status 22 - Rewrite the record.

My program is able to Update the record till the LRECL of the file is 32764, but when it tries to pass the CI size its throws me the status code '90'.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Feb 27, 2009 7:14 pm    Post subject:
Reply with quote

Need more detail on the cluster and data components.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Fri Feb 27, 2009 7:30 pm    Post subject:
Reply with quote

When we ask for a LISTCAT, we mean LISTCAT ENT(????) ALL so we can see the details of how the VSAM file is defined -- not just that it is a file. What you posted is useless since there are none of the details.

I have looked at various sources and cannot find if COBOL supports spanned VSAM -- you need to open a PMR with IBM and find out if this is possible or not. Considering you are getting the FS 90 when attempting, I suspect the answer is either no, or not for rewrite -- but that's just a guess.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Feb 27, 2009 7:43 pm    Post subject:
Reply with quote

For spanned records, you need to specify recording mode S and RECORDING MODE - Physical record description - QSAM only
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Fri Feb 27, 2009 11:02 pm    Post subject:
Reply with quote

Hey, CICS Guy, recording mode S is for QSAM not VSAM, and the posted problem is about using VSAM records that span CIs.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Feb 27, 2009 11:14 pm    Post subject:
Reply with quote

Robert Sample wrote:
Hey, CICS Guy, recording mode S is for QSAM not VSAM,
Yes, that's what my last post indicated....
Quote:
and the posted problem is about using VSAM records that span CIs.
From what I read, to process spaned records in COBOL, you need "recording mode S" which is not available for VSAM datasets....
Back to top
View user's profile Send private message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Sat Feb 28, 2009 2:14 am    Post subject:
Reply with quote

I was able to conclude that the program was abending while REWRITING the Spanned record into VSAM. I have changed the logic in my program to Delete and insert the spanned record rather than rewriting the existing record and It worked.
But it will be great if you confirm the same.

Please let me know, if you have an idea about handling the rewrite statement on MOVE mode rather than in LOC mode.

I tried my best to explain the problem but not sure whether my words are making sense.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2171
Location: @my desk

PostPosted: Sat Feb 28, 2009 12:00 pm    Post subject:
Reply with quote

Quote:
I tried my best to explain the problem but not sure whether my words are making sense.
Srikanth,

Sometimes simply posting the requested information can do a better job than "explaining" hard.
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: Sat Feb 28, 2009 12:37 pm    Post subject:
Reply with quote

Hi Srikanth,

Good to hear it is working - thank you for letting us know.

Quote:
I tried my best to explain the problem but not sure whether my words are making sense.
You did well. The more you work with the forum, the more smoothly posting will go.

One thing i believe is that the more complete the initial post of the question or requirement the better the topic will proceed. If you are unsure of how to word something, ask and we will help present the topic.

As Arun mentioned, sometimes simple works better - just be sure to be complete and accurate.
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 PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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