Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Error code '92'(logic errer) when i read the VSAM file seq

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
Jeya Raj

New User


Joined: 14 Jan 2007
Posts: 33
Location: USA

PostPosted: Sun Feb 11, 2007 4:02 am    Post subject: Error code '92'(logic errer) when i read the VSAM file seq
Reply with quote

I got error code '92'(logic errer) when i read the VSAM file seq. Please let me know why i'm getting this error.
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Feb 11, 2007 4:15 am    Post subject: Re: VSAM code 92
Reply with quote

Jeya Raj wrote:
I got error code '92'(logic errer) when i read the VSAM file seq. Please let me know why i'm getting this error.
T'ain't that easy, I've gotten a lot of logic errors in my past, still do occasionally, usually from my mistakes.
What kind of VSAM file were you trying to access?
How were you trying to access it?
Without more information, you will not find an answer.... icon_confused.gif
Back to top
View user's profile Send private message
Jeya Raj

New User


Joined: 14 Jan 2007
Posts: 33
Location: USA

PostPosted: Sun Feb 11, 2007 9:31 am    Post subject:
Reply with quote

Thanks for your reply.
Here is my file description.

SELECT POL-FILE ASSIGN TO POLFL
ACCESS IS SEQUENTIAL
ORGANIZATION IS INDEXED
RECORD KEY IS POL-RECORD-KEY
FILE STATUS IS WS-FL-STATUS.


FD POL-FILE.
01 POL-REC.
05 POL-RECORD-KEY PIC X(11).
05 FILLER PIC X(2000).

OPEN INPUT POL-FILE.
IF WS-FL-STATUS IS EQUAL TO '00' OR '97'
CONTINUE
ELSE
DISPLAY 'FILE OPEN ERROR FOR POL-FILE3'
DISPLAY 'ERROR STATUS : ' WS-FL-STATUS
CALL 'SYSABND'
END-IF.


READ POL-FILE INTO CLS-POL-RECORD.
(reading pol-file into copybook)

I got the following error when i submitted the job.


*** BAD READ ON POL-FILE,
FILE STATUS=92
CEE3250C The system or user abend U1111 R=NULL was issued.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Feb 11, 2007 2:50 pm    Post subject:
Reply with quote

Good start, but aren't done yet....
Quote:
What kind of VSAM file were you trying to access?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Feb 11, 2007 11:06 pm    Post subject:
Reply with quote

Hi,

You show:
Quote:
DISPLAY 'FILE OPEN ERROR FOR POL-FILE3'


when opening POL-FILE. Are you typing this code in the post or are you cut & pasting?

If you cut & paste we get the ACTUAL code in your pgm, not what you think is in your pgm. It's difficult to make judgement based on contradictory info.

Thanx for your consideration in this matter.
Back to top
View user's profile Send private message
Jeya Raj

New User


Joined: 14 Jan 2007
Posts: 33
Location: USA

PostPosted: Mon Feb 12, 2007 1:54 am    Post subject: Re: VSAM code 92
Reply with quote

Hi William,

After reading POL-FILE, passing the key to read another file which is having exactly the same structure as POL-FILE. Comparing these two files if that files match then write POL-REC into output file.

This is second file read

MOVE POL-RECORD-KEY TO POL1-RECORD-KEY.
READ POL1-FILE INTO CLS-POL1-RECORD.

IF CLS-POL-RECORD = CLS-POL1-RECORD
WRITE OUTPUT-FILE FROM CLS-POL-RECORD.
But I got the logic error (92) while reading the first file.

Thanks
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Feb 12, 2007 2:08 am    Post subject:
Reply with quote

Hi,

The last several times I "played" with logic errors during vsam reads, one was because I was trying to access by key an rrds and the other was beacuse the ksds and or catalog was bad.

If there is no reason for the program to fail, and it is, start looking to the KSDS file....
Back to top
View user's profile Send private message
Jeya Raj

New User


Joined: 14 Jan 2007
Posts: 33
Location: USA

PostPosted: Mon Feb 12, 2007 3:12 am    Post subject:
Reply with quote

Thanks for youre quick reply. I'll look at the KSDS file
Back to top
View user's profile Send private message
Jeya Raj

New User


Joined: 14 Jan 2007
Posts: 33
Location: USA

PostPosted: Wed Feb 14, 2007 4:47 am    Post subject:
Reply with quote

Hi William,

You are correct. My KSDS was corrupted. I created new KSDS, now it is working good.

Thanks for your reply
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us